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.001347/0.001347, 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.0009778/0.0009778, allocations: 168.7 kB / 24.91 MB, free: 9.199 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 1.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2543/0.2543, allocations: 29.41 MB / 291.2 MB, free: 2.41 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 1.953e-06/1.953e-06, allocations: 0 / 316.8 MB, free: 0 / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.878e-05/5.074e-05, allocations: 2.312 kB / 316.8 MB, free: 16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterAvToGrid): time 0.007851/0.007902, allocations: 5.778 MB / 322.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.0108, allocations: 1.905 MB / 324.5 MB, free: 8.277 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004152/0.01121, allocations: 35.69 kB / 324.6 MB, free: 8.242 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006604/0.01187, allocations: 206.6 kB / 324.8 MB, free: 8.039 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007111/0.01259, allocations: 433.4 kB / 325.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008045/0.01339, allocations: 366.9 kB / 325.5 MB, free: 7.254 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009831/0.01437, allocations: 1.055 MB / 326.6 MB, free: 6.195 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005185/0.01489, allocations: 450.5 kB / 327 MB, free: 5.746 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008865/0.01578, allocations: 0.674 MB / 327.7 MB, free: 5.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000592/0.01637, allocations: 0.4948 MB / 328.2 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.094e-05/0.01646, allocations: 64 kB / 328.3 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004961/0.01696, allocations: 263.4 kB / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002679/0.01722, allocations: 387 kB / 328.9 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.01747, allocations: 299.3 kB / 329.2 MB, free: 3.582 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008317/0.01831, allocations: 0.8097 MB / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.01831, allocations: 0 / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01831, allocations: 0 / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.01832, allocations: 4 kB / 330 MB, free: 2.766 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.001279/0.0196, allocations: 0.9724 MB / 331 MB, free: 1.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.01965, allocations: 11.98 kB / 331 MB, free: 1.754 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005705/0.02022, allocations: 184.7 kB / 331.2 MB, free: 1.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005797/0.0208, allocations: 491 kB / 331.6 MB, free: 1.062 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.02083, allocations: 53.67 kB / 331.7 MB, free: 1.012 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.02095, allocations: 80.44 kB / 331.8 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/0.02153, allocations: 0.6026 MB / 332.4 MB, free: 300 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.02155, allocations: 0 / 332.4 MB, free: 300 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.02158, allocations: 24 kB / 332.4 MB, free: 276 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/0.02169, allocations: 73.95 kB / 332.5 MB, free: 204 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004237/0.02212, allocations: 328.5 kB / 332.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002398/0.02452, allocations: 2.34 MB / 335.1 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/0.02493, allocations: 350.4 kB / 335.5 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.02512, allocations: 151.3 kB / 335.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.02515, allocations: 12.48 kB / 335.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.02518, allocations: 43 kB / 335.7 MB, free: 12.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 3.166e-06/0.02518, allocations: 0 / 335.7 MB, free: 12.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.001507/0.02669, allocations: 0.9823 MB / 336.7 MB, free: 11.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.02673, allocations: 89.75 kB / 336.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.02698, allocations: 387 kB / 337.1 MB, free: 11.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.02701, allocations: 41.7 kB / 337.2 MB, free: 11.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.02717, allocations: 321.4 kB / 337.5 MB, free: 10.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.02729, allocations: 269.6 kB / 337.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.02743, allocations: 146.6 kB / 337.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.945e-05/0.02753, allocations: 378.6 kB / 338.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.02765, allocations: 96.8 kB / 338.4 MB, free: 10.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.02791, allocations: 283.1 kB / 338.6 MB, free: 9.75 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.0006856/0.02859, allocations: 0.7052 MB / 339.3 MB, free: 8.973 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.0286, allocations: 4 kB / 339.3 MB, free: 8.969 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0005195/0.02912, allocations: 490.4 kB / 339.8 MB, free: 8.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.02913, allocations: 4 kB / 339.8 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.02914, allocations: 8 kB / 339.8 MB, free: 8.469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.983e-05/0.02924, allocations: 37.23 kB / 339.9 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.0296, allocations: 175.7 kB / 340 MB, free: 8.258 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000789/0.03039, allocations: 1.223 MB / 341.3 MB, free: 6.934 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.03059, allocations: 23.94 kB / 341.3 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.03063, allocations: 31.98 kB / 341.3 MB, free: 6.879 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.0001869/0.03082, allocations: 160.5 kB / 341.5 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.967e-05/0.03092, allocations: 59.89 kB / 341.5 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/0.0314, allocations: 424.8 kB / 341.9 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.03142, allocations: 16 kB / 342 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.03142, allocations: 0 / 342 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.03143, allocations: 3.984 kB / 342 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.03271, allocations: 1.179 MB / 343.1 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.03271, allocations: 8 kB / 343.2 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.03301, allocations: 127.8 kB / 343.3 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.055e-05/0.03309, allocations: 28.78 kB / 343.3 MB, free: 4.777 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.03312, allocations: 27.98 kB / 343.3 MB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008425/0.03396, allocations: 1.23 MB / 344.6 MB, free: 3.422 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.03396, allocations: 7.938 kB / 344.6 MB, free: 3.414 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000669/0.03463, allocations: 0.7751 MB / 345.3 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/0.0347, allocations: 63.61 kB / 345.4 MB, free: 2.492 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.366e-05/0.03476, allocations: 23.98 kB / 345.4 MB, free: 2.469 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.0349, allocations: 12 kB / 345.4 MB, free: 2.457 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.03497, allocations: 68.27 kB / 345.5 MB, free: 2.391 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.035, allocations: 23.98 kB / 345.5 MB, free: 2.367 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.03511, allocations: 148.7 kB / 345.7 MB, free: 2.219 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03511, allocations: 0 / 345.7 MB, free: 2.219 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004687/0.03558, allocations: 187.9 kB / 345.9 MB, free: 2.035 MB / 314.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.0002049/0.03579, allocations: 136.2 kB / 346 MB, free: 1.891 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005699/0.03636, allocations: 0.5123 MB / 346.5 MB, free: 1.367 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.03637, allocations: 8.188 kB / 346.5 MB, free: 1.359 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.03662, allocations: 328.1 kB / 346.8 MB, free: 1.023 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.03708, allocations: 148.5 kB / 347 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.03896, allocations: 1.516 MB / 348.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.03911, allocations: 227.2 kB / 348.7 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002404/0.03935, allocations: 101.2 kB / 348.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.0396, allocations: 177.3 kB / 349 MB, free: 14.75 MB / 330.7 MB Notification: Performance of SimCode: time 1.383e-06/0.0396, allocations: 0 / 349 MB, free: 14.75 MB / 330.7 MB Notification: Performance of Templates: time 0.01164/0.05125, allocations: 8.375 MB / 357.4 MB, free: 6.504 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.2518653236329556]