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.00188/0.00188, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 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.002422/0.002422, allocations: 213.2 kB / 24.48 MB, free: 3.844 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.501/1.501, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.1805/0.1805, allocations: 38.56 MB / 353.2 MB, free: 12.38 MB / 286.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.002099/0.002099, allocations: 63.91 kB / 493.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3325, allocations: 62.46 MB / 0.5432 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.01026/0.3427, allocations: 6.621 MB / 0.5496 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005147/0.3479, allocations: 1.952 MB / 0.5515 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008613/0.3488, allocations: 41.16 kB / 0.5516 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.3504, allocations: 489 kB / 0.552 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00201/0.3524, allocations: 0.567 MB / 0.5526 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.3537, allocations: 401.8 kB / 0.553 GB, free: 8.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002253/0.356, allocations: 1.417 MB / 0.5544 GB, free: 7.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.3571, allocations: 0.5859 MB / 0.5549 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.3587, allocations: 0.6575 MB / 0.5556 GB, free: 7.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00151/0.3602, allocations: 0.6949 MB / 0.5563 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000338/0.3606, allocations: 103.3 kB / 0.5564 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.3622, allocations: 0.5188 MB / 0.5569 GB, free: 6.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007643/0.3629, allocations: 0.5065 MB / 0.5574 GB, free: 5.621 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009794/0.3639, allocations: 477.9 kB / 0.5578 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00261/0.3665, allocations: 1.553 MB / 0.5593 GB, free: 3.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3665, allocations: 4 kB / 0.5593 GB, free: 3.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3665, allocations: 0 / 0.5593 GB, free: 3.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.471e-05/0.3666, allocations: 4 kB / 0.5593 GB, free: 3.586 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.00405/0.3706, allocations: 1.514 MB / 0.5608 GB, free: 2.012 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3707, allocations: 15.98 kB / 0.5608 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.3718, allocations: 200.1 kB / 0.561 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.3736, allocations: 0.6614 MB / 0.5617 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003042/0.3739, allocations: 329.9 kB / 0.562 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002976/0.3742, allocations: 111.9 kB / 0.5621 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003312/0.3775, allocations: 1.532 MB / 0.5636 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/0.3775, allocations: 7.891 kB / 0.5636 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.3776, allocations: 36 kB / 0.5636 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/0.3778, allocations: 69.97 kB / 0.5637 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/0.3804, allocations: 1.171 MB / 0.5648 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007371/0.3877, allocations: 4.31 MB / 0.569 GB, free: 9.293 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00298/0.3907, allocations: 0.9847 MB / 0.57 GB, free: 8.289 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.3921, allocations: 0.517 MB / 0.5705 GB, free: 7.766 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.217e-05/0.3921, allocations: 12.66 kB / 0.5705 GB, free: 7.754 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001574/0.3937, allocations: 0.7107 MB / 0.5712 GB, free: 7.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=80): time 3.437e-06/0.3937, allocations: 0 / 0.5712 GB, free: 7.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=81): time 0.007509/0.4012, allocations: 2.991 MB / 0.5741 GB, free: 3.996 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.942e-05/0.4013, allocations: 119.5 kB / 0.5743 GB, free: 3.855 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006629/0.402, allocations: 0.5181 MB / 0.5748 GB, free: 3.328 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.946e-05/0.4021, allocations: 53.69 kB / 0.5748 GB, free: 3.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004296/0.4025, allocations: 472.2 kB / 0.5753 GB, free: 2.801 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.4028, allocations: 281.7 kB / 0.5755 GB, free: 2.523 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000352/0.4031, allocations: 210.5 kB / 0.5757 GB, free: 2.312 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002268/0.4033, allocations: 382.7 kB / 0.5761 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008221/0.4042, allocations: 0.5193 MB / 0.5766 GB, free: 1.398 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.4052, allocations: 0.7943 MB / 0.5774 GB, free: 496 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.407, allocations: 1.254 MB / 0.5786 GB, free: 15.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.407, allocations: 0 / 0.5786 GB, free: 15.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002799/0.4098, allocations: 1.539 MB / 0.5801 GB, free: 13.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.279e-05/0.4099, allocations: 61.67 kB / 0.5802 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002087/0.412, allocations: 1.27 MB / 0.5814 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004387/0.4124, allocations: 121.6 kB / 0.5815 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008239/0.4133, allocations: 203.7 kB / 0.5817 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003183/0.4164, allocations: 3.096 MB / 0.5847 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000781/0.4172, allocations: 71.92 kB / 0.5848 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.4174, allocations: 75.94 kB / 0.5849 GB, free: 8.418 MB / 430.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.000636/0.418, allocations: 377.6 kB / 0.5852 GB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.4182, allocations: 75.53 kB / 0.5853 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003132/0.4213, allocations: 1.19 MB / 0.5865 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-05/0.4213, allocations: 23.92 kB / 0.5865 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.4213, allocations: 4 kB / 0.5865 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.4214, allocations: 3.984 kB / 0.5865 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006736/0.4281, allocations: 2.099 MB / 0.5886 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.4281, allocations: 3.938 kB / 0.5886 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.4293, allocations: 139.8 kB / 0.5887 GB, free: 4.438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001639/0.4295, allocations: 32.84 kB / 0.5887 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.4296, allocations: 27.97 kB / 0.5887 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.4315, allocations: 1.508 MB / 0.5902 GB, free: 2.766 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4315, allocations: 0 / 0.5902 GB, free: 2.766 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005694/0.4372, allocations: 1.841 MB / 0.592 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000533/0.4378, allocations: 167.4 kB / 0.5922 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.438, allocations: 79.94 kB / 0.5923 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007486/0.4387, allocations: 87.88 kB / 0.5923 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.4389, allocations: 56.55 kB / 0.5924 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-05/0.4389, allocations: 31.98 kB / 0.5924 GB, free: 488 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004671/0.4394, allocations: 334.8 kB / 0.5927 GB, free: 156 kB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4394, allocations: 0 / 0.5927 GB, free: 156 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.001089/0.4405, allocations: 236 kB / 0.593 GB, free: 15.92 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.0003544/0.4408, allocations: 186.9 kB / 0.5931 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003019/0.4439, allocations: 1.516 MB / 0.5946 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4439, allocations: 3.938 kB / 0.5946 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001462/0.4453, allocations: 0.6157 MB / 0.5952 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009071/0.4462, allocations: 152.5 kB / 0.5954 GB, free: 13.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00522/0.4515, allocations: 2.426 MB / 0.5977 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.4525, allocations: 0.5115 MB / 0.5982 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004621/0.453, allocations: 63.44 kB / 0.5983 GB, free: 10.31 MB / 446.1 MB Notification: Performance of SimCode: time 1.332e-06/0.453, allocations: 0 / 0.5983 GB, free: 10.31 MB / 446.1 MB Notification: Performance of Templates: time 0.0372/0.4902, allocations: 17.63 MB / 0.6155 GB, free: 8.699 MB / 462.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.84948687395081] Failed to read output from testmodel.py, exit status != 0: 0.5005459450185299 0.5170919620000001 0.14717562 Calling exit ...