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.0009545/0.0009545, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001056/0.001056, allocations: 169.3 kB / 24.82 MB, free: 8.906 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 1.142/1.142, allocations: 177.2 MB / 205.3 MB, free: 5.492 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.2278/0.2278, allocations: 29.42 MB / 291.2 MB, free: 2.441 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.814e-06/1.814e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.072e-05, allocations: 2.312 kB / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.004862/0.004883, allocations: 5.471 MB / 375.6 MB, free: 5.215 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.006399, allocations: 1.321 MB / 376.9 MB, free: 3.891 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002389/0.006638, allocations: 35.69 kB / 376.9 MB, free: 3.855 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.006891, allocations: 123 kB / 377.1 MB, free: 3.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006218/0.007513, allocations: 433.5 kB / 377.5 MB, free: 3.309 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.00785, allocations: 251.5 kB / 377.7 MB, free: 3.062 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007242/0.008574, allocations: 1.129 MB / 378.9 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/0.008835, allocations: 250.2 kB / 379.1 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006297/0.009464, allocations: 0.7131 MB / 379.8 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004502/0.009915, allocations: 474.7 kB / 380.3 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.533e-05/0.00999, allocations: 64 kB / 380.3 MB, free: 456 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.209e-05/0.01008, allocations: 64 kB / 380.4 MB, free: 392 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002071/0.01029, allocations: 351.1 kB / 380.7 MB, free: 40 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.0105, allocations: 283.4 kB / 381 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004851/0.01099, allocations: 0.6073 MB / 381.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.01099, allocations: 7.938 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.01099, allocations: 0 / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.011, allocations: 0 / 381.6 MB, free: 15.14 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.00141/0.01241, allocations: 1.157 MB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.01244, allocations: 11.98 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.01258, allocations: 140.4 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005109/0.01309, allocations: 0.5174 MB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.0132, allocations: 216.1 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.771e-05/0.01326, allocations: 64.36 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005548/0.01382, allocations: 0.5721 MB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.01383, allocations: 0 / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.01387, allocations: 28 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.867e-05/0.01393, allocations: 29.3 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002554/0.01418, allocations: 200.8 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.01621, allocations: 2.68 MB / 387.2 MB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004962/0.01671, allocations: 346.3 kB / 387.6 MB, free: 8.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.01693, allocations: 143.1 kB / 387.7 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.01695, allocations: 12.27 kB / 387.7 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.01718, allocations: 213 kB / 387.9 MB, free: 8.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 1.593e-06/0.01718, allocations: 0 / 387.9 MB, free: 8.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001268/0.01845, allocations: 0.7947 MB / 388.7 MB, free: 7.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003454/0.0188, allocations: 118.8 kB / 388.8 MB, free: 7.539 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.01906, allocations: 466.3 kB / 389.3 MB, free: 7.062 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.01909, allocations: 45.62 kB / 389.3 MB, free: 7.012 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.01927, allocations: 427 kB / 389.8 MB, free: 6.586 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.003e-05/0.01935, allocations: 154.8 kB / 389.9 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.01947, allocations: 127.9 kB / 390 MB, free: 6.301 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.01961, allocations: 0.5507 MB / 390.6 MB, free: 5.738 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.01972, allocations: 114.9 kB / 390.7 MB, free: 5.621 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.01992, allocations: 349.4 kB / 391 MB, free: 5.176 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.02024, allocations: 454.1 kB / 391.5 MB, free: 4.633 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.02024, allocations: 0 / 391.5 MB, free: 4.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005333/0.02077, allocations: 0.5816 MB / 392.1 MB, free: 4.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.02081, allocations: 45.69 kB / 392.1 MB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.02081, allocations: 8 kB / 392.1 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/0.02097, allocations: 67.69 kB / 392.2 MB, free: 3.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.02117, allocations: 103.8 kB / 392.3 MB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/0.02289, allocations: 3.729 MB / 396 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.02303, allocations: 20 kB / 396 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.935e-05/0.02308, allocations: 40.08 kB / 396.1 MB, free: 15.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 63 * 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.0001367/0.02322, allocations: 208.4 kB / 396.3 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.068e-05/0.02328, allocations: 75.56 kB / 396.3 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005102/0.02379, allocations: 353.4 kB / 396.7 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.02379, allocations: 4 kB / 396.7 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.0238, allocations: 7.938 kB / 396.7 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.0238, allocations: 3.984 kB / 396.7 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008355/0.02464, allocations: 0.9758 MB / 397.7 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.02464, allocations: 0 / 397.7 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.02477, allocations: 51.92 kB / 397.7 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001404/0.02492, allocations: 67.3 kB / 397.8 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.02494, allocations: 16.05 kB / 397.8 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.02623, allocations: 3.725 MB / 401.5 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.02623, allocations: 7.938 kB / 401.6 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.02676, allocations: 0.6131 MB / 402.2 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/0.02685, allocations: 83.69 kB / 402.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.0269, allocations: 27.98 kB / 402.3 MB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.02704, allocations: 15.98 kB / 402.3 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.02708, allocations: 31.94 kB / 402.3 MB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.0271, allocations: 15.98 kB / 402.3 MB, free: 9.152 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001332/0.02723, allocations: 279 kB / 402.6 MB, free: 8.883 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02723, allocations: 0 / 402.6 MB, free: 8.883 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003704/0.0276, allocations: 148 kB / 402.8 MB, free: 8.738 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (42): * Single equations (assignments): 33 * 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.0001092/0.02771, allocations: 131.2 kB / 402.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006359/0.02835, allocations: 0.747 MB / 403.6 MB, free: 7.801 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.02835, allocations: 0 / 403.6 MB, free: 7.801 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.02865, allocations: 479.2 kB / 404.1 MB, free: 7.293 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.02906, allocations: 141.1 kB / 404.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.03057, allocations: 1.242 MB / 405.5 MB, free: 5.863 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.03068, allocations: 189.8 kB / 405.7 MB, free: 5.656 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.03081, allocations: 68.66 kB / 405.7 MB, free: 5.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.03102, allocations: 190.1 kB / 405.9 MB, free: 5.402 MB / 378.7 MB Notification: Performance of SimCode: time 8.31e-07/0.03103, allocations: 0 / 405.9 MB, free: 5.402 MB / 378.7 MB Notification: Performance of Templates: time 0.008983/0.04001, allocations: 7.269 MB / 413.2 MB, free: 14.26 MB / 394.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.155737893190235]