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.0009991/0.0009991, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001123/0.001123, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9505/0.9505, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.1215/0.1215, allocations: 29.43 MB / 291.2 MB, free: 2.688 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.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.763e-06/1.763e-06, allocations: 0 / 316.8 MB, free: 9.051 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.715e-05, allocations: 2.312 kB / 316.8 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.005457/0.005484, allocations: 5.497 MB / 322.3 MB, free: 3.516 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.007847, allocations: 1.351 MB / 323.7 MB, free: 2.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000335/0.008182, allocations: 35.69 kB / 323.7 MB, free: 2.125 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.008489, allocations: 123 kB / 323.9 MB, free: 2.004 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007742/0.009264, allocations: 429.5 kB / 324.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.009719, allocations: 247.5 kB / 324.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008611/0.01058, allocations: 1.133 MB / 325.6 MB, free: 208 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.01086, allocations: 256.1 kB / 325.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007064/0.01157, allocations: 0.7131 MB / 326.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004508/0.01202, allocations: 450.8 kB / 327.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.988e-05/0.01209, allocations: 64 kB / 327.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.164e-05/0.01217, allocations: 64 kB / 327.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.0124, allocations: 359.1 kB / 327.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.0126, allocations: 279.3 kB / 327.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004777/0.01308, allocations: 0.6112 MB / 328.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.01308, allocations: 0 / 328.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01308, allocations: 0 / 328.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.01309, allocations: 3.938 kB / 328.4 MB, free: 13.43 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001019/0.01411, allocations: 1.016 MB / 329.4 MB, free: 12.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.01414, allocations: 8.031 kB / 329.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.01426, allocations: 112.8 kB / 329.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005006/0.01476, allocations: 491 kB / 330 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.01487, allocations: 216.1 kB / 330.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.305e-05/0.01495, allocations: 68.38 kB / 330.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005196/0.01546, allocations: 0.5523 MB / 330.9 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.01548, allocations: 0 / 330.9 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.606e-05/0.01551, allocations: 20 kB / 330.9 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.55e-05/0.01558, allocations: 33.3 kB / 330.9 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.01583, allocations: 195.8 kB / 331.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.01751, allocations: 2.015 MB / 333.1 MB, free: 8.504 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006006/0.01811, allocations: 360.7 kB / 333.5 MB, free: 8.133 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.01832, allocations: 130.3 kB / 333.6 MB, free: 8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.01834, allocations: 8.312 kB / 333.6 MB, free: 7.992 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002437/0.01858, allocations: 213.6 kB / 333.8 MB, free: 7.762 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 1.473e-06/0.01858, allocations: 0 / 333.8 MB, free: 7.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=41): time 0.0008023/0.01938, allocations: 483.3 kB / 334.3 MB, free: 7.273 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.01943, allocations: 118.8 kB / 334.4 MB, free: 7.133 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.01965, allocations: 399.1 kB / 334.8 MB, free: 6.727 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.01968, allocations: 45.69 kB / 334.8 MB, free: 6.676 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.01981, allocations: 321.3 kB / 335.1 MB, free: 6.359 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.526e-05/0.01989, allocations: 146.8 kB / 335.3 MB, free: 6.215 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.01999, allocations: 114.2 kB / 335.4 MB, free: 6.094 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.02009, allocations: 370.6 kB / 335.8 MB, free: 5.723 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.0202, allocations: 109.8 kB / 335.9 MB, free: 5.609 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.02037, allocations: 271.5 kB / 336.1 MB, free: 5.266 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.02063, allocations: 377.8 kB / 336.5 MB, free: 4.824 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.02064, allocations: 4 kB / 336.5 MB, free: 4.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004285/0.02106, allocations: 484.7 kB / 337 MB, free: 4.316 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.02118, allocations: 50.25 kB / 337 MB, free: 4.262 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.02119, allocations: 4 kB / 337 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001678/0.02136, allocations: 60.5 kB / 337.1 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.02155, allocations: 99.83 kB / 337.2 MB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.02276, allocations: 2.691 MB / 339.9 MB, free: 1.211 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.02291, allocations: 55.72 kB / 339.9 MB, free: 1.156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/0.02295, allocations: 39.98 kB / 340 MB, free: 1.117 MB / 314.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.0001399/0.02309, allocations: 152.5 kB / 340.1 MB, free: 0.957 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.02314, allocations: 51.89 kB / 340.2 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/0.02346, allocations: 290.3 kB / 340.5 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.02346, allocations: 4 kB / 340.5 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.02346, allocations: 0 / 340.5 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.02347, allocations: 11.92 kB / 340.5 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008809/0.02435, allocations: 0.7999 MB / 341.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.02436, allocations: 3.984 kB / 341.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.02449, allocations: 51.92 kB / 341.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001415/0.02463, allocations: 60.52 kB / 341.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.02466, allocations: 11.98 kB / 341.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.02579, allocations: 2.675 MB / 344.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.02579, allocations: 0 / 344.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004857/0.02628, allocations: 0.4926 MB / 344.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.537e-05/0.02637, allocations: 87.5 kB / 344.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.379e-05/0.02642, allocations: 27.98 kB / 344.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.02655, allocations: 19.98 kB / 344.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.0266, allocations: 27.95 kB / 344.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.02661, allocations: 7.984 kB / 344.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001138/0.02673, allocations: 164.7 kB / 344.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02673, allocations: 0 / 344.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003889/0.02712, allocations: 187.6 kB / 345.1 MB, free: 11.71 MB / 330.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 0.0001315/0.02725, allocations: 111 kB / 345.2 MB, free: 11.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005378/0.02778, allocations: 0.617 MB / 345.8 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/0.02779, allocations: 4 kB / 345.8 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000262/0.02806, allocations: 357.9 kB / 346.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.02842, allocations: 148.8 kB / 346.3 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.02993, allocations: 1.167 MB / 347.5 MB, free: 9.195 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.03006, allocations: 185.7 kB / 347.7 MB, free: 8.992 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.03021, allocations: 68.66 kB / 347.7 MB, free: 8.922 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.03041, allocations: 157.3 kB / 347.9 MB, free: 8.766 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.03041, allocations: 0 / 347.9 MB, free: 8.766 MB / 330.7 MB Notification: Performance of Templates: time 0.009407/0.03982, allocations: 7.28 MB / 355.2 MB, free: 1.605 MB / 330.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: 3.1751198158599436]