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.0009008/0.0009008, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.0009829/0.0009829, allocations: 170.2 kB / 24.92 MB, free: 9.184 MB / 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.9781/0.9781, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2361/0.2361, allocations: 29.41 MB / 291.2 MB, free: 2.477 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.122e-06/1.122e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118e-05/1.23e-05, allocations: 5.016 kB / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.005217/0.005229, allocations: 5.834 MB / 322.7 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002942/0.008171, allocations: 2.446 MB / 325.2 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003087/0.008479, allocations: 35.69 kB / 325.2 MB, free: 7.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005888/0.009068, allocations: 234.5 kB / 325.4 MB, free: 7.359 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007698/0.009838, allocations: 0.5983 MB / 326 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009687/0.01081, allocations: 0.5182 MB / 326.5 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001351/0.01216, allocations: 1.961 MB / 328.5 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005051/0.01266, allocations: 0.5839 MB / 329.1 MB, free: 3.672 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009451/0.01361, allocations: 1.111 MB / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007402/0.01435, allocations: 0.8731 MB / 331.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.01448, allocations: 140 kB / 331.2 MB, free: 1.547 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006702/0.01515, allocations: 0.6435 MB / 331.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003873/0.01554, allocations: 0.6587 MB / 332.5 MB, free: 244 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003511/0.01589, allocations: 487 kB / 333 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.01718, allocations: 1.469 MB / 334.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.674e-06/0.01718, allocations: 0 / 334.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.01718, allocations: 0 / 334.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.01719, allocations: 0 / 334.5 MB, free: 14.29 MB / 314.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.001927/0.01912, allocations: 1.58 MB / 336 MB, free: 12.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.01914, allocations: 11.98 kB / 336 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000546/0.01969, allocations: 268.6 kB / 336.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006699/0.02036, allocations: 0.6353 MB / 336.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004528/0.02081, allocations: 1.097 MB / 338 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.02097, allocations: 84.56 kB / 338.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.02204, allocations: 1.015 MB / 339.1 MB, free: 9.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.02206, allocations: 3.984 kB / 339.1 MB, free: 9.246 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.6e-05/0.02213, allocations: 36 kB / 339.2 MB, free: 9.211 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.02224, allocations: 85.94 kB / 339.3 MB, free: 9.129 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007351/0.02297, allocations: 0.5355 MB / 339.8 MB, free: 8.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003894/0.02687, allocations: 3.338 MB / 343.1 MB, free: 5.188 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008297/0.0277, allocations: 0.5748 MB / 343.7 MB, free: 4.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.02805, allocations: 283.5 kB / 344 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.894e-05/0.02811, allocations: 21 kB / 344 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005741/0.02869, allocations: 0.6054 MB / 344.6 MB, free: 3.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=123): time 2.094e-06/0.02869, allocations: 0 / 344.6 MB, free: 3.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=124): time 0.002267/0.03095, allocations: 1.668 MB / 346.3 MB, free: 1.965 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.031, allocations: 106 kB / 346.4 MB, free: 1.844 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.03121, allocations: 371.1 kB / 346.7 MB, free: 1.469 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.079e-05/0.03129, allocations: 65.67 kB / 346.8 MB, free: 1.398 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.03142, allocations: 322.4 kB / 347.1 MB, free: 1.078 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004758/0.0319, allocations: 428.3 kB / 347.5 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.03214, allocations: 206.8 kB / 347.7 MB, free: 456 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.03224, allocations: 394.5 kB / 348.1 MB, free: 52 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.03258, allocations: 295.1 kB / 348.4 MB, free: 15.76 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/0.03296, allocations: 437.2 kB / 348.8 MB, free: 15.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006719/0.03363, allocations: 0.6905 MB / 349.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.03363, allocations: 0 / 349.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002899/0.03653, allocations: 1.547 MB / 351.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.128e-05/0.03658, allocations: 61.67 kB / 351.1 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.03659, allocations: 0 / 351.1 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002967/0.03956, allocations: 1.584 MB / 352.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/0.04002, allocations: 191.7 kB / 352.9 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005549/0.04557, allocations: 3.278 MB / 356.2 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003946/0.04596, allocations: 87.86 kB / 356.3 MB, free: 7.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.04607, allocations: 67.92 kB / 356.3 MB, free: 7.602 MB / 330.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.0002361/0.04631, allocations: 192.4 kB / 356.5 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.04647, allocations: 91.92 kB / 356.6 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008623/0.04733, allocations: 0.7381 MB / 357.4 MB, free: 6.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/0.04735, allocations: 24 kB / 357.4 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.04735, allocations: 0 / 357.4 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.04736, allocations: 7.969 kB / 357.4 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.04927, allocations: 1.623 MB / 359 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.04927, allocations: 7.984 kB / 359 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00398/0.05325, allocations: 1.575 MB / 360.6 MB, free: 3.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.05326, allocations: 8 kB / 360.6 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.108e-05/0.05333, allocations: 27.97 kB / 360.6 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.05333, allocations: 8 kB / 360.6 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.05334, allocations: 64 / 360.6 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.05495, allocations: 1.21 MB / 361.9 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/0.05521, allocations: 203.3 kB / 362.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.05535, allocations: 83.88 kB / 362.1 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.05575, allocations: 87.91 kB / 362.2 MB, free: 1.598 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.05592, allocations: 108.8 kB / 362.3 MB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.174e-05/0.05598, allocations: 27.98 kB / 362.4 MB, free: 1.461 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001063/0.05609, allocations: 156.7 kB / 362.5 MB, free: 1.309 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05609, allocations: 0 / 362.5 MB, free: 1.309 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006219/0.05671, allocations: 355.9 kB / 362.9 MB, free: 0.9609 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.0002682/0.05698, allocations: 202.6 kB / 363.1 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.05852, allocations: 1.202 MB / 364.3 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.05853, allocations: 4 kB / 364.3 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.05991, allocations: 0.7203 MB / 365 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.06043, allocations: 206.4 kB / 365.2 MB, free: 14.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.06357, allocations: 2.346 MB / 367.5 MB, free: 12.19 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.06376, allocations: 281.9 kB / 367.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003313/0.0641, allocations: 110.7 kB / 367.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005238/0.06462, allocations: 209.3 kB / 368.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of SimCode: time 8.71e-07/0.06462, allocations: 4 kB / 368.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of Templates: time 0.02303/0.08765, allocations: 23.87 MB / 392 MB, free: 3.898 MB / 362.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.46879081428051]