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.001355/0.001355, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 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.001812/0.001812, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 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.475/1.475, allocations: 177.2 MB / 204.9 MB, free: 8.91 MB / 190.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.1774/0.1774, allocations: 29.43 MB / 290.7 MB, free: 3.27 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.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 63.91 kB / 431.2 MB, free: 3.223 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.375, allocations: 62.45 MB / 493.6 MB, free: 37.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.006494/0.3815, allocations: 6.618 MB / 0.4885 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003248/0.3847, allocations: 1.964 MB / 0.4904 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004507/0.3852, allocations: 35.81 kB / 0.4905 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.3864, allocations: 486.8 kB / 0.4909 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.3878, allocations: 0.5724 MB / 0.4915 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009933/0.3888, allocations: 402.6 kB / 0.4919 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001319/0.3901, allocations: 1.416 MB / 0.4933 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007241/0.3908, allocations: 0.5821 MB / 0.4938 GB, free: 30.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009979/0.3918, allocations: 0.6651 MB / 0.4945 GB, free: 30.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008442/0.3927, allocations: 0.6923 MB / 0.4952 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.3928, allocations: 99.28 kB / 0.4953 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008281/0.3936, allocations: 0.5214 MB / 0.4958 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000441/0.3941, allocations: 0.5137 MB / 0.4963 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004862/0.3945, allocations: 473.1 kB / 0.4967 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.3961, allocations: 1.555 MB / 0.4982 GB, free: 28.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3961, allocations: 0 / 0.4982 GB, free: 28.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3961, allocations: 0 / 0.4982 GB, free: 28.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.572e-05/0.3961, allocations: 3 kB / 0.4982 GB, free: 28.77 MB / 446.1 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.002986/0.3991, allocations: 1.522 MB / 0.4997 GB, free: 27.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3992, allocations: 13.11 kB / 0.4997 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009401/0.4001, allocations: 205.1 kB / 0.4999 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.4013, allocations: 0.6617 MB / 0.5006 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.4014, allocations: 330.8 kB / 0.5009 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/0.4016, allocations: 109.2 kB / 0.501 GB, free: 27.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.4041, allocations: 1.532 MB / 0.5025 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.4041, allocations: 3.062 kB / 0.5025 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.871e-05/0.4042, allocations: 37.94 kB / 0.5025 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001588/0.4044, allocations: 65.52 kB / 0.5026 GB, free: 26.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/0.4063, allocations: 1.173 MB / 0.5037 GB, free: 25.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005316/0.4117, allocations: 4.329 MB / 0.508 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/0.4143, allocations: 0.9917 MB / 0.5089 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.4154, allocations: 0.5171 MB / 0.5094 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.489e-05/0.4154, allocations: 10.2 kB / 0.5095 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00127/0.4167, allocations: 0.7147 MB / 0.5102 GB, free: 22.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 2.594e-06/0.4167, allocations: 0 / 0.5102 GB, free: 22.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.007158/0.4239, allocations: 2.987 MB / 0.5131 GB, free: 21.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.4239, allocations: 123.8 kB / 0.5132 GB, free: 20.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006555/0.4246, allocations: 0.5141 MB / 0.5137 GB, free: 20.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.791e-05/0.4247, allocations: 56.7 kB / 0.5137 GB, free: 20.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.425, allocations: 473.6 kB / 0.5142 GB, free: 20.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.4252, allocations: 286.2 kB / 0.5145 GB, free: 20.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/0.4254, allocations: 203.1 kB / 0.5147 GB, free: 19.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.4255, allocations: 385.6 kB / 0.515 GB, free: 19.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006838/0.4262, allocations: 0.5247 MB / 0.5155 GB, free: 19.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008562/0.4271, allocations: 0.7884 MB / 0.5163 GB, free: 18.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/0.4286, allocations: 1.251 MB / 0.5175 GB, free: 18.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.4286, allocations: 1.375 kB / 0.5175 GB, free: 18.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002573/0.4312, allocations: 1.545 MB / 0.519 GB, free: 17.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.215e-05/0.4313, allocations: 62.81 kB / 0.5191 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001921/0.4332, allocations: 1.278 MB / 0.5204 GB, free: 16.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004406/0.4336, allocations: 115.2 kB / 0.5205 GB, free: 16.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007942/0.4344, allocations: 199.5 kB / 0.5207 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.4367, allocations: 3.104 MB / 0.5237 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008121/0.4375, allocations: 67.52 kB / 0.5238 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.4377, allocations: 80.42 kB / 0.5238 GB, free: 14.05 MB / 446.1 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.0006456/0.4383, allocations: 377.2 kB / 0.5242 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.4385, allocations: 72.69 kB / 0.5243 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002886/0.4414, allocations: 1.191 MB / 0.5254 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.602e-05/0.4414, allocations: 15.8 kB / 0.5254 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4414, allocations: 0.625 kB / 0.5254 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.4414, allocations: 5.016 kB / 0.5254 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004476/0.4459, allocations: 2.106 MB / 0.5275 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4459, allocations: 9.344 kB / 0.5275 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007398/0.4466, allocations: 139.6 kB / 0.5276 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.545e-05/0.4467, allocations: 40.02 kB / 0.5277 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.108e-05/0.4468, allocations: 28.67 kB / 0.5277 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009026/0.4477, allocations: 1.496 MB / 0.5292 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/0.4477, allocations: 6.219 kB / 0.5292 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004113/0.4518, allocations: 1.845 MB / 0.531 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004849/0.4523, allocations: 164.1 kB / 0.5311 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/0.4526, allocations: 79 kB / 0.5312 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008808/0.4534, allocations: 85.64 kB / 0.5313 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.4536, allocations: 55.98 kB / 0.5313 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-05/0.4537, allocations: 28.14 kB / 0.5314 GB, free: 10.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005179/0.4542, allocations: 341.7 kB / 0.5317 GB, free: 9.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4542, allocations: 0 / 0.5317 GB, free: 9.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00143/0.4556, allocations: 234.6 kB / 0.5319 GB, free: 9.906 MB / 446.1 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.0003488/0.456, allocations: 181.5 kB / 0.5321 GB, free: 9.781 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002948/0.4589, allocations: 1.521 MB / 0.5336 GB, free: 9.074 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4589, allocations: 0 / 0.5336 GB, free: 9.074 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.4604, allocations: 0.6233 MB / 0.5342 GB, free: 8.809 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009216/0.4613, allocations: 141.2 kB / 0.5343 GB, free: 8.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/0.4657, allocations: 2.335 MB / 0.5366 GB, free: 7.527 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007106/0.4664, allocations: 0.5141 MB / 0.5371 GB, free: 7.363 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006823/0.4671, allocations: 230 kB / 0.5373 GB, free: 7.332 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.4673, allocations: 61.69 kB / 0.5374 GB, free: 7.32 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4673, allocations: 4 kB / 0.5374 GB, free: 7.316 MB / 446.1 MB Notification: Performance of Templates: time 0.01955/0.4869, allocations: 10.1 MB / 0.5472 GB, free: 1.879 MB / 446.1 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=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.200625778990798] Failed to read output from testmodel.py, exit status != 0: 0.4958272590301931 0.5163543580000001 0.115258226 Calling exit ...