Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.000654/0.000654, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009246/0.001579, 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.0006958/0.0006958, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000907/0.001603, 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.9252/0.9252, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07225/0.9974, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.1267/0.1267, allocations: 29.43 MB / 273.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1071/0.2338, allocations: 9.521 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.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") translateModel(PowerSystems.Examples.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.516e-06/9.808e-06, allocations: 2.969 kB / 284.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.004562/0.004572, allocations: 6.127 MB / 290.6 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.006795, allocations: 2.074 MB / 292.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002227/0.007017, allocations: 37.47 kB / 292.7 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.007444, allocations: 242.7 kB / 292.9 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006861/0.00813, allocations: 0.5782 MB / 293.5 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005537/0.008684, allocations: 432.4 kB / 293.9 MB, free: 4.465 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009254/0.009609, allocations: 1.447 MB / 295.4 MB, free: 3.688 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005207/0.01013, allocations: 0.6191 MB / 296 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000766/0.0109, allocations: 0.9315 MB / 296.9 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007965/0.01169, allocations: 0.6312 MB / 297.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.01189, allocations: 96 kB / 297.6 MB, free: 1.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008032/0.01269, allocations: 0.5381 MB / 298.2 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003221/0.01301, allocations: 478.9 kB / 298.6 MB, free: 432 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.01331, allocations: 319.4 kB / 298.9 MB, free: 112 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009176/0.01423, allocations: 1.032 MB / 300 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.01424, allocations: 0 / 300 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.01424, allocations: 0 / 300 MB, free: 15.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.01426, allocations: 0 / 300 MB, free: 15.07 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.001664/0.01593, allocations: 1.618 MB / 301.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.01596, allocations: 12.03 kB / 301.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006069/0.01657, allocations: 325.7 kB / 301.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006332/0.0172, allocations: 0.5728 MB / 302.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.01735, allocations: 333.8 kB / 302.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.01749, allocations: 104.7 kB / 302.9 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009862/0.01848, allocations: 0.8945 MB / 303.8 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/0.01851, allocations: 11.89 kB / 303.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-05/0.0186, allocations: 32 kB / 303.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/0.01871, allocations: 73.95 kB / 303.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004841/0.01919, allocations: 348.4 kB / 304.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002859/0.02205, allocations: 3.58 MB / 307.9 MB, free: 6.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005205/0.02257, allocations: 441 kB / 308.3 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.0228, allocations: 179.7 kB / 308.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.02284, allocations: 12.66 kB / 308.5 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003728/0.02321, allocations: 390.7 kB / 308.9 MB, free: 5.785 MB / 298.7 MB Notification: Performance of pre-optimization done (n=80): time 2.104e-06/0.02321, allocations: 0 / 308.9 MB, free: 5.785 MB / 298.7 MB Notification: Performance of matching and sorting (n=81): time 0.001578/0.02479, allocations: 1.13 MB / 310 MB, free: 4.617 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.02484, allocations: 135.3 kB / 310.1 MB, free: 4.461 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.02514, allocations: 450.8 kB / 310.6 MB, free: 4.008 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.02525, allocations: 57.69 kB / 310.6 MB, free: 3.945 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.02541, allocations: 417.2 kB / 311 MB, free: 3.531 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.02554, allocations: 277.6 kB / 311.3 MB, free: 3.258 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.0257, allocations: 190.4 kB / 311.5 MB, free: 3.066 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.0258, allocations: 386.6 kB / 311.9 MB, free: 2.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.02599, allocations: 198.8 kB / 312.1 MB, free: 2.477 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.02634, allocations: 465.7 kB / 312.5 MB, free: 1.906 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004947/0.02684, allocations: 0.6924 MB / 313.2 MB, free: 1.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.02684, allocations: 8 kB / 313.2 MB, free: 1.082 MB / 298.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.0007479/0.02759, allocations: 0.7858 MB / 314 MB, free: 280 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/0.02763, allocations: 61.8 kB / 314.1 MB, free: 212 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.02764, allocations: 8 kB / 314.1 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002207/0.02786, allocations: 91.3 kB / 314.2 MB, free: 104 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/0.0283, allocations: 215.6 kB / 314.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.03001, allocations: 2.755 MB / 317.1 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.03042, allocations: 40.08 kB / 317.2 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.03054, allocations: 67.94 kB / 317.2 MB, free: 12.83 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 28 (system.initime,ac_dc.modulator.t0[3],$PRE.ac_dc.modulator.t0[3],ac_dc.modulator.t0[2],$PRE.ac_dc.modulator.t0[2],ac_dc.modulator.t0[1],$PRE.ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[3],$PRE.ac_dc.modulator.sigdel_t[3],ac_dc.modulator.sigdel_t[2],$PRE.ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[1],$PRE.ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[6],$PRE.ac_dc.modulator.gates[6],ac_dc.modulator.gates[5],$PRE.ac_dc.modulator.gates[5],ac_dc.modulator.gates[4],$PRE.ac_dc.modulator.gates[4],ac_dc.modulator.gates[3],$PRE.ac_dc.modulator.gates[3],ac_dc.modulator.gates[2],$PRE.ac_dc.modulator.gates[2],ac_dc.modulator.gates[1],$PRE.ac_dc.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 109 * Array equations: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000261/0.0308, allocations: 196.5 kB / 317.4 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.03096, allocations: 75.88 kB / 317.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006868/0.03165, allocations: 478.3 kB / 318 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.03166, allocations: 16 kB / 318 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.03166, allocations: 3.938 kB / 318 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.03167, allocations: 7.984 kB / 318 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.03279, allocations: 1.135 MB / 319.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.0328, allocations: 4 kB / 319.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.03323, allocations: 151.7 kB / 319.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.03338, allocations: 127.4 kB / 319.4 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.935e-05/0.03344, allocations: 24.84 kB / 319.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.03348, allocations: 23.97 kB / 319.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006002/0.03408, allocations: 1.473 MB / 320.9 MB, free: 8.973 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.03408, allocations: 0 / 320.9 MB, free: 8.973 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007212/0.0348, allocations: 0.7558 MB / 321.7 MB, free: 8.184 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.0349, allocations: 75.98 kB / 321.7 MB, free: 8.109 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.03512, allocations: 47.88 kB / 321.8 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/0.03519, allocations: 52.5 kB / 321.8 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.03522, allocations: 27.97 kB / 321.9 MB, free: 7.984 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001181/0.03534, allocations: 176.4 kB / 322 MB, free: 7.809 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03534, allocations: 0 / 322 MB, free: 7.809 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004805/0.03582, allocations: 240 kB / 322.3 MB, free: 7.574 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,ac_dc.modulator.gates[1],ac_dc.modulator.gates[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.t0[1],ac_dc.modulator.t0[2],ac_dc.modulator.t0[3],system.initime) * Number of discrete states: 12 (ac_dc.modulator.t0[3],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.t0[2],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[1],ac_dc.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 63 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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): 1 system {(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.0001902/0.03601, allocations: 169.7 kB / 322.4 MB, free: 7.402 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.03701, allocations: 0.8833 MB / 323.3 MB, free: 6.473 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.218e-05/0.03704, allocations: 12.5 kB / 323.3 MB, free: 6.457 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.03735, allocations: 376.6 kB / 323.7 MB, free: 6.078 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006874/0.03804, allocations: 1.111 MB / 324.8 MB, free: 4.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00924/0.04728, allocations: 1.735 MB / 326.6 MB, free: 2.984 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.04745, allocations: 259.5 kB / 326.8 MB, free: 2.711 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002272/0.04767, allocations: 98.02 kB / 326.9 MB, free: 2.613 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/0.04798, allocations: 185.3 kB / 327.1 MB, free: 2.434 MB / 314.7 MB Notification: Performance of SimCode: time 6.32e-07/0.04798, allocations: 0 / 327.1 MB, free: 2.434 MB / 314.7 MB Notification: Performance of Templates: time 0.01262/0.06059, allocations: 10.78 MB / 337.9 MB, free: 7.824 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1150145139545202]