Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.0007229/0.0007229, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001043/0.001766, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007182/0.0007182, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.001735, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.918/0.918, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07613/0.9941, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.1138/0.1138, allocations: 29.42 MB / 273.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1191/0.2329, allocations: 9.532 MB / 283.1 MB, free: 12.82 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.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.828e-06/1.135e-05, allocations: 2.969 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.006676/0.006688, allocations: 5.584 MB / 290 MB, free: 7.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002665/0.009352, allocations: 1.371 MB / 291.4 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003804/0.009733, allocations: 34.81 kB / 291.4 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.01002, allocations: 126.1 kB / 291.5 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008449/0.01087, allocations: 429.2 kB / 292 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.01139, allocations: 243.7 kB / 292.2 MB, free: 5.746 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00092/0.01231, allocations: 1.127 MB / 293.3 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003195/0.01263, allocations: 264 kB / 293.6 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008612/0.01349, allocations: 0.7293 MB / 294.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005674/0.01406, allocations: 458 kB / 294.8 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.958e-05/0.01415, allocations: 61.66 kB / 294.8 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.01427, allocations: 64 kB / 294.9 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.01447, allocations: 315.2 kB / 295.2 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.01467, allocations: 223.6 kB / 295.4 MB, free: 3.684 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005003/0.01517, allocations: 0.5644 MB / 296 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.368e-06/0.01518, allocations: 0 / 296 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.01518, allocations: 0 / 296 MB, free: 3.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.0152, allocations: 4 kB / 296 MB, free: 3.113 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.00123/0.01643, allocations: 1.172 MB / 297.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.732e-05/0.01645, allocations: 16.02 kB / 297.2 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.01658, allocations: 104.9 kB / 297.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/0.01711, allocations: 0.495 MB / 297.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.01721, allocations: 216.1 kB / 298 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.056e-05/0.01728, allocations: 64.38 kB / 298 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.01782, allocations: 0.5523 MB / 298.6 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.01784, allocations: 0 / 298.6 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.01787, allocations: 20 kB / 298.6 MB, free: 344 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.894e-05/0.01794, allocations: 33.3 kB / 298.6 MB, free: 308 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002638/0.01821, allocations: 211.7 kB / 298.8 MB, free: 96 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.02, allocations: 2.011 MB / 300.9 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.02045, allocations: 350.3 kB / 301.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.02062, allocations: 131 kB / 301.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.02064, allocations: 16.25 kB / 301.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.02085, allocations: 213.6 kB / 301.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=41): time 1.292e-06/0.02085, allocations: 0 / 301.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=41): time 0.00081/0.02166, allocations: 0.5033 MB / 302.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.02171, allocations: 114.7 kB / 302.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.02195, allocations: 395 kB / 302.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.02198, allocations: 37.7 kB / 302.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.02211, allocations: 321.3 kB / 302.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.02219, allocations: 150.8 kB / 303.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.02229, allocations: 110.2 kB / 303.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.02239, allocations: 374.6 kB / 303.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.02251, allocations: 117.8 kB / 303.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.02268, allocations: 275.5 kB / 303.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.02299, allocations: 401.6 kB / 304.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02299, allocations: 0 / 304.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004316/0.02342, allocations: 0.4893 MB / 304.8 MB, free: 9.762 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.02346, allocations: 49.69 kB / 304.8 MB, free: 9.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.02347, allocations: 8 kB / 304.8 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.02362, allocations: 52.5 kB / 304.9 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.02384, allocations: 120.1 kB / 305 MB, free: 9.523 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.02508, allocations: 2.691 MB / 307.7 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.02525, allocations: 51.62 kB / 307.8 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/0.02529, allocations: 35.97 kB / 307.8 MB, free: 6.559 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,dc_ac.modulator.t0,$PRE.dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.02542, allocations: 158 kB / 307.9 MB, free: 6.395 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.02546, allocations: 39.91 kB / 308 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.02579, allocations: 294.5 kB / 308.3 MB, free: 6.051 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.02579, allocations: 4 kB / 308.3 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.0258, allocations: 4 kB / 308.3 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.0258, allocations: 3.938 kB / 308.3 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000707/0.02651, allocations: 0.8001 MB / 309.1 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.02651, allocations: 0 / 309.1 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.02666, allocations: 59.91 kB / 309.1 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.254e-05/0.02675, allocations: 83.47 kB / 309.2 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000142/0.02689, allocations: 68.45 kB / 309.3 MB, free: 4.984 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.02692, allocations: 11.98 kB / 309.3 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.028, allocations: 2.676 MB / 312 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.028, allocations: 3.938 kB / 312 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000445/0.02845, allocations: 0.4999 MB / 312.5 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.329e-05/0.0285, allocations: 23.98 kB / 312.5 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.02863, allocations: 23.97 kB / 312.5 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.02867, allocations: 23.95 kB / 312.6 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.02869, allocations: 16.12 kB / 312.6 MB, free: 1.477 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.02881, allocations: 164.6 kB / 312.7 MB, free: 1.312 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02881, allocations: 0 / 312.7 MB, free: 1.312 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003632/0.02917, allocations: 187.6 kB / 312.9 MB, free: 1.125 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 8 ($whenCondition1,dc_ac.modulator.gates[1],dc_ac.modulator.gates[2],dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.sigdel_t,dc_ac.modulator.t0,system.initime) * Number of discrete states: 6 (dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.gates[1],dc_ac.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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,1,100.0%), (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 9.948e-05/0.02927, allocations: 110.9 kB / 313 MB, free: 1.012 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005043/0.02977, allocations: 0.6175 MB / 313.6 MB, free: 356 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/0.02979, allocations: 8 kB / 313.6 MB, free: 348 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.03008, allocations: 379.2 kB / 314 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005994/0.03068, allocations: 1.037 MB / 315.1 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006755/0.03743, allocations: 1.22 MB / 316.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.03755, allocations: 189.7 kB / 316.5 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000139/0.03768, allocations: 60.66 kB / 316.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.03789, allocations: 157.3 kB / 316.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.03789, allocations: 4 kB / 316.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of Templates: time 0.008884/0.04677, allocations: 7.359 MB / 324 MB, free: 5.824 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6480208123102784]