Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.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.000933/0.000933, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.0009239/0.0009239, allocations: 175.1 kB / 25.61 MB, free: 8.895 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.9124/0.9124, allocations: 177.1 MB / 206.1 MB, free: 4.488 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.1177/0.1177, 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.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.65e-06/5.65e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.636e-05, allocations: 2.312 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.006241/0.006268, allocations: 5.761 MB / 376.6 MB, free: 26.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.008808, allocations: 1.85 MB / 378.5 MB, free: 24.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003236/0.009132, allocations: 39.69 kB / 378.5 MB, free: 24.62 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007143/0.009846, allocations: 206.6 kB / 378.7 MB, free: 24.42 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006727/0.01052, allocations: 429.4 kB / 379.1 MB, free: 24 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00071/0.01123, allocations: 370.9 kB / 379.5 MB, free: 23.64 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009057/0.01213, allocations: 1.055 MB / 380.6 MB, free: 22.58 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000499/0.01263, allocations: 424.5 kB / 381 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000799/0.01343, allocations: 0.6702 MB / 381.6 MB, free: 21.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005692/0.014, allocations: 0.5065 MB / 382.2 MB, free: 20.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.363e-05/0.0141, allocations: 64 kB / 382.2 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004348/0.01453, allocations: 271.4 kB / 382.5 MB, free: 20.65 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.01482, allocations: 395 kB / 382.9 MB, free: 20.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.01511, allocations: 291.3 kB / 383.2 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00082/0.01593, allocations: 0.8137 MB / 384 MB, free: 19.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.01593, allocations: 0 / 384 MB, free: 19.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01593, allocations: 4 kB / 384 MB, free: 19.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.01594, allocations: 0 / 384 MB, free: 19.16 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.001477/0.01742, allocations: 1.12 MB / 385.1 MB, free: 18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.01745, allocations: 8.031 kB / 385.1 MB, free: 17.99 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007815/0.01823, allocations: 216.2 kB / 385.3 MB, free: 17.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006579/0.01889, allocations: 0.5133 MB / 385.8 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.01893, allocations: 49.67 kB / 385.9 MB, free: 17.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.01907, allocations: 68.52 kB / 385.9 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007679/0.01983, allocations: 0.6158 MB / 386.6 MB, free: 16.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.01986, allocations: 4 kB / 386.6 MB, free: 16.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.321e-05/0.01992, allocations: 27.98 kB / 386.6 MB, free: 16.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001458/0.02007, allocations: 65.97 kB / 386.7 MB, free: 16.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006092/0.02068, allocations: 353.5 kB / 387 MB, free: 16.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/0.02382, allocations: 2.916 MB / 389.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005407/0.02436, allocations: 342.5 kB / 390.2 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.02464, allocations: 170.8 kB / 390.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.02468, allocations: 16.5 kB / 390.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.02471, allocations: 49.83 kB / 390.5 MB, free: 12.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 3.045e-06/0.02471, allocations: 0 / 390.5 MB, free: 12.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.001965/0.02667, allocations: 1.111 MB / 391.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.0267, allocations: 89.89 kB / 391.7 MB, free: 11.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.027, allocations: 450.2 kB / 392.1 MB, free: 10.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.02703, allocations: 33.7 kB / 392.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.02719, allocations: 427.1 kB / 392.6 MB, free: 10.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.02734, allocations: 281.6 kB / 392.8 MB, free: 9.934 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.02753, allocations: 160.2 kB / 393 MB, free: 9.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.02762, allocations: 0.5546 MB / 393.6 MB, free: 9.203 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.0278, allocations: 97.92 kB / 393.6 MB, free: 9.105 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.02808, allocations: 378.9 kB / 394 MB, free: 8.637 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[3] = ind.i_start[3] (0.0 = ind.i_start[3]) Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.02912, allocations: 0.809 MB / 394.8 MB, free: 7.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.02912, allocations: 0 / 394.8 MB, free: 7.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0008956/0.03002, allocations: 0.612 MB / 395.4 MB, free: 7.109 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.03003, allocations: 8 kB / 395.4 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.03004, allocations: 4 kB / 395.5 MB, free: 7.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001085/0.03015, allocations: 31.67 kB / 395.5 MB, free: 7.062 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/0.03075, allocations: 175.7 kB / 395.7 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000641/0.0314, allocations: 1.76 MB / 397.4 MB, free: 5.012 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.03171, allocations: 20 kB / 397.4 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/0.03176, allocations: 28 kB / 397.5 MB, free: 4.965 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: ind.i[3] = ind.i_start[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 92 * Array equations: 2 * Algorithm blocks: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001747/0.03194, allocations: 200.4 kB / 397.7 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.03208, allocations: 87.56 kB / 397.7 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007659/0.03285, allocations: 0.5036 MB / 398.2 MB, free: 4.152 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.03287, allocations: 19.98 kB / 398.3 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.03287, allocations: 4 kB / 398.3 MB, free: 4.129 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.03288, allocations: 3.984 kB / 398.3 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.03476, allocations: 1.388 MB / 399.7 MB, free: 2.613 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.03476, allocations: 7.984 kB / 399.7 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005012/0.03526, allocations: 132.3 kB / 399.8 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.455e-05/0.03534, allocations: 39.67 kB / 399.8 MB, free: 2.434 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/0.03538, allocations: 16 kB / 399.9 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005741/0.03595, allocations: 1.756 MB / 401.6 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.03596, allocations: 4 kB / 401.6 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.03706, allocations: 0.9397 MB / 402.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-05/0.03714, allocations: 63.56 kB / 402.6 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.989e-05/0.03722, allocations: 19.98 kB / 402.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.03751, allocations: 16 kB / 402.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.03762, allocations: 68.36 kB / 402.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/0.03767, allocations: 27.98 kB / 402.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002191/0.03788, allocations: 271 kB / 403 MB, free: 15.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03788, allocations: 4 kB / 403 MB, free: 15.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007264/0.03861, allocations: 179.9 kB / 403.2 MB, free: 14.86 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002423/0.03885, allocations: 155 kB / 403.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009082/0.03976, allocations: 0.6108 MB / 403.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.03976, allocations: 0 / 403.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004603/0.04022, allocations: 416.5 kB / 404.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007926/0.04102, allocations: 131 kB / 404.5 MB, free: 13.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.0433, allocations: 1.666 MB / 406.2 MB, free: 11.74 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.04344, allocations: 215.3 kB / 406.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00023/0.04367, allocations: 101.2 kB / 406.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/0.04394, allocations: 206.1 kB / 406.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.04394, allocations: 0 / 406.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of Templates: time 0.01033/0.05427, allocations: 8.569 MB / 415.2 MB, free: 2.77 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0195340760983527]