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.001057/0.001057, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001199/0.001199, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9671/0.9671, allocations: 177.1 MB / 205 MB, free: 5.633 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.2245/0.2245, allocations: 29.42 MB / 290.9 MB, free: 2.438 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.323e-06/1.323e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.79e-05, allocations: 8.703 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.01262/0.01264, allocations: 5.58 MB / 375.2 MB, free: 5.375 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005688/0.01833, allocations: 1.64 MB / 376.9 MB, free: 3.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003672/0.0187, allocations: 39.69 kB / 376.9 MB, free: 3.691 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005286/0.01922, allocations: 150.8 kB / 377 MB, free: 3.543 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000887/0.02011, allocations: 457.3 kB / 377.5 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007881/0.0209, allocations: 351.4 kB / 377.8 MB, free: 2.75 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.02241, allocations: 1.519 MB / 379.4 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.02272, allocations: 254.1 kB / 379.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008266/0.02355, allocations: 0.8731 MB / 380.5 MB, free: 108 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005783/0.02413, allocations: 0.5728 MB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.02423, allocations: 88 kB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.02434, allocations: 84 kB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002538/0.02459, allocations: 427 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000239/0.02483, allocations: 327.3 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008832/0.02572, allocations: 0.7554 MB / 382.7 MB, free: 13.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.02572, allocations: 4 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.02572, allocations: 4 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.02573, allocations: 0 / 382.7 MB, free: 13.86 MB / 362.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.001459/0.02719, allocations: 1.314 MB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.02723, allocations: 11.98 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.02741, allocations: 160.4 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006005/0.02801, allocations: 0.5955 MB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003278/0.02834, allocations: 0.7292 MB / 385.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.28e-05/0.02842, allocations: 68.33 kB / 385.6 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008384/0.02926, allocations: 0.717 MB / 386.3 MB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.02927, allocations: 11.92 kB / 386.3 MB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.692e-05/0.02932, allocations: 20 kB / 386.3 MB, free: 9.957 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.281e-05/0.02939, allocations: 45.28 kB / 386.4 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006136/0.03, allocations: 419.4 kB / 386.8 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/0.03285, allocations: 3.027 MB / 389.8 MB, free: 6.375 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008886/0.03374, allocations: 473.1 kB / 390.3 MB, free: 5.891 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006142/0.03435, allocations: 312.8 kB / 390.6 MB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/0.03439, allocations: 12.44 kB / 390.6 MB, free: 5.562 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005692/0.03496, allocations: 372 kB / 391 MB, free: 5.176 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 2.334e-06/0.03497, allocations: 0 / 391 MB, free: 5.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=61): time 0.005804/0.04077, allocations: 3.107 MB / 394.1 MB, free: 2.031 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.04081, allocations: 89.55 kB / 394.2 MB, free: 1.926 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.0411, allocations: 442.7 kB / 394.6 MB, free: 1.473 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.04114, allocations: 37.7 kB / 394.6 MB, free: 1.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.04131, allocations: 387.4 kB / 395 MB, free: 1.047 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.04143, allocations: 214.2 kB / 395.2 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.04158, allocations: 131.9 kB / 395.3 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.04173, allocations: 0.5508 MB / 395.9 MB, free: 140 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.04201, allocations: 231.2 kB / 396.1 MB, free: 15.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005173/0.04253, allocations: 390.5 kB / 396.5 MB, free: 15.46 MB / 378.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.001072/0.0436, allocations: 0.9956 MB / 397.5 MB, free: 14.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.0436, allocations: 3.938 kB / 397.5 MB, free: 14.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002204/0.04581, allocations: 1.444 MB / 398.9 MB, free: 12.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.04584, allocations: 49.69 kB / 399 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.04585, allocations: 4 kB / 399 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/0.04782, allocations: 1.432 MB / 400.4 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.04805, allocations: 115.8 kB / 400.5 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004017/0.05207, allocations: 3.486 MB / 404 MB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.05233, allocations: 64.02 kB / 404.1 MB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.082e-05/0.05238, allocations: 43.97 kB / 404.1 MB, free: 7.605 MB / 378.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: 14 * 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 (63): * Single equations (assignments): 61 * 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.0001743/0.05255, allocations: 218.3 kB / 404.3 MB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.389e-05/0.05264, allocations: 79.62 kB / 404.4 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.05476, allocations: 1.275 MB / 405.7 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.05477, allocations: 8 kB / 405.7 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.05477, allocations: 0 / 405.7 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.05478, allocations: 3.984 kB / 405.7 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/0.05769, allocations: 2.084 MB / 407.8 MB, free: 3.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.05769, allocations: 4 kB / 407.8 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.05787, allocations: 71.89 kB / 407.9 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00201/0.05988, allocations: 1.448 MB / 409.3 MB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.638e-05/0.05993, allocations: 23.97 kB / 409.3 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003962/0.06389, allocations: 3.463 MB / 412.8 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.0639, allocations: 4 kB / 412.8 MB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.06632, allocations: 1.638 MB / 414.4 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.06649, allocations: 139.5 kB / 414.6 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.569e-05/0.06655, allocations: 31.98 kB / 414.6 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.0668, allocations: 63.92 kB / 414.7 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/0.06703, allocations: 172.2 kB / 414.8 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.06706, allocations: 23.98 kB / 414.9 MB, free: 12.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001608/0.06722, allocations: 283 kB / 415.1 MB, free: 12.33 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.06722, allocations: 0 / 415.1 MB, free: 12.33 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004702/0.06769, allocations: 227.9 kB / 415.4 MB, free: 12.11 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (50): * Single equations (assignments): 42 * 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.0001211/0.06781, allocations: 127.2 kB / 415.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.06917, allocations: 1.067 MB / 416.6 MB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.06917, allocations: 0 / 416.6 MB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008975/0.07007, allocations: 0.7008 MB / 417.3 MB, free: 10.15 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.07052, allocations: 157.8 kB / 417.4 MB, free: 10 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.07258, allocations: 1.426 MB / 418.8 MB, free: 8.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.07271, allocations: 203 kB / 419 MB, free: 8.301 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001898/0.0729, allocations: 100.9 kB / 419.1 MB, free: 8.199 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.396e-05/0.07298, allocations: 48.48 kB / 419.2 MB, free: 8.148 MB / 394.7 MB Notification: Performance of SimCode: time 7.31e-07/0.07299, allocations: 0 / 419.2 MB, free: 8.148 MB / 394.7 MB Notification: Performance of Templates: time 0.01587/0.08886, allocations: 16.53 MB / 435.7 MB, free: 7.688 MB / 410.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5393885830417275]