Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.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.001839/0.001839, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002677/0.002677, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.521/1.521, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.3174/0.3174, allocations: 29.41 MB / 290.5 MB, free: 2.453 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.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.757e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.01029/0.01032, allocations: 6.212 MB / 375.1 MB, free: 5.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005281/0.0156, allocations: 2.329 MB / 377.4 MB, free: 2.738 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006783/0.01628, allocations: 31.75 kB / 377.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.01776, allocations: 429.7 kB / 377.9 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.0194, allocations: 0.6217 MB / 378.5 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.02095, allocations: 0.5144 MB / 379 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002517/0.02347, allocations: 1.964 MB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009864/0.02446, allocations: 0.5605 MB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.02628, allocations: 1.045 MB / 382.6 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.02786, allocations: 0.955 MB / 383.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003112/0.02817, allocations: 160 kB / 383.7 MB, free: 12.44 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.02946, allocations: 0.6474 MB / 384.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008429/0.0303, allocations: 0.6821 MB / 385 MB, free: 11.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007809/0.03108, allocations: 0.5028 MB / 385.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002993/0.03407, allocations: 2.225 MB / 387.7 MB, free: 8.375 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.03408, allocations: 0 / 387.7 MB, free: 8.375 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.03408, allocations: 0 / 387.7 MB, free: 8.375 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.39e-05/0.0341, allocations: 0 / 387.7 MB, free: 8.375 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005352/0.03946, allocations: 1.843 MB / 389.6 MB, free: 6.469 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.0395, allocations: 11.98 kB / 389.6 MB, free: 6.457 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.04074, allocations: 324 kB / 389.9 MB, free: 6.141 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.04326, allocations: 0.9299 MB / 390.8 MB, free: 5.184 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001168/0.04442, allocations: 1.125 MB / 392 MB, free: 3.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002952/0.04472, allocations: 100.5 kB / 392.1 MB, free: 3.742 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004614/0.04933, allocations: 2.015 MB / 394.1 MB, free: 1.684 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/0.04936, allocations: 3.938 kB / 394.1 MB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.04951, allocations: 35.98 kB / 394.1 MB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002391/0.04975, allocations: 93.94 kB / 394.2 MB, free: 1.555 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005344/0.05509, allocations: 2.233 MB / 396.4 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01059/0.06569, allocations: 5.199 MB / 401.6 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004818/0.0705, allocations: 1.62 MB / 403.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002755/0.07326, allocations: 1.059 MB / 404.3 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.385e-05/0.07335, allocations: 20.98 kB / 404.3 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003193/0.07655, allocations: 1.391 MB / 405.7 MB, free: 5.902 MB / 378.7 MB Notification: Performance of pre-optimization done (n=123): time 3.337e-06/0.07655, allocations: 0 / 405.7 MB, free: 5.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.0154/0.09195, allocations: 5.607 MB / 411.3 MB, free: 268 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.09207, allocations: 102 kB / 411.4 MB, free: 148 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000792/0.09287, allocations: 445.8 kB / 411.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.09305, allocations: 57.7 kB / 411.9 MB, free: 15.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004543/0.0935, allocations: 373.4 kB / 412.3 MB, free: 15.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005871/0.09409, allocations: 428.4 kB / 412.7 MB, free: 14.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005842/0.09467, allocations: 226.9 kB / 412.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003014/0.09497, allocations: 398.7 kB / 413.3 MB, free: 14.22 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00239/0.09736, allocations: 1.07 MB / 414.4 MB, free: 13.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002705/0.1001, allocations: 1.233 MB / 415.6 MB, free: 11.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004466/0.1045, allocations: 2.035 MB / 417.7 MB, free: 9.785 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1045, allocations: 0 / 417.7 MB, free: 9.785 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0121/0.1166, allocations: 3.983 MB / 421.6 MB, free: 5.773 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.1168, allocations: 57.69 kB / 421.7 MB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.1168, allocations: 4 kB / 421.7 MB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/0.1272, allocations: 2.956 MB / 424.7 MB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009962/0.1282, allocations: 191.7 kB / 424.9 MB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02821/0.1564, allocations: 11.09 MB / 435.9 MB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.1579, allocations: 159.8 kB / 436.1 MB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003055/0.1582, allocations: 71.94 kB / 436.2 MB, free: 7.133 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 28 (inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 101 * Array equations: 3 * Algorithm blocks: 1 * 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 {(6,21)} Notification: Performance of prepare postOptimizeDAE: time 0.000956/0.1591, allocations: 381.4 kB / 436.5 MB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006599/0.1598, allocations: 131.5 kB / 436.7 MB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006457/0.1662, allocations: 2.353 MB / 439 MB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.848e-05/0.1663, allocations: 31.88 kB / 439.1 MB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1663, allocations: 0 / 439.1 MB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.1663, allocations: 11.97 kB / 439.1 MB, free: 4.219 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009209/0.1755, allocations: 3.766 MB / 442.8 MB, free: 396 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.1755, allocations: 4 kB / 442.8 MB, free: 392 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1468/0.3223, allocations: 2.014 MB / 444.8 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-05/0.3223, allocations: 6.5 kB / 444.9 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003501/0.3227, allocations: 35.17 kB / 444.9 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.42e-05/0.3227, allocations: 10.19 kB / 444.9 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3227, allocations: 3.219 kB / 444.9 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007666/0.3304, allocations: 3.912 MB / 448.8 MB, free: 110.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006351/0.331, allocations: 264.2 kB / 449.1 MB, free: 110.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.3312, allocations: 87.28 kB / 449.2 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.3326, allocations: 183.5 kB / 449.3 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003962/0.333, allocations: 198 kB / 449.5 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.3331, allocations: 47.62 kB / 449.6 MB, free: 110.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003087/0.3334, allocations: 297.6 kB / 449.9 MB, free: 110.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3334, allocations: 0 / 449.9 MB, free: 110.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001017/0.3344, allocations: 356.8 kB / 450.2 MB, free: 110.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],pqLoad.psi[1],pqLoad.psi[2],pqLoad.psi[3],pqLoad.Z[1],pqLoad.Z[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3]) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 96 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003625/0.3348, allocations: 222.2 kB / 450.4 MB, free: 110.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005667/0.3404, allocations: 2.843 MB / 453.3 MB, free: 109.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.3405, allocations: 0 / 453.3 MB, free: 109.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005711/0.3462, allocations: 1.856 MB / 455.1 MB, free: 108.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.3473, allocations: 193.2 kB / 455.3 MB, free: 108.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006429/0.3537, allocations: 3.17 MB / 458.5 MB, free: 107.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/0.3543, allocations: 0.5397 MB / 459 MB, free: 107.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009811/0.3553, allocations: 310.2 kB / 459.3 MB, free: 107.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004147/0.3557, allocations: 72.02 kB / 459.4 MB, free: 107.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.203e-06/0.3557, allocations: 0 / 459.4 MB, free: 107.4 MB / 410.7 MB Notification: Performance of Templates: time 0.03301/0.3887, allocations: 22.49 MB / 481.9 MB, free: 102.6 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.204879948985763]