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.001427/0.001427, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001116/0.001116, allocations: 168.8 kB / 24.99 MB, free: 8.793 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.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.598 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.2596/0.2596, allocations: 29.42 MB / 291.2 MB, free: 2.391 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.873e-06/1.873e-06, allocations: 0 / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.937e-05, allocations: 10.25 kB / 369.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.008194/0.008223, allocations: 6.565 MB / 376.2 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.01035, allocations: 1.317 MB / 377.5 MB, free: 3.363 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003601/0.01071, allocations: 35.69 kB / 377.5 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.01103, allocations: 130.8 kB / 377.7 MB, free: 3.199 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008462/0.01188, allocations: 441.4 kB / 378.1 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.01231, allocations: 251.4 kB / 378.4 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.01331, allocations: 1.125 MB / 379.5 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.01364, allocations: 250.2 kB / 379.7 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006891/0.01433, allocations: 0.6699 MB / 380.4 MB, free: 488 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005989/0.01493, allocations: 0.5065 MB / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.01505, allocations: 64 kB / 381 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.01518, allocations: 64 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002637/0.01544, allocations: 359.1 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002603/0.0157, allocations: 283.3 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005878/0.01629, allocations: 0.6229 MB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.01629, allocations: 0 / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01629, allocations: 3.938 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.01631, allocations: 0 / 382.3 MB, free: 14.59 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.001506/0.01781, allocations: 1.196 MB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.01786, allocations: 15.98 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.01804, allocations: 136.4 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007522/0.01879, allocations: 0.5577 MB / 384.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.01892, allocations: 212.1 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-05/0.019, allocations: 68.33 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007189/0.01972, allocations: 0.6075 MB / 385.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.01973, allocations: 0 / 385.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.01977, allocations: 28 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.882e-05/0.01986, allocations: 37.28 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004109/0.02027, allocations: 259.5 kB / 385.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/0.02265, allocations: 2.716 MB / 388.1 MB, free: 8.492 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006238/0.02327, allocations: 399.6 kB / 388.5 MB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.02357, allocations: 156 kB / 388.6 MB, free: 7.918 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.02359, allocations: 8.328 kB / 388.6 MB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000291/0.02388, allocations: 240.9 kB / 388.9 MB, free: 7.648 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 1.643e-06/0.02389, allocations: 0 / 388.9 MB, free: 7.648 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001735/0.02562, allocations: 1.132 MB / 390 MB, free: 6.469 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.02568, allocations: 114.8 kB / 390.1 MB, free: 6.332 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.02601, allocations: 478.5 kB / 390.6 MB, free: 5.844 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.02605, allocations: 33.7 kB / 390.6 MB, free: 5.805 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.02624, allocations: 423.1 kB / 391 MB, free: 5.383 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/0.02633, allocations: 154.7 kB / 391.2 MB, free: 5.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.02645, allocations: 127.9 kB / 391.3 MB, free: 5.098 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.0266, allocations: 0.543 MB / 391.9 MB, free: 4.543 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.02677, allocations: 142.9 kB / 392 MB, free: 4.398 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.02703, allocations: 377.5 kB / 392.4 MB, free: 3.926 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/0.02743, allocations: 490.2 kB / 392.8 MB, free: 3.348 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.02743, allocations: 4 kB / 392.8 MB, free: 3.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006584/0.02809, allocations: 0.6404 MB / 393.5 MB, free: 2.672 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/0.02813, allocations: 49.69 kB / 393.5 MB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.02814, allocations: 4 kB / 393.5 MB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002095/0.02835, allocations: 63.27 kB / 393.6 MB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.02857, allocations: 108.1 kB / 393.7 MB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/0.03026, allocations: 3.802 MB / 397.5 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.03045, allocations: 31.94 kB / 397.5 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/0.0305, allocations: 39.97 kB / 397.6 MB, free: 14.32 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.0001683/0.03067, allocations: 216.2 kB / 397.8 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/0.03074, allocations: 67.73 kB / 397.9 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005115/0.03125, allocations: 381.4 kB / 398.2 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.03125, allocations: 4 kB / 398.2 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.03126, allocations: 4 kB / 398.2 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.03126, allocations: 0 / 398.2 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.03233, allocations: 1.108 MB / 399.3 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.03233, allocations: 0 / 399.3 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.03248, allocations: 55.91 kB / 399.4 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001771/0.03266, allocations: 83.3 kB / 399.5 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.03269, allocations: 15.92 kB / 399.5 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.03428, allocations: 3.794 MB / 403.3 MB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.03429, allocations: 4 kB / 403.3 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006991/0.03498, allocations: 0.6447 MB / 403.9 MB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.03511, allocations: 83.62 kB / 404 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.096e-05/0.03519, allocations: 31.92 kB / 404.1 MB, free: 7.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.03539, allocations: 23.97 kB / 404.1 MB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.059e-05/0.03548, allocations: 39.88 kB / 404.1 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.03551, allocations: 19.98 kB / 404.1 MB, free: 7.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002817/0.03579, allocations: 291 kB / 404.4 MB, free: 7.109 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03579, allocations: 3.938 kB / 404.4 MB, free: 7.105 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005125/0.03631, allocations: 148 kB / 404.6 MB, free: 6.961 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.0001437/0.03645, allocations: 130.4 kB / 404.7 MB, free: 6.828 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007957/0.03724, allocations: 0.7892 MB / 405.5 MB, free: 5.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.03725, allocations: 1.312 kB / 405.5 MB, free: 5.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.03762, allocations: 0.4954 MB / 406 MB, free: 5.445 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.03809, allocations: 141.1 kB / 406.1 MB, free: 5.312 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.04007, allocations: 1.246 MB / 407.4 MB, free: 4.016 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.0402, allocations: 193.9 kB / 407.6 MB, free: 3.805 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.04038, allocations: 88.62 kB / 407.6 MB, free: 3.719 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.04046, allocations: 36.5 kB / 407.7 MB, free: 3.684 MB / 378.7 MB Notification: Performance of SimCode: time 1.573e-06/0.04046, allocations: 0 / 407.7 MB, free: 3.684 MB / 378.7 MB Notification: Performance of Templates: time 0.01057/0.05103, allocations: 6.835 MB / 414.5 MB, free: 12.96 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.3513000530656427]