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.001292/0.001292, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001446/0.001446, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.8683/0.8683, allocations: 177.2 MB / 206.1 MB, free: 4.477 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.1155/0.1155, allocations: 29.43 MB / 292 MB, free: 2.609 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.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: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001e-05/1.132e-05, allocations: 12.67 kB / 370.9 MB, free: 32.29 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.007704/0.007715, allocations: 5.768 MB / 376.6 MB, free: 26.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00561/0.01333, allocations: 2.399 MB / 379 MB, free: 24.1 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002515/0.01358, allocations: 31.75 kB / 379.1 MB, free: 24.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003594/0.01717, allocations: 242.4 kB / 379.3 MB, free: 23.83 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007849/0.01796, allocations: 0.6023 MB / 379.9 MB, free: 23.22 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006569/0.01861, allocations: 0.5261 MB / 380.4 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.01974, allocations: 1.957 MB / 382.4 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003529/0.02327, allocations: 0.5567 MB / 383 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.02428, allocations: 1.119 MB / 384.1 MB, free: 19.04 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006101/0.02489, allocations: 0.9004 MB / 385 MB, free: 18.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.025, allocations: 140 kB / 385.1 MB, free: 18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004641/0.02547, allocations: 0.6357 MB / 385.7 MB, free: 17.37 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002869/0.02575, allocations: 0.6586 MB / 386.4 MB, free: 16.71 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.02621, allocations: 487 kB / 386.9 MB, free: 16.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.0275, allocations: 1.461 MB / 388.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.0275, allocations: 0 / 388.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.0275, allocations: 0 / 388.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.02751, allocations: 0 / 388.3 MB, free: 14.77 MB / 314.7 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.002908/0.03042, allocations: 1.755 MB / 390.1 MB, free: 12.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.03045, allocations: 8.031 kB / 390.1 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008678/0.03132, allocations: 288.1 kB / 390.4 MB, free: 12.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.03234, allocations: 0.6888 MB / 391.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004777/0.03282, allocations: 1.09 MB / 392.2 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002373/0.03306, allocations: 96.55 kB / 392.3 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.0347, allocations: 1.027 MB / 393.3 MB, free: 9.445 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.03473, allocations: 7.938 kB / 393.3 MB, free: 9.438 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.03486, allocations: 35.98 kB / 393.3 MB, free: 9.402 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001682/0.03502, allocations: 85.95 kB / 393.4 MB, free: 9.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.03625, allocations: 0.5912 MB / 394 MB, free: 8.727 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005739/0.04199, allocations: 4.296 MB / 398.3 MB, free: 4.344 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.04335, allocations: 0.6106 MB / 398.9 MB, free: 3.707 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005999/0.04395, allocations: 325 kB / 399.2 MB, free: 3.383 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.349e-05/0.04403, allocations: 17 kB / 399.2 MB, free: 3.367 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009089/0.04494, allocations: 0.6254 MB / 399.9 MB, free: 2.719 MB / 314.7 MB Notification: Performance of pre-optimization done (n=123): time 3.737e-06/0.04494, allocations: 0 / 399.9 MB, free: 2.719 MB / 314.7 MB Notification: Performance of matching and sorting (n=124): time 0.003389/0.04833, allocations: 1.925 MB / 401.8 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.04837, allocations: 106 kB / 401.9 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.04865, allocations: 454.3 kB / 402.3 MB, free: 180 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.518e-05/0.04871, allocations: 53.69 kB / 402.4 MB, free: 120 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.04889, allocations: 424.3 kB / 402.8 MB, free: 15.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/0.04914, allocations: 448.2 kB / 403.2 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/0.04941, allocations: 232.4 kB / 403.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.04958, allocations: 0.5858 MB / 404.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.04995, allocations: 324.1 kB / 404.4 MB, free: 14.1 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007417/0.05069, allocations: 0.515 MB / 404.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007571/0.05145, allocations: 0.7362 MB / 405.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.05145, allocations: 0 / 405.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003223/0.05468, allocations: 1.762 MB / 407.4 MB, free: 10.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/0.05473, allocations: 57.67 kB / 407.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.05474, allocations: 4 kB / 407.5 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00309/0.05783, allocations: 1.598 MB / 409 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/0.05822, allocations: 175.7 kB / 409.2 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005829/0.06405, allocations: 3.852 MB / 413.1 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004379/0.06449, allocations: 87.86 kB / 413.2 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.801e-05/0.06459, allocations: 75.8 kB / 413.2 MB, free: 4.965 MB / 330.7 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.0002548/0.06484, allocations: 236.4 kB / 413.5 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.06503, allocations: 123.5 kB / 413.6 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.06613, allocations: 0.9364 MB / 414.5 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.35e-05/0.06616, allocations: 31.98 kB / 414.6 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.06616, allocations: 0 / 414.6 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.06617, allocations: 11.92 kB / 414.6 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.06838, allocations: 1.845 MB / 416.4 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.06838, allocations: 12 kB / 416.4 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003829/0.07221, allocations: 1.315 MB / 417.7 MB, free: 388 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-06/0.07222, allocations: 8 kB / 417.7 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.141e-05/0.07229, allocations: 39.95 kB / 417.8 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.07229, allocations: 7.938 kB / 417.8 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.0723, allocations: 4 kB / 417.8 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.07413, allocations: 1.437 MB / 419.2 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.07441, allocations: 207.2 kB / 419.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.07455, allocations: 79.91 kB / 419.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004384/0.07499, allocations: 99.89 kB / 419.6 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.07514, allocations: 100.8 kB / 419.7 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.103e-05/0.0752, allocations: 36.03 kB / 419.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001423/0.07534, allocations: 282.9 kB / 420 MB, free: 14.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07534, allocations: 0 / 420 MB, free: 14.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000596/0.07594, allocations: 351.9 kB / 420.4 MB, free: 13.69 MB / 346.7 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.0002404/0.07618, allocations: 220.3 kB / 420.6 MB, free: 13.47 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.07778, allocations: 1.352 MB / 421.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.07778, allocations: 0 / 421.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001534/0.07931, allocations: 0.7698 MB / 422.7 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005654/0.07988, allocations: 190.3 kB / 422.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003424/0.0833, allocations: 2.55 MB / 425.4 MB, free: 8.508 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.0835, allocations: 281.9 kB / 425.7 MB, free: 8.211 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003641/0.08387, allocations: 114.7 kB / 425.8 MB, free: 8.094 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004989/0.08437, allocations: 246.1 kB / 426.1 MB, free: 7.852 MB / 346.7 MB Notification: Performance of SimCode: time 6.71e-07/0.08437, allocations: 0 / 426.1 MB, free: 7.852 MB / 346.7 MB Notification: Performance of Templates: time 0.02264/0.107, allocations: 24.39 MB / 450.5 MB, free: 15.59 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4997713188640773]