Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.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.001432/0.001432, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001488/0.001488, allocations: 202.1 kB / 23.73 MB, free: 4.379 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1869/0.1869, allocations: 38.56 MB / 352.5 MB, free: 12.38 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.Inverters.Chopper,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",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.002135/0.002135, allocations: 59.91 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3488, allocations: 62.47 MB / 0.5419 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.009292/0.3581, allocations: 6.276 MB / 0.5481 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003606/0.3617, allocations: 1.672 MB / 0.5497 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005607/0.3622, allocations: 31.25 kB / 0.5497 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008227/0.363, allocations: 205.1 kB / 0.5499 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.3642, allocations: 389.9 kB / 0.5503 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005834/0.3648, allocations: 230.6 kB / 0.5505 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.3661, allocations: 1.071 MB / 0.5516 GB, free: 8.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000528/0.3667, allocations: 315.5 kB / 0.5519 GB, free: 8.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.3677, allocations: 495.3 kB / 0.5523 GB, free: 8.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008801/0.3686, allocations: 0.4985 MB / 0.5528 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.3687, allocations: 85.72 kB / 0.5529 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.3689, allocations: 84.47 kB / 0.553 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003246/0.3692, allocations: 276.3 kB / 0.5532 GB, free: 7.855 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004194/0.3696, allocations: 339.5 kB / 0.5536 GB, free: 7.648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.3709, allocations: 1.045 MB / 0.5546 GB, free: 6.887 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3709, allocations: 9.094 kB / 0.5546 GB, free: 6.879 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3709, allocations: 0 / 0.5546 GB, free: 6.879 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.3709, allocations: 0 / 0.5546 GB, free: 6.879 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002084/0.373, allocations: 0.9601 MB / 0.5555 GB, free: 6.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.373, allocations: 13.45 kB / 0.5556 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/0.3732, allocations: 108.4 kB / 0.5557 GB, free: 6.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.3733, allocations: 77.97 kB / 0.5557 GB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.3746, allocations: 0.5836 MB / 0.5563 GB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.3748, allocations: 198.1 kB / 0.5565 GB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.375, allocations: 60 kB / 0.5565 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.3763, allocations: 0.7498 MB / 0.5573 GB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.3763, allocations: 3.938 kB / 0.5573 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.626e-05/0.3764, allocations: 28 kB / 0.5573 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.3764, allocations: 19.98 kB / 0.5573 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.3776, allocations: 0.5972 MB / 0.5579 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003466/0.3811, allocations: 2.237 MB / 0.5601 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009196/0.382, allocations: 400.9 kB / 0.5605 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004267/0.3824, allocations: 187.1 kB / 0.5607 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.3824, allocations: 4.281 kB / 0.5607 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004716/0.3829, allocations: 251.3 kB / 0.5609 GB, free: 492 kB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 2.294e-06/0.3829, allocations: 3.938 kB / 0.5609 GB, free: 488 kB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003239/0.3862, allocations: 0.7955 MB / 0.5617 GB, free: 15.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.843e-05/0.3863, allocations: 140.5 kB / 0.5618 GB, free: 15.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005113/0.3868, allocations: 405.8 kB / 0.5622 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.3868, allocations: 33.7 kB / 0.5622 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/0.3872, allocations: 324.8 kB / 0.5625 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.3873, allocations: 131 kB / 0.5627 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.3874, allocations: 74.14 kB / 0.5627 GB, free: 14.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3876, allocations: 362.8 kB / 0.5631 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.3879, allocations: 124.8 kB / 0.5632 GB, free: 14.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003967/0.3883, allocations: 250 kB / 0.5634 GB, free: 13.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.3899, allocations: 0.6564 MB / 0.5641 GB, free: 13.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3899, allocations: 0 / 0.5641 GB, free: 13.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001144/0.391, allocations: 0.5252 MB / 0.5646 GB, free: 12.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.391, allocations: 4.469 kB / 0.5646 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.3911, allocations: 11.94 kB / 0.5646 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005262/0.3916, allocations: 144.7 kB / 0.5648 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.3919, allocations: 79.84 kB / 0.5648 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003776/0.3957, allocations: 2.147 MB / 0.5669 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/0.3961, allocations: 59.61 kB / 0.567 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.3962, allocations: 16 kB / 0.567 GB, free: 9.941 MB / 414.1 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t1:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real chopper.modulator.t0:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,$whenCondition1,$PRE.chopper.modulator.t1,$PRE.chopper.modulator.t0,chopper.chopper.diode.on,chopper.modulator.t1,chopper.modulator.t0,chopper.modulator.gate) * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004358/0.3966, allocations: 241.7 kB / 0.5672 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.845e-05/0.3967, allocations: 51.66 kB / 0.5673 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.3981, allocations: 478.5 kB / 0.5677 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.3981, allocations: 4 kB / 0.5677 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3981, allocations: 8 kB / 0.5677 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3981, allocations: 0 / 0.5677 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009145/0.399, allocations: 0.6036 MB / 0.5683 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.399, allocations: 4 kB / 0.5683 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.3993, allocations: 47.91 kB / 0.5684 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000442/0.3997, allocations: 140.8 kB / 0.5685 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.3997, allocations: 8 kB / 0.5685 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003401/0.4031, allocations: 2.133 MB / 0.5706 GB, free: 6.051 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4031, allocations: 4.031 kB / 0.5706 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.4049, allocations: 0.6844 MB / 0.5713 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.4051, allocations: 79.61 kB / 0.5714 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.024e-05/0.4051, allocations: 8 kB / 0.5714 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.4054, allocations: 23.92 kB / 0.5714 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.4055, allocations: 43.86 kB / 0.5714 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.4055, allocations: 12 kB / 0.5714 GB, free: 5.168 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003534/0.4059, allocations: 283.1 kB / 0.5717 GB, free: 4.895 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4059, allocations: 0 / 0.5717 GB, free: 4.895 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006426/0.4065, allocations: 159.7 kB / 0.5719 GB, free: 4.738 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (meterDCin.pav,meterDCout.pav,load.i) * Number of discrete variables: 6 ($whenCondition1,chopper.modulator.gate,chopper.modulator.t0,chopper.modulator.t1,chopper.chopper.diode.on,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001968/0.4085, allocations: 1.246 MB / 0.5731 GB, free: 3.453 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.4096, allocations: 494.1 kB / 0.5735 GB, free: 2.957 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.4096, allocations: 0.9375 kB / 0.5736 GB, free: 2.957 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005953/0.4102, allocations: 330.5 kB / 0.5739 GB, free: 2.621 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007346/0.411, allocations: 155.8 kB / 0.574 GB, free: 2.473 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007331/0.4183, allocations: 4.571 MB / 0.5785 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.4187, allocations: 331.1 kB / 0.5788 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002816/0.419, allocations: 88.56 kB / 0.5789 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000278/0.4192, allocations: 191.4 kB / 0.5791 GB, free: 13.07 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4192, allocations: 0 / 0.5791 GB, free: 13.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05158/0.4708, allocations: 14.23 MB / 0.593 GB, free: 15.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.45, allocations: 7.5 kB / 0.593 GB, free: 15.11 MB / 446.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.515550661017187] Failed to read output from testmodel.py, exit status != 0: 13.579178138985299 13.606607933 13.230177877 Calling exit ...