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.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.001133/0.001133, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001571/0.001571, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9508/0.9508, allocations: 177.1 MB / 205 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 179] 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.2508/0.2508, allocations: 29.42 MB / 290.9 MB, free: 2.445 MB / 266.7 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: 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 1.363e-06/1.363e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.429e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.005665/0.005689, allocations: 6.056 MB / 375.7 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002902/0.008591, allocations: 2.005 MB / 377.7 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004495/0.009041, allocations: 35.69 kB / 377.7 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006171/0.009658, allocations: 234.5 kB / 378 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.01074, allocations: 0.5634 MB / 378.5 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008755/0.01162, allocations: 434.8 kB / 379 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.01293, allocations: 1.402 MB / 380.4 MB, free: 240 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007711/0.0137, allocations: 0.592 MB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.01508, allocations: 0.8886 MB / 381.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008011/0.01588, allocations: 0.6351 MB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.01603, allocations: 96 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000816/0.01684, allocations: 0.5265 MB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003942/0.01724, allocations: 0.5261 MB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004104/0.01765, allocations: 403.1 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.01883, allocations: 1.133 MB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.01883, allocations: 0 / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01883, allocations: 0 / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.159e-05/0.01886, allocations: 0 / 385.1 MB, free: 11.42 MB / 362.7 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.002012/0.02087, allocations: 1.602 MB / 386.7 MB, free: 9.754 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.0209, allocations: 15.98 kB / 386.8 MB, free: 9.738 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006422/0.02155, allocations: 300 kB / 387.1 MB, free: 9.445 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007322/0.02228, allocations: 0.6458 MB / 387.7 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.02244, allocations: 333.8 kB / 388 MB, free: 8.395 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.0226, allocations: 108.7 kB / 388.1 MB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.02376, allocations: 1.005 MB / 389.1 MB, free: 7.184 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.02378, allocations: 4 kB / 389.1 MB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.096e-05/0.02384, allocations: 32 kB / 389.2 MB, free: 7.148 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.219e-05/0.02393, allocations: 73.97 kB / 389.2 MB, free: 7.078 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007164/0.02465, allocations: 463.3 kB / 389.7 MB, free: 6.621 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003583/0.02823, allocations: 4.84 MB / 394.5 MB, free: 1.621 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000731/0.02897, allocations: 465.5 kB / 395 MB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000352/0.02932, allocations: 237.3 kB / 395.2 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.02936, allocations: 20.59 kB / 395.2 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005027/0.02986, allocations: 426.1 kB / 395.7 MB, free: 448 kB / 362.7 MB Notification: Performance of pre-optimization done (n=80): time 2.014e-06/0.02986, allocations: 0 / 395.7 MB, free: 448 kB / 362.7 MB Notification: Performance of matching and sorting (n=81): time 0.002368/0.03223, allocations: 1.749 MB / 397.4 MB, free: 14.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.03229, allocations: 127.5 kB / 397.5 MB, free: 14.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/0.03268, allocations: 0.5297 MB / 398.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.349e-05/0.03273, allocations: 49.7 kB / 398.1 MB, free: 13.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.03298, allocations: 0.5107 MB / 398.6 MB, free: 13.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.03314, allocations: 281.8 kB / 398.9 MB, free: 13.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.03334, allocations: 212.2 kB / 399.1 MB, free: 12.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.03351, allocations: 0.5625 MB / 399.7 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/0.03384, allocations: 251.9 kB / 399.9 MB, free: 12.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/0.03428, allocations: 0.6352 MB / 400.6 MB, free: 11.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007488/0.03503, allocations: 0.8559 MB / 401.4 MB, free: 10.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.03503, allocations: 0 / 401.4 MB, free: 10.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001224/0.03626, allocations: 1.076 MB / 402.5 MB, free: 9.145 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.273e-05/0.03631, allocations: 61.67 kB / 402.5 MB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008063/0.03712, allocations: 0.7482 MB / 403.3 MB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002695/0.03739, allocations: 99.22 kB / 403.4 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004368/0.03782, allocations: 215.7 kB / 403.6 MB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.03977, allocations: 3.865 MB / 407.5 MB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.0401, allocations: 59.95 kB / 407.5 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/0.04018, allocations: 75.94 kB / 407.6 MB, free: 3.75 MB / 378.7 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.0002944/0.04047, allocations: 252.2 kB / 407.8 MB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.04062, allocations: 107.5 kB / 407.9 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008338/0.04145, allocations: 0.651 MB / 408.6 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.04147, allocations: 20 kB / 408.6 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.04147, allocations: 0 / 408.6 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.04148, allocations: 7.984 kB / 408.6 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.04319, allocations: 1.609 MB / 410.2 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.0432, allocations: 0 / 410.2 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/0.04358, allocations: 147.8 kB / 410.4 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.933e-05/0.04365, allocations: 31.67 kB / 410.4 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/0.0437, allocations: 31.91 kB / 410.4 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007831/0.04449, allocations: 2.004 MB / 412.4 MB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.04449, allocations: 3.938 kB / 412.4 MB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.04562, allocations: 1.008 MB / 413.5 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.0458, allocations: 163.4 kB / 413.6 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.0459, allocations: 67.95 kB / 413.7 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.04615, allocations: 63.91 kB / 413.7 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.04626, allocations: 60.55 kB / 413.8 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/0.04629, allocations: 27.98 kB / 413.8 MB, free: 13.26 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002193/0.04651, allocations: 318.8 kB / 414.1 MB, free: 12.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04651, allocations: 4 kB / 414.1 MB, free: 12.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006427/0.04715, allocations: 239.9 kB / 414.4 MB, free: 12.71 MB / 394.7 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.0002562/0.04741, allocations: 171.1 kB / 414.5 MB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.04857, allocations: 1.117 MB / 415.7 MB, free: 11.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.04858, allocations: 0.6875 kB / 415.7 MB, free: 11.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003985/0.04897, allocations: 443.5 kB / 416.1 MB, free: 10.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.04947, allocations: 170.3 kB / 416.3 MB, free: 10.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.05185, allocations: 1.845 MB / 418.1 MB, free: 8.848 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.05202, allocations: 255.5 kB / 418.4 MB, free: 8.578 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003169/0.05234, allocations: 181.8 kB / 418.5 MB, free: 8.398 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.05248, allocations: 64.48 kB / 418.6 MB, free: 8.332 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.05248, allocations: 4 kB / 418.6 MB, free: 8.328 MB / 394.7 MB Notification: Performance of Templates: time 0.01369/0.06617, allocations: 10.52 MB / 429.1 MB, free: 13.95 MB / 410.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9447194887325168]