Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002475/0.002475, allocations: 184.3 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.1986/0.1986, allocations: 38.53 MB / 346.3 MB, free: 2.078 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 71.88 kB / 484.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.4321, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.009514/0.4416, allocations: 6.68 MB / 0.5396 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002955/0.4446, allocations: 1.332 MB / 0.5409 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004535/0.445, allocations: 40.58 kB / 0.5409 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004193/0.4455, allocations: 137.9 kB / 0.541 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.447, allocations: 425.9 kB / 0.5414 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008975/0.4479, allocations: 237.3 kB / 0.5417 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001988/0.4499, allocations: 1.12 MB / 0.5428 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004883/0.4504, allocations: 260.5 kB / 0.543 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.4516, allocations: 0.5152 MB / 0.5435 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.4526, allocations: 0.5615 MB / 0.5441 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.4527, allocations: 65.53 kB / 0.5441 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.4529, allocations: 64.75 kB / 0.5442 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.4533, allocations: 350.5 kB / 0.5445 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005096/0.4538, allocations: 400 kB / 0.5449 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.4551, allocations: 0.9181 MB / 0.5458 GB, free: 12.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.4551, allocations: 1.156 kB / 0.5458 GB, free: 12.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4551, allocations: 3.938 kB / 0.5458 GB, free: 12.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.4552, allocations: 0 / 0.5458 GB, free: 12.38 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002552/0.4577, allocations: 1.087 MB / 0.5469 GB, free: 11.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4578, allocations: 9.219 kB / 0.5469 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.458, allocations: 91.78 kB / 0.547 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.4591, allocations: 0.5398 MB / 0.5475 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.4593, allocations: 118.5 kB / 0.5476 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.4594, allocations: 64.47 kB / 0.5477 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.4612, allocations: 0.8706 MB / 0.5485 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.4613, allocations: 0 / 0.5485 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.477e-05/0.4613, allocations: 30.2 kB / 0.5485 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001293/0.4615, allocations: 38.97 kB / 0.5486 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.4628, allocations: 0.619 MB / 0.5492 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00453/0.4674, allocations: 2.7 MB / 0.5518 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.4691, allocations: 0.5731 MB / 0.5524 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008373/0.47, allocations: 289.2 kB / 0.5526 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.47, allocations: 7.859 kB / 0.5527 GB, free: 7.496 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008512/0.4708, allocations: 354.5 kB / 0.553 GB, free: 7.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=41): time 1.954e-06/0.4708, allocations: 0 / 0.553 GB, free: 7.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.004841/0.4757, allocations: 1.691 MB / 0.5546 GB, free: 5.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.338e-05/0.4758, allocations: 114.8 kB / 0.5548 GB, free: 5.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000664/0.4764, allocations: 0.5066 MB / 0.5552 GB, free: 5.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.344e-05/0.4765, allocations: 41.7 kB / 0.5553 GB, free: 5.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/0.4768, allocations: 364.6 kB / 0.5556 GB, free: 4.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.4769, allocations: 146.8 kB / 0.5558 GB, free: 4.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.4771, allocations: 126.2 kB / 0.5559 GB, free: 4.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.4773, allocations: 374.8 kB / 0.5563 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/0.4777, allocations: 221.2 kB / 0.5565 GB, free: 3.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/0.4783, allocations: 398.4 kB / 0.5568 GB, free: 3.332 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009241/0.4792, allocations: 0.6211 MB / 0.5575 GB, free: 2.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.4792, allocations: 7.938 kB / 0.5575 GB, free: 2.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001575/0.4808, allocations: 0.8189 MB / 0.5583 GB, free: 1.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.07e-05/0.4808, allocations: 54.19 kB / 0.5583 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.4808, allocations: 4 kB / 0.5583 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003662/0.4812, allocations: 93.66 kB / 0.5584 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.4817, allocations: 99.83 kB / 0.5585 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003225/0.4849, allocations: 3.06 MB / 0.5615 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005473/0.4854, allocations: 27.98 kB / 0.5615 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.171e-05/0.4855, allocations: 39.97 kB / 0.5616 GB, free: 14.17 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,dc_ac.modulator.t0,$PRE.dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004996/0.486, allocations: 269.7 kB / 0.5618 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.994e-05/0.4861, allocations: 67.67 kB / 0.5619 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.4877, allocations: 0.6289 MB / 0.5625 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.4877, allocations: 4 kB / 0.5625 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4877, allocations: 4 kB / 0.5625 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.4878, allocations: 3.984 kB / 0.5625 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/0.4906, allocations: 1.429 MB / 0.5639 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.4906, allocations: 4 kB / 0.5639 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.4909, allocations: 59.91 kB / 0.564 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003119/0.4912, allocations: 89.62 kB / 0.564 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.908e-05/0.4912, allocations: 19.98 kB / 0.5641 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00277/0.494, allocations: 3.06 MB / 0.567 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.494, allocations: 4.031 kB / 0.5671 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/0.4963, allocations: 0.9892 MB / 0.568 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003722/0.4967, allocations: 95.61 kB / 0.5681 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.4968, allocations: 31.98 kB / 0.5681 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/0.4972, allocations: 35.95 kB / 0.5682 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.4973, allocations: 43.81 kB / 0.5682 GB, free: 6.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/0.4974, allocations: 15.98 kB / 0.5682 GB, free: 6.977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005121/0.4979, allocations: 358.8 kB / 0.5686 GB, free: 6.629 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4979, allocations: 0 / 0.5686 GB, free: 6.629 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008236/0.4987, allocations: 151.9 kB / 0.5687 GB, free: 6.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 8 ($whenCondition1,dc_ac.modulator.gates[1],dc_ac.modulator.gates[2],dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.sigdel_t,dc_ac.modulator.t0,system.initime) * Number of discrete states: 6 (dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.gates[1],dc_ac.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00023/0.499, allocations: 133.7 kB / 0.5688 GB, free: 6.344 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.5006, allocations: 0.8509 MB / 0.5697 GB, free: 5.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5006, allocations: 0 / 0.5697 GB, free: 5.453 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.5016, allocations: 485.8 kB / 0.5701 GB, free: 4.953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008948/0.5025, allocations: 161.9 kB / 0.5703 GB, free: 4.801 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.5059, allocations: 1.505 MB / 0.5718 GB, free: 3.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008518/0.5068, allocations: 0.9722 MB / 0.5727 GB, free: 2.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003995/0.5072, allocations: 105 kB / 0.5728 GB, free: 2.145 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.5073, allocations: 47.42 kB / 0.5729 GB, free: 2.098 MB / 414.1 MB Notification: Performance of SimCode: time 1.382e-06/0.5073, allocations: 0 / 0.5729 GB, free: 2.098 MB / 414.1 MB Notification: Performance of Templates: time 0.01855/0.5259, allocations: 7.948 MB / 0.5806 GB, free: 10.22 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.571646272204816] Failed to read output from testmodel.py, exit status != 0: 0.5355632323771715 0.5505230520000001 0.091771714 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f82069757b0>