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.001957/0.001957, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002031/0.002031, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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.551/1.551, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3105/0.3105, allocations: 29.41 MB / 290.5 MB, free: 2.426 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.493e-06/1.493e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.163e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.00977/0.009801, allocations: 6.518 MB / 375.4 MB, free: 4.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003487/0.01329, allocations: 1.301 MB / 376.7 MB, free: 3.445 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004425/0.01373, allocations: 35.69 kB / 376.7 MB, free: 3.41 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004495/0.01418, allocations: 134.8 kB / 376.9 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.01544, allocations: 441.5 kB / 377.3 MB, free: 2.844 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.01608, allocations: 251.3 kB / 377.5 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001462/0.01754, allocations: 1.129 MB / 378.7 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004354/0.01798, allocations: 254.2 kB / 378.9 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.01906, allocations: 0.666 MB / 379.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009363/0.02, allocations: 0.5104 MB / 380.1 MB, free: 40 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.02015, allocations: 64.05 kB / 380.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.02031, allocations: 64 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004367/0.02075, allocations: 363 kB / 380.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004112/0.02116, allocations: 279.4 kB / 380.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.0224, allocations: 0.9267 MB / 381.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.02241, allocations: 4 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.02241, allocations: 0 / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.02242, allocations: 0 / 381.8 MB, free: 14.35 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.002576/0.02499, allocations: 1.238 MB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.02504, allocations: 19.97 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002673/0.02531, allocations: 136.4 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.02652, allocations: 0.5577 MB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/0.02674, allocations: 216.1 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.02687, allocations: 64.38 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.02827, allocations: 0.6966 MB / 384.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.02829, allocations: 4 kB / 384.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-05/0.02837, allocations: 27.98 kB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/0.02849, allocations: 41.22 kB / 384.8 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008557/0.02935, allocations: 340.9 kB / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004459/0.03381, allocations: 2.904 MB / 388 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.03512, allocations: 422.8 kB / 388.4 MB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005685/0.03569, allocations: 196 kB / 388.6 MB, free: 7.219 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.03573, allocations: 8.312 kB / 388.6 MB, free: 7.211 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006097/0.03634, allocations: 284.9 kB / 388.9 MB, free: 6.906 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 1.934e-06/0.03634, allocations: 0 / 388.9 MB, free: 6.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.003775/0.04011, allocations: 1.288 MB / 390.2 MB, free: 5.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.04022, allocations: 122.7 kB / 390.3 MB, free: 5.426 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007132/0.04093, allocations: 0.5493 MB / 390.9 MB, free: 4.855 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.262e-05/0.04098, allocations: 37.7 kB / 390.9 MB, free: 4.812 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004173/0.0414, allocations: 447.2 kB / 391.3 MB, free: 4.367 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.04157, allocations: 158.8 kB / 391.5 MB, free: 4.211 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.04181, allocations: 143.9 kB / 391.6 MB, free: 4.062 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003696/0.04218, allocations: 0.5742 MB / 392.2 MB, free: 3.477 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.04252, allocations: 170.9 kB / 392.4 MB, free: 3.305 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005524/0.04307, allocations: 429.3 kB / 392.8 MB, free: 2.781 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008336/0.0439, allocations: 0.545 MB / 393.3 MB, free: 2.133 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.04391, allocations: 4 kB / 393.3 MB, free: 2.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001335/0.04525, allocations: 0.6831 MB / 394 MB, free: 1.418 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.313e-05/0.04532, allocations: 53.69 kB / 394.1 MB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.04533, allocations: 4.531 kB / 394.1 MB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000331/0.04566, allocations: 71.27 kB / 394.1 MB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/0.04609, allocations: 107.8 kB / 394.3 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003736/0.04983, allocations: 3.853 MB / 398.1 MB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.05026, allocations: 31.92 kB / 398.1 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.64e-05/0.05035, allocations: 44.11 kB / 398.2 MB, free: 13 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.0003902/0.05074, allocations: 236.2 kB / 398.4 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.05086, allocations: 67.75 kB / 398.5 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.05203, allocations: 457.4 kB / 398.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.05203, allocations: 4 kB / 398.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.05204, allocations: 0 / 398.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/0.05206, allocations: 4 kB / 398.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.05446, allocations: 1.268 MB / 400.2 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.05446, allocations: 4 kB / 400.2 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.05475, allocations: 59.91 kB / 400.3 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003229/0.05508, allocations: 83.3 kB / 400.3 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.613e-05/0.05512, allocations: 15.92 kB / 400.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003546/0.05867, allocations: 3.841 MB / 404.2 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.05867, allocations: 4 kB / 404.2 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.06031, allocations: 0.754 MB / 405 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/0.06059, allocations: 95.55 kB / 405 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.0607, allocations: 31.98 kB / 405.1 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.06101, allocations: 23.97 kB / 405.1 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.06111, allocations: 35.88 kB / 405.1 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.606e-05/0.06116, allocations: 23.92 kB / 405.2 MB, free: 5.637 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004318/0.06159, allocations: 339 kB / 405.5 MB, free: 5.309 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06159, allocations: 4 kB / 405.5 MB, free: 5.305 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007309/0.06232, allocations: 144 kB / 405.6 MB, free: 5.164 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.0002008/0.06252, allocations: 129.6 kB / 405.8 MB, free: 5.035 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.06407, allocations: 0.8638 MB / 406.6 MB, free: 4.117 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.06408, allocations: 3.938 kB / 406.6 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009146/0.06499, allocations: 0.5315 MB / 407.2 MB, free: 3.543 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008059/0.0658, allocations: 136.3 kB / 407.3 MB, free: 3.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.06846, allocations: 1.274 MB / 408.6 MB, free: 2.086 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.06896, allocations: 354.1 kB / 408.9 MB, free: 1.715 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002956/0.06925, allocations: 88.64 kB / 409 MB, free: 1.629 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.06938, allocations: 48.48 kB / 409.1 MB, free: 1.582 MB / 378.7 MB Notification: Performance of SimCode: time 1.342e-06/0.06938, allocations: 0 / 409.1 MB, free: 1.582 MB / 378.7 MB Notification: Performance of Templates: time 0.01562/0.085, allocations: 6.811 MB / 415.9 MB, free: 10.89 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: 4.976896948996]