Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.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.001775/0.001775, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002504/0.002504, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.596/1.596, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.187/0.187, allocations: 38.56 MB / 352.5 MB, free: 12.29 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.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") [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.002119/0.002119, allocations: 71.89 kB / 493 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3767, allocations: 62.46 MB / 0.5424 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.00926/0.3859, allocations: 6.219 MB / 0.5485 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005045/0.391, allocations: 2.34 MB / 0.5508 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005623/0.3915, allocations: 32.72 kB / 0.5508 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.3929, allocations: 419.9 kB / 0.5512 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.3944, allocations: 0.6056 MB / 0.5518 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.3957, allocations: 497.7 kB / 0.5523 GB, free: 8.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002401/0.3981, allocations: 1.969 MB / 0.5542 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009732/0.3991, allocations: 0.5571 MB / 0.5548 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002279/0.4014, allocations: 0.8146 MB / 0.5555 GB, free: 6.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.4032, allocations: 1 MB / 0.5565 GB, free: 5.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002838/0.4035, allocations: 160 kB / 0.5567 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.4048, allocations: 0.6514 MB / 0.5573 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006705/0.4054, allocations: 0.6548 MB / 0.558 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007596/0.4062, allocations: 0.576 MB / 0.5585 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.4087, allocations: 2.06 MB / 0.5605 GB, free: 1.621 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4087, allocations: 0 / 0.5605 GB, free: 1.621 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.46e-06/0.4087, allocations: 3.984 kB / 0.5605 GB, free: 1.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.433e-05/0.4087, allocations: 4 kB / 0.5605 GB, free: 1.613 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00487/0.4136, allocations: 1.851 MB / 0.5623 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4137, allocations: 19.92 kB / 0.5624 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008923/0.4145, allocations: 204.1 kB / 0.5626 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002447/0.417, allocations: 0.8995 MB / 0.5634 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001017/0.418, allocations: 1.117 MB / 0.5645 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000282/0.4183, allocations: 111.8 kB / 0.5646 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004237/0.4225, allocations: 2.019 MB / 0.5666 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/0.4226, allocations: 0 / 0.5666 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.4227, allocations: 32 kB / 0.5666 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002494/0.4229, allocations: 101.9 kB / 0.5667 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005122/0.4281, allocations: 2.233 MB / 0.5689 GB, free: 8.672 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/0.4389, allocations: 5.156 MB / 0.5739 GB, free: 3.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004747/0.4436, allocations: 1.609 MB / 0.5755 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002666/0.4463, allocations: 1.062 MB / 0.5766 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.672e-05/0.4464, allocations: 16.98 kB / 0.5766 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003128/0.4495, allocations: 1.387 MB / 0.5779 GB, free: 15.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=123): time 3.646e-06/0.4495, allocations: 0 / 0.5779 GB, free: 15.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.01429/0.4638, allocations: 5.565 MB / 0.5834 GB, free: 9.711 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.723e-05/0.4639, allocations: 106 kB / 0.5835 GB, free: 9.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005996/0.4645, allocations: 437.8 kB / 0.5839 GB, free: 9.156 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001559/0.4647, allocations: 61.69 kB / 0.5839 GB, free: 9.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/0.465, allocations: 377.4 kB / 0.5843 GB, free: 8.715 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004289/0.4655, allocations: 432.4 kB / 0.5847 GB, free: 8.289 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004409/0.4659, allocations: 222.9 kB / 0.5849 GB, free: 8.062 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.4661, allocations: 390.8 kB / 0.5853 GB, free: 7.672 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/0.4683, allocations: 1.074 MB / 0.5863 GB, free: 6.594 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002506/0.4708, allocations: 1.225 MB / 0.5875 GB, free: 5.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004368/0.4752, allocations: 2.032 MB / 0.5895 GB, free: 3.246 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/0.4752, allocations: 4 kB / 0.5895 GB, free: 3.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01175/0.4869, allocations: 3.921 MB / 0.5934 GB, free: 15.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.4871, allocations: 61.67 kB / 0.5934 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.4871, allocations: 4 kB / 0.5934 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006276/0.4934, allocations: 2.069 MB / 0.5954 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.4944, allocations: 191.7 kB / 0.5956 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02773/0.5222, allocations: 11.07 MB / 0.6064 GB, free: 1.777 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.5237, allocations: 159.8 kB / 0.6066 GB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/0.5239, allocations: 80 kB / 0.6067 GB, free: 1.543 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 28 (inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 101 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0007885/0.5247, allocations: 385.4 kB / 0.607 GB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/0.5249, allocations: 87.41 kB / 0.6071 GB, free: 1.074 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005996/0.5309, allocations: 2.345 MB / 0.6094 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-05/0.531, allocations: 39.91 kB / 0.6094 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.531, allocations: 0 / 0.6094 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.531, allocations: 3.984 kB / 0.6094 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008839/0.5398, allocations: 3.75 MB / 0.6131 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/0.5398, allocations: 0 / 0.6131 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01106/0.5509, allocations: 2.017 MB / 0.6151 GB, free: 8.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.519e-05/0.5509, allocations: 8 kB / 0.6151 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003316/0.5513, allocations: 43.94 kB / 0.6151 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/0.5513, allocations: 4 kB / 0.6151 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.5513, allocations: 8 kB / 0.6151 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009129/0.5604, allocations: 3.859 MB / 0.6189 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009815/0.5614, allocations: 259.3 kB / 0.6192 GB, free: 4.621 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/0.5616, allocations: 87.94 kB / 0.6192 GB, free: 4.535 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/0.5631, allocations: 183.8 kB / 0.6194 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004529/0.5636, allocations: 200.5 kB / 0.6196 GB, free: 4.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.5637, allocations: 43.97 kB / 0.6196 GB, free: 4.117 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005218/0.5642, allocations: 295.1 kB / 0.6199 GB, free: 3.828 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5642, allocations: 0 / 0.6199 GB, free: 3.828 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00133/0.5655, allocations: 363.9 kB / 0.6203 GB, free: 3.473 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],pqLoad.psi[1],pqLoad.psi[2],pqLoad.psi[3],pqLoad.Z[1],pqLoad.Z[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3]) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 96 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005154/0.5661, allocations: 212.6 kB / 0.6205 GB, free: 3.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007066/0.5731, allocations: 2.835 MB / 0.6232 GB, free: 392 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.5731, allocations: 256 / 0.6232 GB, free: 392 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006309/0.5794, allocations: 1.86 MB / 0.6251 GB, free: 14.52 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.5806, allocations: 162.7 kB / 0.6252 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008221/0.5888, allocations: 3.356 MB / 0.6285 GB, free: 10.96 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007772/0.5896, allocations: 0.5527 MB / 0.629 GB, free: 10.38 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00109/0.5907, allocations: 306.5 kB / 0.6293 GB, free: 10.07 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/0.591, allocations: 75.41 kB / 0.6294 GB, free: 9.996 MB / 478.1 MB Notification: Performance of SimCode: time 8.72e-07/0.591, allocations: 0 / 0.6294 GB, free: 9.996 MB / 478.1 MB Notification: Performance of Templates: time 0.03947/0.6305, allocations: 23.63 MB / 0.6525 GB, free: 2.477 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.577119663357735] Failed to read output from testmodel.py, exit status != 0: 0.639777135103941 0.654539142 0.24261716400000002 Calling exit ...