Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001618/0.001617, allocations: 117 kB / 18.41 MB, free: 4.664 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.001765/0.001765, allocations: 186.9 kB / 21.34 MB, free: 1.738 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.5/1.5, allocations: 222.9 MB / 247.1 MB, free: 4.227 MB / 190.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.2918/0.2918, allocations: 38 MB / 337.2 MB, free: 12.95 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.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") translateModel(PowerSystems.Examples.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 68.83 kB / 467.5 MB, free: 27.51 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1084, allocations: 58.07 MB / 0.5133 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.01007/0.1186, allocations: 6.928 MB / 0.52 GB, free: 2.797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003875/0.1225, allocations: 2.029 MB / 0.522 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003688/0.1229, allocations: 27.81 kB / 0.522 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.1242, allocations: 0.4937 MB / 0.5225 GB, free: 244 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.1255, allocations: 0.5523 MB / 0.5231 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008465/0.1263, allocations: 399.2 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001581/0.1279, allocations: 1.399 MB / 0.5248 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.129, allocations: 0.8184 MB / 0.5256 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.1301, allocations: 0.6229 MB / 0.5262 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.1313, allocations: 0.6814 MB / 0.5269 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.1315, allocations: 100 kB / 0.527 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009895/0.1325, allocations: 0.5071 MB / 0.5275 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005369/0.133, allocations: 0.5106 MB / 0.528 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006521/0.1337, allocations: 0.5521 MB / 0.5285 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001848/0.1355, allocations: 1.549 MB / 0.53 GB, free: 8.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1356, allocations: 0 / 0.53 GB, free: 8.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1356, allocations: 0 / 0.53 GB, free: 8.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.212e-05/0.1356, allocations: 0 / 0.53 GB, free: 8.523 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003177/0.1388, allocations: 1.589 MB / 0.5316 GB, free: 6.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1388, allocations: 11.89 kB / 0.5316 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008039/0.1396, allocations: 172.1 kB / 0.5318 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.1409, allocations: 0.7413 MB / 0.5325 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.1411, allocations: 167.7 kB / 0.5326 GB, free: 5.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002542/0.1414, allocations: 107.9 kB / 0.5327 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002843/0.1442, allocations: 1.532 MB / 0.5342 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.1443, allocations: 4 kB / 0.5342 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.1444, allocations: 39.98 kB / 0.5343 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001636/0.1446, allocations: 65.97 kB / 0.5343 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/0.147, allocations: 1.171 MB / 0.5355 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006498/0.1535, allocations: 4.782 MB / 0.5402 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.1565, allocations: 1.142 MB / 0.5413 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.1579, allocations: 0.5567 MB / 0.5418 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.707e-05/0.158, allocations: 12.55 kB / 0.5418 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001522/0.1595, allocations: 0.7143 MB / 0.5425 GB, free: 11.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=80): time 2.585e-06/0.1595, allocations: 4 kB / 0.5425 GB, free: 11.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=81): time 0.007622/0.1671, allocations: 3.216 MB / 0.5457 GB, free: 7.988 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.1673, allocations: 123.5 kB / 0.5458 GB, free: 7.844 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007588/0.168, allocations: 0.5927 MB / 0.5464 GB, free: 7.242 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.178e-05/0.1681, allocations: 53.69 kB / 0.5464 GB, free: 7.184 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/0.1685, allocations: 464.3 kB / 0.5469 GB, free: 6.723 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.1688, allocations: 281.7 kB / 0.5471 GB, free: 6.445 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003189/0.1691, allocations: 210.5 kB / 0.5473 GB, free: 6.234 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.1693, allocations: 390.7 kB / 0.5477 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007341/0.1701, allocations: 490 kB / 0.5482 GB, free: 5.363 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009384/0.171, allocations: 0.7421 MB / 0.5489 GB, free: 4.504 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.1727, allocations: 1.257 MB / 0.5501 GB, free: 3.133 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1728, allocations: 0 / 0.5501 GB, free: 3.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002565/0.1753, allocations: 1.581 MB / 0.5517 GB, free: 1.516 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.127e-05/0.1754, allocations: 69.61 kB / 0.5517 GB, free: 1.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002008/0.1774, allocations: 1.328 MB / 0.553 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004323/0.1779, allocations: 121.5 kB / 0.5531 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/0.1787, allocations: 199.7 kB / 0.5533 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003083/0.1818, allocations: 3.357 MB / 0.5566 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006832/0.1825, allocations: 75.92 kB / 0.5567 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.1826, allocations: 79.88 kB / 0.5568 GB, free: 11.97 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 28 (system.initime,ac_dc.modulator.t0[3],$PRE.ac_dc.modulator.t0[3],ac_dc.modulator.t0[2],$PRE.ac_dc.modulator.t0[2],ac_dc.modulator.t0[1],$PRE.ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[3],$PRE.ac_dc.modulator.sigdel_t[3],ac_dc.modulator.sigdel_t[2],$PRE.ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[1],$PRE.ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[6],$PRE.ac_dc.modulator.gates[6],ac_dc.modulator.gates[5],$PRE.ac_dc.modulator.gates[5],ac_dc.modulator.gates[4],$PRE.ac_dc.modulator.gates[4],ac_dc.modulator.gates[3],$PRE.ac_dc.modulator.gates[3],ac_dc.modulator.gates[2],$PRE.ac_dc.modulator.gates[2],ac_dc.modulator.gates[1],$PRE.ac_dc.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 109 * Array equations: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005689/0.1832, allocations: 377.6 kB / 0.5571 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.1833, allocations: 87.47 kB / 0.5572 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002954/0.1863, allocations: 1.27 MB / 0.5585 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/0.1863, allocations: 16 kB / 0.5585 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1864, allocations: 0 / 0.5585 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.1864, allocations: 7.922 kB / 0.5585 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004464/0.1908, allocations: 2.424 MB / 0.5608 GB, free: 7.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1909, allocations: 0 / 0.5608 GB, free: 7.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007316/0.1916, allocations: 143.9 kB / 0.561 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001233/0.1917, allocations: 36.78 kB / 0.561 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-05/0.1918, allocations: 27.97 kB / 0.561 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.1932, allocations: 1.63 MB / 0.5626 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.1932, allocations: 4.031 kB / 0.5626 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004117/0.1973, allocations: 1.92 MB / 0.5645 GB, free: 3.711 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003872/0.1977, allocations: 248.5 kB / 0.5647 GB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.1979, allocations: 83.88 kB / 0.5648 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007642/0.1987, allocations: 91.94 kB / 0.5649 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.1989, allocations: 60.45 kB / 0.565 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.756e-05/0.1989, allocations: 31.97 kB / 0.565 GB, free: 3.184 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004907/0.1994, allocations: 394.8 kB / 0.5654 GB, free: 2.801 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1994, allocations: 0 / 0.5654 GB, free: 2.801 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009344/0.2004, allocations: 247.9 kB / 0.5656 GB, free: 2.559 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,ac_dc.modulator.gates[1],ac_dc.modulator.gates[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.t0[1],ac_dc.modulator.t0[2],ac_dc.modulator.t0[3],system.initime) * Number of discrete states: 12 (ac_dc.modulator.t0[3],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.t0[2],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[1],ac_dc.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 63 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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,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.0003044/0.2007, allocations: 179 kB / 0.5658 GB, free: 2.375 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002855/0.2036, allocations: 1.642 MB / 0.5674 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2036, allocations: 0 / 0.5674 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001385/0.205, allocations: 0.6557 MB / 0.568 GB, free: 28 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009345/0.2059, allocations: 175.6 kB / 0.5682 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.21, allocations: 2.422 MB / 0.5706 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008101/0.2108, allocations: 1.118 MB / 0.5717 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/0.2111, allocations: 67.42 kB / 0.5717 GB, free: 12.18 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2111, allocations: 0 / 0.5717 GB, free: 12.18 MB / 446.1 MB Notification: Performance of Templates: time 0.2223/0.4335, allocations: 17.77 MB / 0.5891 GB, free: 65.62 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.787418713094667] Failed to read output from testmodel.py, exit status != 0: 0.43993176298681647 0.45027457200000004 0.31265086200000003 Calling exit ...