Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.00136/0.00136, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.001635/0.001635, allocations: 161.7 kB / 24.26 MB, free: 172 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 1.544/1.544, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.2961/0.2961, allocations: 29.42 MB / 290.5 MB, free: 2.43 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.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.095e-05, allocations: 2.312 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.008817/0.008848, allocations: 5.81 MB / 374.7 MB, free: 5.449 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003153/0.012, allocations: 1.375 MB / 376.1 MB, free: 4.07 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006238/0.01262, allocations: 35.69 kB / 376.1 MB, free: 4.035 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007459/0.01337, allocations: 134.9 kB / 376.2 MB, free: 3.902 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.01463, allocations: 401.6 kB / 376.6 MB, free: 3.508 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006775/0.01531, allocations: 203.5 kB / 376.8 MB, free: 3.309 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.01675, allocations: 0.942 MB / 377.8 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004298/0.01718, allocations: 163.2 kB / 377.9 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.01848, allocations: 0.5413 MB / 378.5 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000777/0.01925, allocations: 438.8 kB / 378.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.522e-05/0.01935, allocations: 48 kB / 378.9 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.01947, allocations: 48 kB / 379 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003384/0.01981, allocations: 291.2 kB / 379.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003055/0.02011, allocations: 211.5 kB / 379.5 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009843/0.0211, allocations: 0.6814 MB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.0211, allocations: 0 / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.0211, allocations: 4 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.02111, allocations: 0 / 380.2 MB, free: 15.95 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001851/0.02297, allocations: 0.8843 MB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.023, allocations: 11.98 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/0.02321, allocations: 108.5 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.02425, allocations: 0.5157 MB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.14e-05/0.02429, allocations: 41.31 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-05/0.02439, allocations: 52.38 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.02545, allocations: 0.6211 MB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.02547, allocations: 4 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.413e-05/0.02552, allocations: 20 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/0.02564, allocations: 32.97 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008775/0.02652, allocations: 0.5073 MB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003354/0.02987, allocations: 2 MB / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009506/0.03082, allocations: 461.2 kB / 385.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007487/0.03157, allocations: 326.2 kB / 385.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/0.03161, allocations: 15.95 kB / 385.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.03165, allocations: 34.56 kB / 385.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.124e-06/0.03165, allocations: 4 kB / 385.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.003853/0.0355, allocations: 1.608 MB / 387.4 MB, free: 8.492 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/0.03559, allocations: 81.11 kB / 387.5 MB, free: 8.395 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005438/0.03613, allocations: 405.9 kB / 387.9 MB, free: 7.988 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.03618, allocations: 33.7 kB / 387.9 MB, free: 7.949 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.03645, allocations: 304.9 kB / 388.2 MB, free: 7.648 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.03663, allocations: 170.6 kB / 388.4 MB, free: 7.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.0368, allocations: 94.3 kB / 388.5 MB, free: 7.383 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002569/0.03705, allocations: 366.7 kB / 388.8 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.03738, allocations: 185.1 kB / 389 MB, free: 6.836 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/0.03783, allocations: 308.7 kB / 389.3 MB, free: 6.484 MB / 362.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.002895/0.04072, allocations: 1.168 MB / 390.5 MB, free: 5.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.04073, allocations: 4 kB / 390.5 MB, free: 5.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001402/0.04213, allocations: 0.7242 MB / 391.2 MB, free: 4.527 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.04216, allocations: 11.94 kB / 391.2 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.04217, allocations: 4 kB / 391.2 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005075/0.04268, allocations: 149 kB / 391.4 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/0.04316, allocations: 107.8 kB / 391.5 MB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003452/0.04662, allocations: 2.484 MB / 393.9 MB, free: 1.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.04695, allocations: 23.98 kB / 394 MB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.04699, allocations: 16 kB / 394 MB, free: 1.637 MB / 362.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: 16 * 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 (54): * Single equations (assignments): 53 * Array equations: 0 * 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 {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003662/0.04736, allocations: 233.7 kB / 394.2 MB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.04748, allocations: 63.67 kB / 394.3 MB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.04877, allocations: 0.6477 MB / 394.9 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.04878, allocations: 8 kB / 394.9 MB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.04879, allocations: 0 / 394.9 MB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.0488, allocations: 7.984 kB / 394.9 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.05111, allocations: 1.178 MB / 396.1 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.05112, allocations: 0 / 396.1 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/0.05149, allocations: 71.89 kB / 396.2 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005189/0.052, allocations: 168.4 kB / 396.3 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.193e-05/0.05205, allocations: 16 kB / 396.4 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003289/0.05534, allocations: 2.473 MB / 398.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.05534, allocations: 7.938 kB / 398.8 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.057, allocations: 0.9906 MB / 399.8 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.303e-05/0.05709, allocations: 47.95 kB / 399.9 MB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.68e-05/0.05716, allocations: 20.03 kB / 399.9 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.0574, allocations: 11.98 kB / 399.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.772e-05/0.0575, allocations: 51.84 kB / 400 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.05753, allocations: 12 kB / 400 MB, free: 11.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003489/0.05788, allocations: 275.1 kB / 400.2 MB, free: 11.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05788, allocations: 0 / 400.2 MB, free: 11.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006484/0.05853, allocations: 140 kB / 400.4 MB, free: 11.03 MB / 378.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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * 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 {(3,9,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000178/0.05871, allocations: 123.1 kB / 400.5 MB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.05997, allocations: 0.6415 MB / 401.1 MB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.05998, allocations: 0.9375 kB / 401.1 MB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007389/0.06071, allocations: 425.7 kB / 401.6 MB, free: 9.809 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007535/0.06147, allocations: 135.1 kB / 401.7 MB, free: 9.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.06378, allocations: 1.248 MB / 402.9 MB, free: 8.379 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.06419, allocations: 329.2 kB / 403.3 MB, free: 8.031 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003034/0.0645, allocations: 100.6 kB / 403.4 MB, free: 7.934 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.06463, allocations: 44.48 kB / 403.4 MB, free: 7.891 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.06463, allocations: 0 / 403.4 MB, free: 7.891 MB / 378.7 MB Notification: Performance of Templates: time 0.01456/0.07919, allocations: 6.716 MB / 410.1 MB, free: 1.285 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.803966348059475]