Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.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.001481/0.001481, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001502/0.001502, allocations: 167.3 kB / 24.91 MB, free: 9.109 MB / 18.57 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 0.9886/0.9886, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.2475/0.2475, allocations: 29.42 MB / 291.2 MB, free: 2.496 MB / 266.7 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.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.237e-05, allocations: 2.312 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.005777/0.0058, allocations: 5.604 MB / 322.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002747/0.008547, allocations: 1.676 MB / 324.2 MB, free: 8.668 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004395/0.008987, allocations: 43.62 kB / 324.2 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004654/0.009452, allocations: 150.8 kB / 324.3 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007766/0.01023, allocations: 449.4 kB / 324.8 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007155/0.01094, allocations: 359.3 kB / 325.1 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.0124, allocations: 1.519 MB / 326.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003311/0.01273, allocations: 260 kB / 326.9 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.01406, allocations: 0.8654 MB / 327.8 MB, free: 5.035 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008521/0.01492, allocations: 0.5611 MB / 328.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.01506, allocations: 84 kB / 328.4 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.0152, allocations: 92 kB / 328.5 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.0155, allocations: 423 kB / 328.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002994/0.0158, allocations: 323.3 kB / 329.2 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007772/0.01658, allocations: 0.7554 MB / 330 MB, free: 2.812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.01659, allocations: 0 / 330 MB, free: 2.812 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.01659, allocations: 0 / 330 MB, free: 2.812 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.01661, allocations: 0 / 330 MB, free: 2.812 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.001544/0.01815, allocations: 1.142 MB / 331.1 MB, free: 1.629 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.01819, allocations: 15.98 kB / 331.1 MB, free: 1.613 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.01835, allocations: 136.8 kB / 331.3 MB, free: 1.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006358/0.01899, allocations: 0.5224 MB / 331.8 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003412/0.01933, allocations: 0.7331 MB / 332.5 MB, free: 48 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.01944, allocations: 64.42 kB / 332.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007392/0.02018, allocations: 0.641 MB / 333.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.02019, allocations: 0 / 333.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.692e-05/0.02024, allocations: 28 kB / 333.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.058e-05/0.02031, allocations: 29.3 kB / 333.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006907/0.021, allocations: 297 kB / 333.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.02333, allocations: 2.142 MB / 335.7 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005531/0.02388, allocations: 401 kB / 336.1 MB, free: 12.33 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003437/0.02422, allocations: 247.1 kB / 336.4 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-05/0.02426, allocations: 8.5 kB / 336.4 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003455/0.02461, allocations: 323.5 kB / 336.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of pre-optimization done (n=59): time 2.154e-06/0.02461, allocations: 0 / 336.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=60): time 0.008185/0.0328, allocations: 3.83 MB / 340.5 MB, free: 7.871 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.03285, allocations: 89.59 kB / 340.6 MB, free: 7.766 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004369/0.03329, allocations: 375.1 kB / 341 MB, free: 7.383 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.791e-05/0.03335, allocations: 41.7 kB / 341 MB, free: 7.336 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.03349, allocations: 285.7 kB / 341.3 MB, free: 7.051 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.03363, allocations: 206.2 kB / 341.5 MB, free: 6.848 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.03378, allocations: 122.2 kB / 341.6 MB, free: 6.723 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.03389, allocations: 374.6 kB / 342 MB, free: 6.348 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.0341, allocations: 165.8 kB / 342.1 MB, free: 6.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.03432, allocations: 276 kB / 342.4 MB, free: 5.863 MB / 314.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008465/0.03517, allocations: 0.7544 MB / 343.2 MB, free: 5.047 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.03517, allocations: 4 kB / 343.2 MB, free: 5.043 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002002/0.03717, allocations: 1.187 MB / 344.4 MB, free: 3.832 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.055e-05/0.03722, allocations: 45.69 kB / 344.4 MB, free: 3.781 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.03723, allocations: 4 kB / 344.4 MB, free: 3.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002103/0.03934, allocations: 1.394 MB / 345.8 MB, free: 2.379 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.0397, allocations: 115.8 kB / 345.9 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004289/0.04399, allocations: 2.749 MB / 348.7 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/0.04448, allocations: 55.89 kB / 348.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.364e-05/0.04454, allocations: 43.97 kB / 348.8 MB, free: 15.34 MB / 330.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: ind.i[1] = ind.i_start[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,$PRE.inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],$PRE.inverter.modulator.t0,$PRE.inverter.modulator.sigdel_t,inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[4],inverter.modulator.gates[3],inverter.modulator.gates[2],inverter.modulator.gates[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * Array equations: 0 * 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 {(5,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002708/0.04481, allocations: 158.5 kB / 348.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.09e-05/0.04491, allocations: 55.88 kB / 349 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.04684, allocations: 1.069 MB / 350 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.04685, allocations: 8 kB / 350 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.04685, allocations: 0 / 350 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.04686, allocations: 3.984 kB / 350 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00278/0.04964, allocations: 1.736 MB / 351.8 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.04965, allocations: 4 kB / 351.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.04987, allocations: 79.83 kB / 351.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00201/0.05188, allocations: 1.401 MB / 353.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-05/0.05195, allocations: 15.98 kB / 353.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003919/0.05587, allocations: 2.737 MB / 356 MB, free: 7.902 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.05587, allocations: 0 / 356 MB, free: 7.902 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/0.05812, allocations: 1.361 MB / 357.4 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.05834, allocations: 107.6 kB / 357.5 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.258e-05/0.05842, allocations: 31.98 kB / 357.5 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.05867, allocations: 51.95 kB / 357.6 MB, free: 6.312 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.05886, allocations: 84.22 kB / 357.6 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.05889, allocations: 20.05 kB / 357.7 MB, free: 6.211 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001348/0.05903, allocations: 148.7 kB / 357.8 MB, free: 6.066 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05903, allocations: 0 / 357.8 MB, free: 6.066 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005938/0.05962, allocations: 228 kB / 358 MB, free: 5.844 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i[2]) * Number of discrete variables: 8 ($whenCondition1,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0,system.initime) * 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 (49): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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 {(5,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001587/0.05978, allocations: 124 kB / 358.2 MB, free: 5.715 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.06104, allocations: 0.8536 MB / 359 MB, free: 4.824 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/0.06105, allocations: 4 kB / 359 MB, free: 4.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008757/0.06192, allocations: 0.5734 MB / 359.6 MB, free: 4.234 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.06246, allocations: 176.5 kB / 359.8 MB, free: 4.062 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.06449, allocations: 1.34 MB / 361.1 MB, free: 2.676 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.06466, allocations: 210.9 kB / 361.3 MB, free: 2.449 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001942/0.06485, allocations: 64.91 kB / 361.4 MB, free: 2.387 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.0651, allocations: 165.3 kB / 361.5 MB, free: 2.227 MB / 330.7 MB Notification: Performance of SimCode: time 2.254e-06/0.0651, allocations: 0 / 361.5 MB, free: 2.227 MB / 330.7 MB Notification: Performance of Templates: time 0.01911/0.0842, allocations: 16.69 MB / 378.2 MB, free: 1.707 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1677516936324537]