Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.001902/0.001902, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002452/0.002452, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.625/1.625, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2169/0.2169, allocations: 38.56 MB / 352.5 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 179] 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.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.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.002352/0.002352, allocations: 70.39 kB / 493 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3849, allocations: 62.46 MB / 0.5424 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.01156/0.3965, allocations: 5.742 MB / 0.548 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004379/0.4008, allocations: 1.5 MB / 0.5495 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007866/0.4016, allocations: 34.94 kB / 0.5495 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000829/0.4024, allocations: 136.8 kB / 0.5497 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.404, allocations: 373.8 kB / 0.55 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009865/0.405, allocations: 320.2 kB / 0.5503 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002395/0.4074, allocations: 1.338 MB / 0.5516 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004559/0.4079, allocations: 235.5 kB / 0.5519 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.4094, allocations: 0.5672 MB / 0.5524 GB, free: 8.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.4108, allocations: 0.5519 MB / 0.5529 GB, free: 8.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.411, allocations: 90.38 kB / 0.553 GB, free: 8.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002364/0.4112, allocations: 91.09 kB / 0.5531 GB, free: 8.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000462/0.4117, allocations: 364 kB / 0.5535 GB, free: 8.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005084/0.4122, allocations: 346.7 kB / 0.5538 GB, free: 8.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.4137, allocations: 1.067 MB / 0.5548 GB, free: 7.398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4137, allocations: 0.9062 kB / 0.5548 GB, free: 7.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4137, allocations: 0 / 0.5548 GB, free: 7.398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.4137, allocations: 0 / 0.5548 GB, free: 7.398 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002848/0.4165, allocations: 1.138 MB / 0.556 GB, free: 6.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.4166, allocations: 19.92 kB / 0.556 GB, free: 6.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.4168, allocations: 84.47 kB / 0.5561 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.4183, allocations: 0.5898 MB / 0.5566 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007361/0.4191, allocations: 0.7408 MB / 0.5574 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.4192, allocations: 59.94 kB / 0.5574 GB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/0.4215, allocations: 1.05 MB / 0.5584 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.4215, allocations: 3.938 kB / 0.5584 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.197e-05/0.4216, allocations: 20 kB / 0.5585 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.4216, allocations: 16 kB / 0.5585 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/0.4242, allocations: 1.085 MB / 0.5595 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005057/0.4293, allocations: 2.901 MB / 0.5624 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002242/0.4315, allocations: 0.7321 MB / 0.5631 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.433, allocations: 0.5025 MB / 0.5636 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.088e-05/0.433, allocations: 8.438 kB / 0.5636 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001562/0.4346, allocations: 0.6187 MB / 0.5642 GB, free: 13.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 3.136e-06/0.4346, allocations: 0 / 0.5642 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.003897/0.4385, allocations: 1.371 MB / 0.5655 GB, free: 12.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.4386, allocations: 144.5 kB / 0.5657 GB, free: 11.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004617/0.439, allocations: 357.5 kB / 0.566 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-05/0.4391, allocations: 45.69 kB / 0.566 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.4394, allocations: 296.8 kB / 0.5663 GB, free: 11.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.4396, allocations: 178.6 kB / 0.5665 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.4398, allocations: 122.3 kB / 0.5666 GB, free: 10.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.44, allocations: 354.8 kB / 0.567 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.4411, allocations: 482.7 kB / 0.5674 GB, free: 10.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.4422, allocations: 0.5893 MB / 0.568 GB, free: 9.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/0.4442, allocations: 0.8808 MB / 0.5689 GB, free: 8.578 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.4442, allocations: 4 kB / 0.5689 GB, free: 8.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002461/0.4467, allocations: 1.105 MB / 0.5699 GB, free: 7.445 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.476e-05/0.4468, allocations: 57.62 kB / 0.57 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.4468, allocations: 7.938 kB / 0.57 GB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.4468, allocations: 4 kB / 0.57 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005672/0.4525, allocations: 1.108 MB / 0.5711 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008132/0.4606, allocations: 4.437 MB / 0.5754 GB, free: 1.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008581/0.4615, allocations: 111.6 kB / 0.5755 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.264e-05/0.4616, allocations: 35.98 kB / 0.5756 GB, free: 1.48 MB / 414.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: 14 (inverter.modulator.t0,$PRE.inverter.modulator.t0,inverter.modulator.sigdel_t,$PRE.inverter.modulator.sigdel_t,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004664/0.462, allocations: 247.4 kB / 0.5758 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-05/0.4621, allocations: 47.72 kB / 0.5758 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002679/0.4648, allocations: 0.977 MB / 0.5768 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.4648, allocations: 11.94 kB / 0.5768 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.4648, allocations: 0 / 0.5768 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.4648, allocations: 7.984 kB / 0.5768 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004128/0.469, allocations: 1.929 MB / 0.5787 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.469, allocations: 0 / 0.5787 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006901/0.4759, allocations: 1.291 MB / 0.58 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.39e-05/0.4759, allocations: 4 kB / 0.58 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.532e-05/0.476, allocations: 19.98 kB / 0.58 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/0.476, allocations: 4 kB / 0.58 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.476, allocations: 4 kB / 0.58 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00437/0.4803, allocations: 1.701 MB / 0.5816 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004371/0.4808, allocations: 119.6 kB / 0.5818 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.4809, allocations: 31.98 kB / 0.5818 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007704/0.4817, allocations: 87.88 kB / 0.5819 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/0.4819, allocations: 95.83 kB / 0.582 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/0.4819, allocations: 19.94 kB / 0.582 GB, free: 10.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00032/0.4823, allocations: 247.1 kB / 0.5822 GB, free: 10.53 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4823, allocations: 0 / 0.5822 GB, free: 10.53 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007402/0.483, allocations: 187.6 kB / 0.5824 GB, free: 10.34 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0002406/0.4832, allocations: 131.2 kB / 0.5825 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007669/0.4909, allocations: 2.059 MB / 0.5845 GB, free: 8.129 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.4909, allocations: 0 / 0.5845 GB, free: 8.129 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003779/0.4947, allocations: 0.9413 MB / 0.5855 GB, free: 7.188 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009803/0.4957, allocations: 122.9 kB / 0.5856 GB, free: 7.074 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/0.4999, allocations: 1.605 MB / 0.5871 GB, free: 5.422 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.5003, allocations: 333.1 kB / 0.5875 GB, free: 5.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005596/0.5008, allocations: 148.5 kB / 0.5876 GB, free: 4.922 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.501, allocations: 43.42 kB / 0.5876 GB, free: 4.879 MB / 430.1 MB Notification: Performance of SimCode: time 1.262e-06/0.501, allocations: 4 kB / 0.5876 GB, free: 4.875 MB / 430.1 MB Notification: Performance of Templates: time 0.01763/0.5187, allocations: 9.051 MB / 0.5965 GB, free: 11.91 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7854903265833855] Failed to read output from testmodel.py, exit status != 0: 0.5281945653259754 0.5428450029999999 0.12575745600000002 Calling exit ...