Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 210.6 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1932/0.1932, allocations: 38.54 MB / 352.5 MB, free: 12.28 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003161/0.003161, allocations: 63.91 kB / 492.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3358, allocations: 62.47 MB / 0.5419 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.008184/0.344, allocations: 5.298 MB / 0.5471 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003705/0.3477, allocations: 1.274 MB / 0.5484 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000578/0.3482, allocations: 27.28 kB / 0.5484 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006646/0.3489, allocations: 121.1 kB / 0.5485 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.3501, allocations: 386.2 kB / 0.5489 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.3505, allocations: 139.4 kB / 0.549 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.3515, allocations: 0.7468 MB / 0.5497 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000322/0.3519, allocations: 132.2 kB / 0.5499 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008141/0.3527, allocations: 355.7 kB / 0.5502 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007517/0.3534, allocations: 382.6 kB / 0.5506 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.695e-05/0.3535, allocations: 37.22 kB / 0.5506 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.3536, allocations: 36.88 kB / 0.5506 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.3538, allocations: 202.5 kB / 0.5508 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002555/0.3541, allocations: 214.6 kB / 0.551 GB, free: 9.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006948/0.3548, allocations: 0.5286 MB / 0.5515 GB, free: 9.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3548, allocations: 1.062 kB / 0.5516 GB, free: 9.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3548, allocations: 0 / 0.5516 GB, free: 9.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.3548, allocations: 0 / 0.5516 GB, free: 9.145 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001482/0.3563, allocations: 0.7369 MB / 0.5523 GB, free: 8.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3563, allocations: 13.14 kB / 0.5523 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.3564, allocations: 85.22 kB / 0.5524 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.86e-05/0.3565, allocations: 58.78 kB / 0.5524 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008641/0.3574, allocations: 422.4 kB / 0.5528 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.3574, allocations: 36.64 kB / 0.5529 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.275e-05/0.3575, allocations: 38.56 kB / 0.5529 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007755/0.3583, allocations: 0.4926 MB / 0.5534 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.3583, allocations: 0 / 0.5534 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.3584, allocations: 16.59 kB / 0.5534 GB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.015e-05/0.3584, allocations: 22.36 kB / 0.5534 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006023/0.359, allocations: 362.4 kB / 0.5538 GB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00266/0.3617, allocations: 1.914 MB / 0.5556 GB, free: 5.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.3621, allocations: 221.3 kB / 0.5558 GB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.3624, allocations: 121.7 kB / 0.556 GB, free: 5.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.3624, allocations: 4 kB / 0.556 GB, free: 5.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.3624, allocations: 34.56 kB / 0.556 GB, free: 5.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.664e-06/0.3624, allocations: 0 / 0.556 GB, free: 5.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001258/0.3637, allocations: 0.6983 MB / 0.5567 GB, free: 4.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.3637, allocations: 85.05 kB / 0.5568 GB, free: 4.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004118/0.3641, allocations: 389.4 kB / 0.5571 GB, free: 4.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.3642, allocations: 29.7 kB / 0.5572 GB, free: 4.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.3644, allocations: 299.9 kB / 0.5574 GB, free: 4.016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.198e-05/0.3645, allocations: 91.27 kB / 0.5575 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.3646, allocations: 78.03 kB / 0.5576 GB, free: 3.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3647, allocations: 350.8 kB / 0.5579 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.3649, allocations: 84.81 kB / 0.558 GB, free: 3.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.3652, allocations: 281.2 kB / 0.5583 GB, free: 3.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005307/0.3657, allocations: 403.3 kB / 0.5587 GB, free: 2.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.3657, allocations: 8 kB / 0.5587 GB, free: 2.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000776/0.3665, allocations: 458 kB / 0.5591 GB, free: 2.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3665, allocations: 10.66 kB / 0.5591 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.3665, allocations: 8 kB / 0.5591 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.3667, allocations: 52.77 kB / 0.5592 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.367, allocations: 79.91 kB / 0.5593 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.3685, allocations: 1.499 MB / 0.5607 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.3688, allocations: 28 kB / 0.5607 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.3688, allocations: 20 kB / 0.5608 GB, free: 296 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000246/0.369, allocations: 205.6 kB / 0.561 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.3691, allocations: 39.7 kB / 0.561 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004292/0.3695, allocations: 235.5 kB / 0.5612 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3695, allocations: 4 kB / 0.5612 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.3695, allocations: 0 / 0.5612 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.3696, allocations: 4.172 kB / 0.5612 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.3706, allocations: 0.6583 MB / 0.5619 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3706, allocations: 0 / 0.5619 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.3708, allocations: 43.97 kB / 0.5619 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.3708, allocations: 4 kB / 0.5619 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.3708, allocations: 4 kB / 0.5619 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.3708, allocations: 7.938 kB / 0.5619 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3708, allocations: 0 / 0.5619 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005245/0.3714, allocations: 434.2 kB / 0.5623 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.3715, allocations: 43.78 kB / 0.5624 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.3715, allocations: 12.12 kB / 0.5624 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.3717, allocations: 0 / 0.5624 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.3717, allocations: 23.91 kB / 0.5624 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.3717, allocations: 4 kB / 0.5624 GB, free: 14.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002801/0.372, allocations: 263.1 kB / 0.5627 GB, free: 14.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.372, allocations: 0 / 0.5627 GB, free: 14.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004505/0.3724, allocations: 91.94 kB / 0.5628 GB, free: 14.15 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008962/0.3733, allocations: 0.9599 MB / 0.5637 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006557/0.374, allocations: 371.8 kB / 0.5641 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.374, allocations: 0 / 0.5641 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.3741, allocations: 87.78 kB / 0.5641 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.3747, allocations: 101.6 kB / 0.5642 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004895/0.3796, allocations: 3.714 MB / 0.5679 GB, free: 8.613 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.3799, allocations: 250 kB / 0.5681 GB, free: 8.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002542/0.3802, allocations: 88.12 kB / 0.5682 GB, free: 8.254 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.3804, allocations: 151.4 kB / 0.5683 GB, free: 8.105 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3804, allocations: 0 / 0.5683 GB, free: 8.105 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03939/0.4197, allocations: 8.399 MB / 0.5765 GB, free: 15.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.17, allocations: 8.062 kB / 0.5765 GB, free: 15.89 MB / 430.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.130243909079581] Failed to read output from testmodel.py, exit status != 0: 12.283434068784118 12.297947462 11.939820619 Calling exit ...