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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 250.8 MB, free: 13.36 MB / 206.1 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.1798/0.1798, allocations: 38.5 MB / 344.4 MB, free: 2.52 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001975/0.001975, allocations: 71.88 kB / 482.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3363, allocations: 61.23 MB / 0.5306 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.007575/0.3439, allocations: 6.66 MB / 0.5371 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002792/0.3467, allocations: 1.331 MB / 0.5384 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004259/0.3471, allocations: 32.31 kB / 0.5384 GB, free: 15.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004173/0.3475, allocations: 130 kB / 0.5385 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.3487, allocations: 424.2 kB / 0.5389 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006152/0.3493, allocations: 230.3 kB / 0.5391 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.3506, allocations: 1.114 MB / 0.5402 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004679/0.3511, allocations: 255.9 kB / 0.5405 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009515/0.352, allocations: 0.5083 MB / 0.541 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009219/0.353, allocations: 0.5574 MB / 0.5415 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.3531, allocations: 73.25 kB / 0.5416 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.3533, allocations: 64.72 kB / 0.5416 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004721/0.3538, allocations: 346.9 kB / 0.542 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005289/0.3543, allocations: 400.3 kB / 0.5424 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.3557, allocations: 0.9177 MB / 0.5433 GB, free: 12.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.3557, allocations: 4 kB / 0.5433 GB, free: 12.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3557, allocations: 0 / 0.5433 GB, free: 12.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.3557, allocations: 5.062 kB / 0.5433 GB, free: 12.52 MB / 398.1 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.002562/0.3583, allocations: 1.164 MB / 0.5444 GB, free: 11.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.3583, allocations: 13.58 kB / 0.5444 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.3585, allocations: 91.83 kB / 0.5445 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.3596, allocations: 0.6144 MB / 0.5451 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.3598, allocations: 120.3 kB / 0.5452 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.3599, allocations: 62.94 kB / 0.5453 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.3616, allocations: 0.8666 MB / 0.5461 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.3616, allocations: 1.094 kB / 0.5461 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.473e-05/0.3617, allocations: 25.69 kB / 0.5461 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001172/0.3618, allocations: 38.75 kB / 0.5462 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.3631, allocations: 0.6225 MB / 0.5468 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004807/0.3679, allocations: 2.755 MB / 0.5495 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.3698, allocations: 0.8668 MB / 0.5503 GB, free: 7.184 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007312/0.3705, allocations: 300.4 kB / 0.5506 GB, free: 7.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.3705, allocations: 4.641 kB / 0.5506 GB, free: 7.031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007669/0.3713, allocations: 354.3 kB / 0.551 GB, free: 6.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=41): time 2.494e-06/0.3713, allocations: 0 / 0.551 GB, free: 6.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.004759/0.3761, allocations: 1.987 MB / 0.5529 GB, free: 5.246 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.673e-05/0.3762, allocations: 114.8 kB / 0.553 GB, free: 5.109 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006736/0.3768, allocations: 0.5066 MB / 0.5535 GB, free: 4.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.3769, allocations: 41.7 kB / 0.5535 GB, free: 4.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.3772, allocations: 360.6 kB / 0.5539 GB, free: 4.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.3774, allocations: 154.7 kB / 0.554 GB, free: 4.035 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.3776, allocations: 130.1 kB / 0.5542 GB, free: 3.902 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3778, allocations: 366.8 kB / 0.5545 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/0.3781, allocations: 221.1 kB / 0.5547 GB, free: 3.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/0.3786, allocations: 402 kB / 0.5551 GB, free: 2.852 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008363/0.3794, allocations: 0.6172 MB / 0.5557 GB, free: 2.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.3794, allocations: 4 kB / 0.5557 GB, free: 2.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001385/0.3808, allocations: 0.8945 MB / 0.5566 GB, free: 1.219 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.97e-05/0.3809, allocations: 57.81 kB / 0.5566 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.3809, allocations: 4 kB / 0.5566 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003247/0.3812, allocations: 85.59 kB / 0.5567 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.3816, allocations: 107.8 kB / 0.5568 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00296/0.3846, allocations: 3.27 MB / 0.56 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.385, allocations: 27.98 kB / 0.56 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.609e-05/0.3851, allocations: 43.97 kB / 0.5601 GB, free: 13.34 MB / 414.1 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.0004412/0.3855, allocations: 265.8 kB / 0.5603 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.259e-05/0.3856, allocations: 67.61 kB / 0.5604 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.3872, allocations: 0.7041 MB / 0.5611 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.3872, allocations: 4 kB / 0.5611 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3872, allocations: 0 / 0.5611 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.3872, allocations: 7.984 kB / 0.5611 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/0.3898, allocations: 1.532 MB / 0.5626 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3898, allocations: 0 / 0.5626 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/0.3901, allocations: 67.89 kB / 0.5627 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002946/0.3904, allocations: 89.62 kB / 0.5627 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.3905, allocations: 16.05 kB / 0.5628 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002761/0.3932, allocations: 3.263 MB / 0.566 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3932, allocations: 0 / 0.566 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.3953, allocations: 1.065 MB / 0.567 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/0.3956, allocations: 176.7 kB / 0.5672 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.3957, allocations: 23.98 kB / 0.5672 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.3961, allocations: 43.94 kB / 0.5672 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.3962, allocations: 39.83 kB / 0.5673 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.3963, allocations: 15.98 kB / 0.5673 GB, free: 5.488 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000481/0.3968, allocations: 358.8 kB / 0.5676 GB, free: 5.141 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3968, allocations: 0 / 0.5676 GB, free: 5.141 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007378/0.3975, allocations: 144 kB / 0.5678 GB, free: 5 MB / 414.1 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.0001877/0.3977, allocations: 135.1 kB / 0.5679 GB, free: 4.859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.3993, allocations: 0.8587 MB / 0.5687 GB, free: 3.961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3993, allocations: 0 / 0.5687 GB, free: 3.961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009135/0.4002, allocations: 482 kB / 0.5692 GB, free: 3.465 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008529/0.4011, allocations: 163.2 kB / 0.5693 GB, free: 3.316 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.4039, allocations: 1.515 MB / 0.5708 GB, free: 1.758 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006974/0.4046, allocations: 0.9721 MB / 0.5718 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003246/0.4049, allocations: 108.9 kB / 0.5719 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.4051, allocations: 39.44 kB / 0.5719 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4051, allocations: 0 / 0.5719 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of Templates: time 0.01677/0.4218, allocations: 7.784 MB / 0.5795 GB, free: 8.887 MB / 430.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.157523735426366]