Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.0006804/0.0006804, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000933/0.001613, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006962/0.0006962, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009231/0.001619, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8914/0.8914, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0738/0.9652, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.1472/0.1472, allocations: 29.42 MB / 273.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1114/0.2587, allocations: 9.53 MB / 283.1 MB, free: 12.82 MB / 282.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.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 5.219 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.805e-06/9.969e-06, allocations: 4.656 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.005158/0.005168, allocations: 6.198 MB / 290.6 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002959/0.008127, allocations: 2.402 MB / 293 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003014/0.008428, allocations: 41.5 kB / 293.1 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000511/0.008939, allocations: 271.9 kB / 293.3 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008275/0.009767, allocations: 0.6241 MB / 294 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007521/0.01052, allocations: 0.5417 MB / 294.5 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.01196, allocations: 2.048 MB / 296.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006261/0.01259, allocations: 0.6703 MB / 297.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.01362, allocations: 1.185 MB / 298.4 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.01468, allocations: 0.8613 MB / 299.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.01484, allocations: 140 kB / 299.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007072/0.01554, allocations: 0.6552 MB / 300.1 MB, free: 15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003457/0.01589, allocations: 0.5614 MB / 300.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003139/0.0162, allocations: 387.3 kB / 301 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009654/0.01717, allocations: 1.301 MB / 302.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.01718, allocations: 0 / 302.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01718, allocations: 0 / 302.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.0172, allocations: 0 / 302.3 MB, free: 12.76 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.001954/0.01915, allocations: 1.857 MB / 304.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.655e-05/0.01918, allocations: 8.031 kB / 304.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006352/0.01981, allocations: 361.7 kB / 304.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006829/0.0205, allocations: 0.6586 MB / 305.2 MB, free: 9.777 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006736/0.02117, allocations: 1.09 MB / 306.3 MB, free: 8.465 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.02134, allocations: 108.7 kB / 306.4 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.02241, allocations: 1.036 MB / 307.4 MB, free: 7.262 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.02243, allocations: 0 / 307.4 MB, free: 7.262 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-05/0.02251, allocations: 35.98 kB / 307.4 MB, free: 7.227 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.02262, allocations: 81.95 kB / 307.5 MB, free: 7.148 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007201/0.02334, allocations: 0.5472 MB / 308.1 MB, free: 6.598 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003617/0.02695, allocations: 3.565 MB / 311.6 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006948/0.02765, allocations: 0.5472 MB / 312.2 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.02798, allocations: 279.4 kB / 312.5 MB, free: 2.078 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.646e-05/0.02803, allocations: 21 kB / 312.5 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007694/0.0288, allocations: 0.5771 MB / 313.1 MB, free: 1.457 MB / 298.7 MB Notification: Performance of pre-optimization done (n=116): time 2.104e-06/0.02881, allocations: 0 / 313.1 MB, free: 1.457 MB / 298.7 MB Notification: Performance of matching and sorting (n=118): time 0.006192/0.035, allocations: 3.479 MB / 316.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.03504, allocations: 98.05 kB / 316.6 MB, free: 13.83 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.03528, allocations: 423 kB / 317 MB, free: 13.4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.774e-05/0.03536, allocations: 53.69 kB / 317.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.0355, allocations: 362.1 kB / 317.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.03571, allocations: 408.5 kB / 317.8 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.03594, allocations: 202.8 kB / 318 MB, free: 12.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.999e-05/0.03604, allocations: 390.6 kB / 318.4 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.03635, allocations: 287.1 kB / 318.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/0.03671, allocations: 467.8 kB / 319.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.03797, allocations: 1.08 MB / 320.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.03797, allocations: 0 / 320.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003116/0.04109, allocations: 1.969 MB / 322.2 MB, free: 8.039 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.706e-05/0.04113, allocations: 53.67 kB / 322.3 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.04114, allocations: 8 kB / 322.3 MB, free: 7.973 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002989/0.04413, allocations: 2.204 MB / 324.5 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004549/0.04459, allocations: 207.7 kB / 324.7 MB, free: 5.562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005448/0.05004, allocations: 3.664 MB / 328.3 MB, free: 1.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.05043, allocations: 87.92 kB / 328.4 MB, free: 1.719 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-05/0.05052, allocations: 63.94 kB / 328.5 MB, free: 1.656 MB / 314.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.ind.i[3] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 28 (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.gates[5],$PRE.inverter.modulator.gates[6],$PRE.inverter.modulator.t0[3],$PRE.inverter.modulator.t0[2],$PRE.inverter.modulator.t0[1],$PRE.inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.t0[3],inverter.modulator.t0[2],inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],inverter.modulator.gates[5],inverter.modulator.gates[4],inverter.modulator.gates[3],inverter.modulator.gates[2],inverter.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 100 * 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 {(7,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0002401/0.05076, allocations: 197.4 kB / 328.7 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.05091, allocations: 87.92 kB / 328.8 MB, free: 1.371 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/0.05364, allocations: 1.693 MB / 330.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/0.05366, allocations: 31.92 kB / 330.5 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.05367, allocations: 0 / 330.5 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.05368, allocations: 3.984 kB / 330.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003872/0.05755, allocations: 2.738 MB / 333.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.05755, allocations: 4 kB / 333.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000467/0.05802, allocations: 199 kB / 333.4 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/0.05825, allocations: 183.3 kB / 333.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002836/0.06109, allocations: 2.038 MB / 335.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.49e-05/0.06115, allocations: 31.97 kB / 335.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004072/0.06523, allocations: 3.035 MB / 338.7 MB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.06523, allocations: 7.938 kB / 338.7 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003165/0.0684, allocations: 2.188 MB / 340.9 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.06853, allocations: 79.95 kB / 341 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.06891, allocations: 95.83 kB / 341.1 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/0.06914, allocations: 140.7 kB / 341.2 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.697e-05/0.0692, allocations: 31.97 kB / 341.2 MB, free: 4.602 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.06932, allocations: 168.4 kB / 341.4 MB, free: 4.434 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.06932, allocations: 4 kB / 341.4 MB, free: 4.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009459/0.07026, allocations: 375.9 kB / 341.8 MB, free: 4.062 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],ind.i[1],ind.i[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,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],system.initime) * 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 (100): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002591/0.07052, allocations: 198.8 kB / 342 MB, free: 3.859 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.07231, allocations: 1.38 MB / 343.4 MB, free: 2.449 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-05/0.07233, allocations: 16.38 kB / 343.4 MB, free: 2.434 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.07351, allocations: 0.8579 MB / 344.2 MB, free: 1.562 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008174/0.07433, allocations: 1.224 MB / 345.5 MB, free: 136 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00994/0.08427, allocations: 2.144 MB / 347.6 MB, free: 13.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.08447, allocations: 297.1 kB / 347.9 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002391/0.08471, allocations: 102.7 kB / 348 MB, free: 13.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/0.08506, allocations: 205.3 kB / 348.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of SimCode: time 6.71e-07/0.08506, allocations: 0 / 348.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of Templates: time 0.02475/0.1098, allocations: 26.78 MB / 375 MB, free: 2.676 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2783113857731223]