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.0009124/0.0009124, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001237/0.002149, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009915/0.0009915, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001249/0.00224, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9158/0.9158, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07116/0.987, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.1144/0.1144, allocations: 29.41 MB / 273.4 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.115/0.2294, allocations: 9.52 MB / 282.9 MB, free: 12.84 MB / 282.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.032e-06/1.032e-06, allocations: 0 / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.143e-06/8.175e-06, allocations: 2.312 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.005202/0.00521, allocations: 5.89 MB / 290.1 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003178/0.008388, allocations: 2.447 MB / 292.5 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00028/0.008668, allocations: 37.56 kB / 292.6 MB, free: 5.422 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005033/0.009171, allocations: 269.2 kB / 292.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008319/0.01, allocations: 0.6066 MB / 293.5 MB, free: 4.734 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007603/0.01076, allocations: 0.5145 MB / 294 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001419/0.01218, allocations: 2.004 MB / 296 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000655/0.01284, allocations: 0.6387 MB / 296.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.01398, allocations: 1.151 MB / 297.8 MB, free: 1.188 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008224/0.0148, allocations: 0.8925 MB / 298.7 MB, free: 300 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.01496, allocations: 140 kB / 298.8 MB, free: 160 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006967/0.01566, allocations: 0.6435 MB / 299.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003687/0.01603, allocations: 0.5496 MB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003562/0.01639, allocations: 371.4 kB / 300.3 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.01764, allocations: 1.285 MB / 301.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.01765, allocations: 0 / 301.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01765, allocations: 0 / 301.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.327e-05/0.01767, allocations: 0 / 301.6 MB, free: 13.31 MB / 298.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.002141/0.01982, allocations: 1.822 MB / 303.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.491e-05/0.01984, allocations: 8.031 kB / 303.5 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005722/0.02041, allocations: 349.6 kB / 303.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006823/0.0211, allocations: 0.6353 MB / 304.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004343/0.02153, allocations: 1.09 MB / 305.5 MB, free: 9.086 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.02169, allocations: 103.9 kB / 305.6 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.02275, allocations: 1.015 MB / 306.6 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.02277, allocations: 0 / 306.6 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.872e-05/0.02285, allocations: 35.98 kB / 306.7 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.02295, allocations: 81.95 kB / 306.8 MB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007266/0.02368, allocations: 0.5316 MB / 307.3 MB, free: 7.277 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004071/0.02775, allocations: 3.33 MB / 310.6 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008577/0.02861, allocations: 0.5826 MB / 311.2 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003839/0.02899, allocations: 279.5 kB / 311.5 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.707e-05/0.02907, allocations: 21 kB / 311.5 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009992/0.03007, allocations: 0.6106 MB / 312.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=123): time 3.406e-06/0.03007, allocations: 4 kB / 312.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=124): time 0.002476/0.03255, allocations: 1.655 MB / 313.8 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.0326, allocations: 106 kB / 313.9 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.0328, allocations: 379.1 kB / 314.2 MB, free: 160 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.674e-05/0.03288, allocations: 57.7 kB / 314.3 MB, free: 96 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.03303, allocations: 326.6 kB / 314.6 MB, free: 15.76 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004511/0.03348, allocations: 432.3 kB / 315 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.03373, allocations: 202.8 kB / 315.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.03383, allocations: 394.5 kB / 315.6 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.03416, allocations: 303.1 kB / 315.9 MB, free: 14.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.03453, allocations: 426.8 kB / 316.3 MB, free: 13.97 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006634/0.03519, allocations: 0.6944 MB / 317 MB, free: 13.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.0352, allocations: 0 / 317 MB, free: 13.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002666/0.03786, allocations: 1.559 MB / 318.6 MB, free: 11.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.045e-05/0.03791, allocations: 49.69 kB / 318.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.03792, allocations: 12.06 kB / 318.6 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002769/0.04069, allocations: 1.592 MB / 320.2 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.04115, allocations: 207.7 kB / 320.4 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005215/0.04637, allocations: 3.259 MB / 323.7 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.04674, allocations: 91.86 kB / 323.8 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-05/0.04683, allocations: 59.94 kB / 323.8 MB, free: 6.273 MB / 314.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.0002359/0.04706, allocations: 204.4 kB / 324 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.04722, allocations: 95.91 kB / 324.1 MB, free: 5.973 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008447/0.04807, allocations: 0.7303 MB / 324.9 MB, free: 5.234 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/0.04809, allocations: 23.98 kB / 324.9 MB, free: 5.211 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.04809, allocations: 3.938 kB / 324.9 MB, free: 5.207 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.0481, allocations: 7.984 kB / 324.9 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.04996, allocations: 1.623 MB / 326.5 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.04996, allocations: 4.062 kB / 326.5 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003963/0.05392, allocations: 1.595 MB / 328.1 MB, free: 1.914 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002629/0.05419, allocations: 203.3 kB / 328.3 MB, free: 1.715 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.05419, allocations: 4 kB / 328.3 MB, free: 1.711 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.253e-05/0.05425, allocations: 35.97 kB / 328.4 MB, free: 1.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.05426, allocations: 4 kB / 328.4 MB, free: 1.672 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.05426, allocations: 8 kB / 328.4 MB, free: 1.664 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.05575, allocations: 1.202 MB / 329.6 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.0559, allocations: 79.95 kB / 329.7 MB, free: 336 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.05629, allocations: 95.89 kB / 329.8 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.05644, allocations: 104.7 kB / 329.9 MB, free: 136 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-05/0.05651, allocations: 31.97 kB / 329.9 MB, free: 104 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001115/0.05662, allocations: 156.7 kB / 330 MB, free: 15.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.05662, allocations: 0 / 330 MB, free: 15.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005794/0.0572, allocations: 351.9 kB / 330.4 MB, free: 15.6 MB / 330.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.000264/0.05746, allocations: 209.9 kB / 330.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.05895, allocations: 1.202 MB / 331.8 MB, free: 14.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.988e-05/0.05897, allocations: 12.12 kB / 331.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.06034, allocations: 0.7157 MB / 332.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000564/0.06091, allocations: 280.5 kB / 332.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.07114, allocations: 2.355 MB / 335.1 MB, free: 10.74 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.07134, allocations: 277.9 kB / 335.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003596/0.0717, allocations: 122.6 kB / 335.5 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004972/0.0722, allocations: 221.2 kB / 335.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.0722, allocations: 0 / 335.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of Templates: time 0.02326/0.09546, allocations: 24.16 MB / 359.9 MB, free: 2.152 MB / 346.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: 3.188287808559835]