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.001824/0.001824, 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.001567/0.001567, allocations: 211.1 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.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.1874/0.1874, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.002094/0.002094, allocations: 67.91 kB / 492.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3395, allocations: 62.47 MB / 0.5419 GB, free: 232 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.008862/0.3484, allocations: 6.268 MB / 0.5481 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00322/0.3516, allocations: 1.671 MB / 0.5497 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003901/0.352, allocations: 32.25 kB / 0.5497 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007202/0.3527, allocations: 213.6 kB / 0.5499 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008813/0.3536, allocations: 384.7 kB / 0.5503 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.3541, allocations: 231 kB / 0.5505 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.3554, allocations: 1.075 MB / 0.5516 GB, free: 8.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005328/0.3559, allocations: 296 kB / 0.5519 GB, free: 8.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007792/0.3567, allocations: 498.7 kB / 0.5523 GB, free: 8.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007801/0.3575, allocations: 462.6 kB / 0.5528 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.3576, allocations: 84.97 kB / 0.5528 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.3578, allocations: 85.69 kB / 0.5529 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003386/0.3582, allocations: 292.4 kB / 0.5532 GB, free: 7.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004392/0.3586, allocations: 326.6 kB / 0.5535 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.3598, allocations: 1.053 MB / 0.5545 GB, free: 6.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3599, allocations: 0 / 0.5545 GB, free: 6.922 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.3599, allocations: 0.9375 kB / 0.5546 GB, free: 6.922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.3599, allocations: 0 / 0.5546 GB, free: 6.922 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.002523/0.3624, allocations: 0.9635 MB / 0.5555 GB, free: 6.195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.3624, allocations: 18.36 kB / 0.5555 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.3626, allocations: 107.5 kB / 0.5556 GB, free: 6.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.3628, allocations: 78.5 kB / 0.5557 GB, free: 6.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.364, allocations: 0.584 MB / 0.5563 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/0.3642, allocations: 190.1 kB / 0.5564 GB, free: 5.273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.3643, allocations: 64 kB / 0.5565 GB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.3657, allocations: 0.746 MB / 0.5572 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.3658, allocations: 3.938 kB / 0.5572 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.53e-05/0.3658, allocations: 24 kB / 0.5573 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.3658, allocations: 16 kB / 0.5573 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.3671, allocations: 0.6088 MB / 0.5579 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003631/0.3708, allocations: 2.237 MB / 0.56 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008975/0.3717, allocations: 385 kB / 0.5604 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004301/0.3721, allocations: 199 kB / 0.5606 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.3721, allocations: 8.281 kB / 0.5606 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004627/0.3726, allocations: 235.3 kB / 0.5608 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 2.585e-06/0.3726, allocations: 0 / 0.5608 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003184/0.3758, allocations: 0.8073 MB / 0.5616 GB, free: 15.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.73e-05/0.3759, allocations: 144.5 kB / 0.5618 GB, free: 15.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/0.3764, allocations: 405.8 kB / 0.5622 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.3764, allocations: 41.64 kB / 0.5622 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.3767, allocations: 324.7 kB / 0.5625 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.3768, allocations: 123 kB / 0.5626 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.3769, allocations: 78.12 kB / 0.5627 GB, free: 14.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.3771, allocations: 350.8 kB / 0.563 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.3774, allocations: 132.8 kB / 0.5632 GB, free: 14.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.3778, allocations: 250 kB / 0.5634 GB, free: 13.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.3794, allocations: 0.6603 MB / 0.564 GB, free: 13.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.3794, allocations: 0 / 0.564 GB, free: 13.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001092/0.3805, allocations: 0.5255 MB / 0.5645 GB, free: 12.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3805, allocations: 4 kB / 0.5646 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3805, allocations: 4 kB / 0.5646 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004536/0.381, allocations: 144.9 kB / 0.5647 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.3812, allocations: 75.91 kB / 0.5648 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003681/0.3849, allocations: 2.155 MB / 0.5669 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/0.3853, allocations: 51.61 kB / 0.5669 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.3854, allocations: 20 kB / 0.5669 GB, free: 10.04 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.0003814/0.3857, allocations: 254.4 kB / 0.5672 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/0.3858, allocations: 51.66 kB / 0.5672 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.3871, allocations: 478.6 kB / 0.5677 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.3872, allocations: 4 kB / 0.5677 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3872, allocations: 4 kB / 0.5677 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.3872, allocations: 3.984 kB / 0.5677 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008601/0.388, allocations: 0.6035 MB / 0.5683 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.388, allocations: 4 kB / 0.5683 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.3883, allocations: 47.95 kB / 0.5683 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000431/0.3887, allocations: 144.7 kB / 0.5685 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.3887, allocations: 8 kB / 0.5685 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003554/0.3923, allocations: 2.125 MB / 0.5706 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.3923, allocations: 12.03 kB / 0.5706 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.3941, allocations: 0.6921 MB / 0.5712 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.3943, allocations: 75.62 kB / 0.5713 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.3944, allocations: 4 kB / 0.5713 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.3946, allocations: 19.92 kB / 0.5713 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.3947, allocations: 43.92 kB / 0.5714 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.3948, allocations: 12 kB / 0.5714 GB, free: 5.258 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003482/0.3951, allocations: 279.1 kB / 0.5717 GB, free: 4.984 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3951, allocations: 4 kB / 0.5717 GB, free: 4.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006405/0.3958, allocations: 167.6 kB / 0.5718 GB, free: 4.816 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.002016/0.3978, allocations: 1.243 MB / 0.573 GB, free: 3.531 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.3989, allocations: 486.7 kB / 0.5735 GB, free: 3.043 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3989, allocations: 0 / 0.5735 GB, free: 3.043 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005847/0.3995, allocations: 327 kB / 0.5738 GB, free: 2.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/0.4002, allocations: 166.1 kB / 0.574 GB, free: 2.559 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007272/0.4075, allocations: 4.571 MB / 0.5784 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.4079, allocations: 331.1 kB / 0.5788 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003158/0.4082, allocations: 84.62 kB / 0.5788 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/0.4085, allocations: 199.4 kB / 0.579 GB, free: 13.15 MB / 430.1 MB Notification: Performance of SimCode: time 1.011e-06/0.4085, allocations: 0 / 0.579 GB, free: 13.15 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05089/0.4594, allocations: 14.1 MB / 0.5928 GB, free: 15.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.48, allocations: 0 / 0.5928 GB, free: 15.32 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.46048556966707] Failed to read output from testmodel.py, exit status != 0: 13.610913373995572 13.638428865 13.273856575 Calling exit ...