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.001594/0.001594, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001603/0.001603, allocations: 174.3 kB / 24.91 MB, free: 8.766 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.012/1.012, allocations: 177.1 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.2876/0.2876, 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.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.343e-06/1.343e-06, allocations: 3.938 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.544e-05, allocations: 2.312 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.007387/0.007402, allocations: 6.059 MB / 322.9 MB, free: 9.855 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004243/0.01165, allocations: 2.049 MB / 325 MB, free: 7.801 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005419/0.01219, allocations: 35.69 kB / 325 MB, free: 7.766 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007207/0.01291, allocations: 230.4 kB / 325.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.01426, allocations: 0.5517 MB / 325.8 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.01533, allocations: 430.8 kB / 326.2 MB, free: 6.562 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00166/0.01699, allocations: 1.406 MB / 327.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008054/0.0178, allocations: 0.6155 MB / 328.2 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.01899, allocations: 0.9003 MB / 329.1 MB, free: 3.617 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008864/0.01988, allocations: 0.6039 MB / 329.7 MB, free: 3.012 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.02003, allocations: 99.94 kB / 329.8 MB, free: 2.914 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008817/0.02091, allocations: 0.5226 MB / 330.4 MB, free: 2.391 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004673/0.02138, allocations: 0.53 MB / 330.9 MB, free: 1.859 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004553/0.02184, allocations: 403.1 kB / 331.3 MB, free: 1.465 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.0232, allocations: 1.133 MB / 332.4 MB, free: 332 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.02321, allocations: 0 / 332.4 MB, free: 332 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.02321, allocations: 0 / 332.4 MB, free: 332 kB / 298.7 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.02322, allocations: 0 / 332.4 MB, free: 332 kB / 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.002165/0.02539, allocations: 1.376 MB / 333.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.02543, allocations: 11.98 kB / 333.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003514/0.02894, allocations: 240.7 kB / 334 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.03012, allocations: 0.5806 MB / 334.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000293/0.03042, allocations: 329.9 kB / 335 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.03061, allocations: 116.6 kB / 335.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.03163, allocations: 0.8867 MB / 336 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/0.03166, allocations: 0 / 336 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.634e-05/0.03173, allocations: 40 kB / 336 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001/0.03183, allocations: 69.95 kB / 336.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005197/0.03235, allocations: 357.1 kB / 336.4 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003348/0.0357, allocations: 3.568 MB / 340 MB, free: 8.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008606/0.03656, allocations: 440.1 kB / 340.4 MB, free: 7.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.03681, allocations: 179.6 kB / 340.6 MB, free: 7.797 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.066e-05/0.03685, allocations: 20.64 kB / 340.6 MB, free: 7.777 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003957/0.03725, allocations: 378.8 kB / 341 MB, free: 7.383 MB / 314.7 MB Notification: Performance of pre-optimization done (n=80): time 2.424e-06/0.03725, allocations: 0 / 341 MB, free: 7.383 MB / 314.7 MB Notification: Performance of matching and sorting (n=81): time 0.001897/0.03915, allocations: 1.11 MB / 342.1 MB, free: 6.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.03921, allocations: 127.5 kB / 342.2 MB, free: 6.082 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.03951, allocations: 458.8 kB / 342.7 MB, free: 5.621 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-05/0.03957, allocations: 57.69 kB / 342.7 MB, free: 5.559 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.03977, allocations: 413.2 kB / 343.1 MB, free: 5.148 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.03994, allocations: 285.6 kB / 343.4 MB, free: 4.867 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.04013, allocations: 194.4 kB / 343.6 MB, free: 4.672 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.04024, allocations: 386.6 kB / 344 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.04048, allocations: 194.8 kB / 344.2 MB, free: 4.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/0.04078, allocations: 461.8 kB / 344.6 MB, free: 3.523 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005899/0.04137, allocations: 0.6659 MB / 345.3 MB, free: 2.738 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.04138, allocations: 11.94 kB / 345.3 MB, free: 2.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.0009889/0.04237, allocations: 0.7858 MB / 346.1 MB, free: 1.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.396e-05/0.04243, allocations: 65.83 kB / 346.1 MB, free: 1.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000578/0.04301, allocations: 0.5176 MB / 346.6 MB, free: 1.305 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/0.04328, allocations: 103.3 kB / 346.7 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/0.04374, allocations: 191.7 kB / 346.9 MB, free: 1.008 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.04571, allocations: 2.759 MB / 349.7 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.04603, allocations: 39.98 kB / 349.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.028e-05/0.04612, allocations: 67.94 kB / 349.8 MB, free: 13.95 MB / 330.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.0002787/0.0464, allocations: 208.5 kB / 350 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.04653, allocations: 67.94 kB / 350.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006189/0.04715, allocations: 478.3 kB / 350.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.04717, allocations: 19.94 kB / 350.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.04717, allocations: 0 / 350.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.04718, allocations: 7.984 kB / 350.6 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.04852, allocations: 1.143 MB / 351.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.04852, allocations: 0 / 351.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/0.04891, allocations: 134.5 kB / 351.8 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.556e-05/0.04898, allocations: 28.84 kB / 351.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-05/0.04902, allocations: 24.08 kB / 351.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006697/0.04969, allocations: 1.468 MB / 353.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.04969, allocations: 0 / 353.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.05085, allocations: 0.7598 MB / 354.1 MB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.05102, allocations: 123.7 kB / 354.2 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.05113, allocations: 71.95 kB / 354.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.05135, allocations: 39.95 kB / 354.3 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/0.05143, allocations: 56.5 kB / 354.4 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/0.05147, allocations: 23.97 kB / 354.4 MB, free: 9.125 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000133/0.0516, allocations: 184.4 kB / 354.6 MB, free: 8.941 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0516, allocations: 0 / 354.6 MB, free: 8.941 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006014/0.05221, allocations: 243.9 kB / 354.8 MB, free: 8.703 MB / 330.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.0002191/0.05242, allocations: 157.2 kB / 355 MB, free: 8.539 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008947/0.05332, allocations: 0.8746 MB / 355.9 MB, free: 7.625 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/0.05333, allocations: 8.5 kB / 355.9 MB, free: 7.617 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.05364, allocations: 329.4 kB / 356.2 MB, free: 7.281 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.05411, allocations: 179.9 kB / 356.4 MB, free: 7.117 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.05649, allocations: 1.687 MB / 358.1 MB, free: 5.379 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.05668, allocations: 247.6 kB / 358.3 MB, free: 5.117 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002768/0.05696, allocations: 106 kB / 358.4 MB, free: 5.012 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/0.05734, allocations: 193.3 kB / 358.6 MB, free: 4.82 MB / 330.7 MB Notification: Performance of SimCode: time 2.094e-06/0.05734, allocations: 0 / 358.6 MB, free: 4.82 MB / 330.7 MB Notification: Performance of Templates: time 0.01485/0.07219, allocations: 10.87 MB / 369.5 MB, free: 10.11 MB / 346.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.451747906859964]