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.001967/0.001967, allocations: 91.61 kB / 20.96 MB, free: 3.453 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.001962/0.001962, allocations: 165.3 kB / 24.28 MB, free: 144 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.541/1.541, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.2929/0.2929, allocations: 29.41 MB / 290.5 MB, free: 2.426 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.583e-06/1.583e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/2.947e-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.01008/0.01011, allocations: 6.528 MB / 375.4 MB, free: 4.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005842/0.01596, allocations: 2.411 MB / 377.8 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005529/0.01651, allocations: 35.69 kB / 377.8 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.01803, allocations: 421.8 kB / 378.3 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.01977, allocations: 0.6178 MB / 378.9 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.02114, allocations: 0.5182 MB / 379.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002919/0.02406, allocations: 1.961 MB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.02524, allocations: 0.5606 MB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002508/0.02775, allocations: 1.06 MB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.02963, allocations: 0.9706 MB / 383.9 MB, free: 12.17 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003254/0.02995, allocations: 160 kB / 384.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.03139, allocations: 0.6474 MB / 384.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008677/0.03226, allocations: 0.6821 MB / 385.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008722/0.03313, allocations: 0.5029 MB / 385.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003122/0.03625, allocations: 2.228 MB / 388.2 MB, free: 7.941 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.03626, allocations: 0 / 388.2 MB, free: 7.941 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.03626, allocations: 0 / 388.2 MB, free: 7.941 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.03628, allocations: 4 kB / 388.2 MB, free: 7.938 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.005165/0.04144, allocations: 1.986 MB / 390.2 MB, free: 5.883 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.04149, allocations: 11.98 kB / 390.2 MB, free: 5.871 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.04262, allocations: 312 kB / 390.5 MB, free: 5.566 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002653/0.04527, allocations: 0.8976 MB / 391.4 MB, free: 4.641 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001087/0.04636, allocations: 1.09 MB / 392.5 MB, free: 3.332 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002778/0.04664, allocations: 100.5 kB / 392.6 MB, free: 3.234 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003185/0.04982, allocations: 1.312 MB / 393.9 MB, free: 1.867 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.04985, allocations: 7.938 kB / 393.9 MB, free: 1.859 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/0.04999, allocations: 39.98 kB / 393.9 MB, free: 1.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002394/0.05023, allocations: 89.94 kB / 394 MB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/0.05356, allocations: 1.105 MB / 395.1 MB, free: 0.625 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.06407, allocations: 4.891 MB / 400 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003163/0.06723, allocations: 0.884 MB / 400.9 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/0.06892, allocations: 0.5176 MB / 401.4 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.06903, allocations: 24.98 kB / 401.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002182/0.07121, allocations: 0.8715 MB / 402.3 MB, free: 9.285 MB / 378.7 MB Notification: Performance of pre-optimization done (n=123): time 3.346e-06/0.07122, allocations: 0 / 402.3 MB, free: 9.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.009992/0.08121, allocations: 3.134 MB / 405.4 MB, free: 6.113 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.884e-05/0.08131, allocations: 106 kB / 405.5 MB, free: 5.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007834/0.08209, allocations: 0.5337 MB / 406.1 MB, free: 5.441 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001667/0.08226, allocations: 53.7 kB / 406.1 MB, free: 5.383 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005447/0.0828, allocations: 440.2 kB / 406.6 MB, free: 4.945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005377/0.08334, allocations: 468.4 kB / 407 MB, free: 4.484 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005414/0.08388, allocations: 276.6 kB / 407.3 MB, free: 4.207 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004424/0.08433, allocations: 0.6172 MB / 407.9 MB, free: 3.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.08576, allocations: 0.5195 MB / 408.4 MB, free: 3.051 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/0.08747, allocations: 0.7455 MB / 409.2 MB, free: 2.246 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002934/0.09041, allocations: 1.154 MB / 410.3 MB, free: 1.027 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.09041, allocations: 4 kB / 410.3 MB, free: 1.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.008957/0.09937, allocations: 2.386 MB / 412.7 MB, free: 14.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.0995, allocations: 61.67 kB / 412.8 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.09952, allocations: 0 / 412.8 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008514/0.108, allocations: 2.088 MB / 414.9 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.1091, allocations: 203.7 kB / 415.1 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01851/0.1276, allocations: 5.509 MB / 420.6 MB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.1288, allocations: 127.8 kB / 420.7 MB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/0.129, allocations: 79.88 kB / 420.8 MB, free: 6.414 MB / 394.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.0005992/0.1296, allocations: 268.4 kB / 421 MB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003806/0.13, allocations: 127.5 kB / 421.1 MB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00409/0.1341, allocations: 1.346 MB / 422.5 MB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-05/0.1341, allocations: 23.94 kB / 422.5 MB, free: 4.641 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1341, allocations: 4 kB / 422.5 MB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.1341, allocations: 7.969 kB / 422.5 MB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00701/0.1412, allocations: 2.58 MB / 425.1 MB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.1412, allocations: 0 / 425.1 MB, free: 1.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00877/0.1499, allocations: 1.358 MB / 426.5 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-05/0.1499, allocations: 8 kB / 426.5 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/0.1501, allocations: 35.97 kB / 426.5 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.397e-05/0.1501, allocations: 7.938 kB / 426.5 MB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.1501, allocations: 4 kB / 426.5 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005894/0.156, allocations: 2.097 MB / 428.6 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000888/0.1569, allocations: 251.3 kB / 428.9 MB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/0.1572, allocations: 79.92 kB / 428.9 MB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.1583, allocations: 131.8 kB / 429.1 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005132/0.1588, allocations: 212.5 kB / 429.3 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/0.1589, allocations: 47.97 kB / 429.3 MB, free: 13.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004429/0.1593, allocations: 327 kB / 429.6 MB, free: 13.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1593, allocations: 0 / 429.6 MB, free: 13.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0012/0.1605, allocations: 359.9 kB / 430 MB, free: 13.03 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.0004797/0.161, allocations: 220.8 kB / 430.2 MB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005359/0.1664, allocations: 1.86 MB / 432.1 MB, free: 10.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1664, allocations: 0 / 432.1 MB, free: 10.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004574/0.171, allocations: 0.9881 MB / 433.1 MB, free: 9.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.1721, allocations: 199.7 kB / 433.3 MB, free: 9.727 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007/0.1791, allocations: 2.625 MB / 435.9 MB, free: 7.027 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008936/0.18, allocations: 0.5099 MB / 436.4 MB, free: 6.484 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001211/0.1812, allocations: 214.5 kB / 436.6 MB, free: 6.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004709/0.1817, allocations: 76.47 kB / 436.7 MB, free: 6.195 MB / 410.7 MB Notification: Performance of SimCode: time 2.735e-06/0.1817, allocations: 0 / 436.7 MB, free: 6.195 MB / 410.7 MB Notification: Performance of Templates: time 0.1754/0.3571, allocations: 22.76 MB / 459.4 MB, free: 106.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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.120883821044117]