Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.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.0009564/0.0009564, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.0009029/0.0009029, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8834/0.8834, allocations: 158.6 MB / 185.2 MB, free: 2.742 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0406/0.0406, allocations: 10.66 MB / 248.2 MB, free: 4.352 MB / 234.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 271.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.09e-05, allocations: 2.312 kB / 271.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01159/0.01161, allocations: 17.41 MB / 289.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008994/0.0206, allocations: 7.506 MB / 296.7 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009625/0.02157, allocations: 63.62 kB / 296.7 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.02293, allocations: 1.009 MB / 297.7 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1096/0.1325, allocations: 3.376 MB / 301.1 MB, free: 24.36 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.134, allocations: 0.762 MB / 301.9 MB, free: 24.36 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005473/0.1395, allocations: 6.222 MB / 308.1 MB, free: 23.1 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005287/0.14, allocations: 220.1 kB / 308.3 MB, free: 23.01 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003431/0.1434, allocations: 2.756 MB / 311.1 MB, free: 22.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001999/0.1454, allocations: 1.7 MB / 312.8 MB, free: 21.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004514/0.1459, allocations: 225 kB / 313 MB, free: 21.95 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.1474, allocations: 0.7911 MB / 313.8 MB, free: 21.88 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.1476, allocations: 0.5395 MB / 314.3 MB, free: 21.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.1487, allocations: 1.3 MB / 315.6 MB, free: 20.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002385/0.1511, allocations: 2.812 MB / 318.4 MB, free: 19.84 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1511, allocations: 0.8438 kB / 318.4 MB, free: 19.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1511, allocations: 0 / 318.4 MB, free: 19.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.58e-05/0.1512, allocations: 4.188 kB / 318.4 MB, free: 19.84 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 560 * Number of variables: 560 Notification: Performance of Generate backend data structure: time 0.007326/0.1585, allocations: 4.778 MB / 323.2 MB, free: 17.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.1585, allocations: 10.41 kB / 323.2 MB, free: 17.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.1596, allocations: 0.615 MB / 323.8 MB, free: 17.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.1612, allocations: 0.9753 MB / 324.8 MB, free: 17.15 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-05/0.1613, allocations: 162.6 kB / 325 MB, free: 17.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.1615, allocations: 213.8 kB / 325.2 MB, free: 17 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.1629, allocations: 1.497 MB / 326.7 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/0.1629, allocations: 0 / 326.7 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.352e-05/0.163, allocations: 95.94 kB / 326.8 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.163, allocations: 56 kB / 326.8 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008327/0.1638, allocations: 0.8587 MB / 327.7 MB, free: 14.8 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006309/0.1701, allocations: 6.624 MB / 334.3 MB, free: 8.383 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.1716, allocations: 1.474 MB / 335.8 MB, free: 6.988 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.1718, allocations: 347.7 kB / 336.1 MB, free: 6.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.412e-05/0.1719, allocations: 42 kB / 336.2 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.1719, allocations: 52.56 kB / 336.2 MB, free: 6.559 MB / 282.7 MB Notification: Performance of pre-optimization done (n=217): time 3.196e-06/0.1719, allocations: 0 / 336.2 MB, free: 6.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=217): time 0.002864/0.1748, allocations: 1.996 MB / 338.2 MB, free: 4.594 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.1748, allocations: 77.41 kB / 338.3 MB, free: 4.504 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007551/0.1756, allocations: 1.416 MB / 339.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.1756, allocations: 61.7 kB / 339.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.1759, allocations: 0.8855 MB / 340.7 MB, free: 2.461 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/0.1762, allocations: 0.8047 MB / 341.5 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/0.1765, allocations: 439.3 kB / 341.9 MB, free: 1.316 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.327e-05/0.1765, allocations: 301.1 kB / 342.2 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.1767, allocations: 245 kB / 342.4 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/0.1772, allocations: 0.8138 MB / 343.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.1782, allocations: 1.298 MB / 344.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.1782, allocations: 4 kB / 344.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.001782/0.18, allocations: 1.575 MB / 346.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.18, allocations: 8 kB / 346.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.18, allocations: 17.69 kB / 346.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/0.1812, allocations: 0.58 MB / 346.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.1822, allocations: 0.5371 MB / 347.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004284/0.1865, allocations: 5.527 MB / 352.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.1875, allocations: 250.8 kB / 353 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.911e-05/0.1876, allocations: 72 kB / 353.1 MB, free: 5.809 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 282 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,26), (2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003201/0.1879, allocations: 266.2 kB / 353.4 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.1881, allocations: 223.2 kB / 353.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.1895, allocations: 1.253 MB / 354.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.1895, allocations: 20 kB / 354.9 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1895, allocations: 3.562 kB / 354.9 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.1895, allocations: 7.969 kB / 354.9 MB, free: 4.078 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/0.1924, allocations: 2.653 MB / 357.5 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1924, allocations: 4.531 kB / 357.5 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009465/0.1934, allocations: 359 kB / 357.9 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/0.1944, allocations: 0.5451 MB / 358.4 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.042e-05/0.1945, allocations: 43.94 kB / 358.5 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003529/0.198, allocations: 5.368 MB / 363.8 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.198, allocations: 8.859 kB / 363.8 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.1997, allocations: 1.403 MB / 365.2 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005167/0.2002, allocations: 279.6 kB / 365.5 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.2003, allocations: 40 kB / 365.6 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006425/0.201, allocations: 55.17 kB / 365.6 MB, free: 9.359 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.2011, allocations: 153.4 kB / 365.8 MB, free: 9.211 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.2012, allocations: 43.98 kB / 365.8 MB, free: 9.168 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004901/0.2017, allocations: 0.7055 MB / 366.5 MB, free: 8.547 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2017, allocations: 0 / 366.5 MB, free: 8.547 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001442/0.2031, allocations: 1.042 MB / 367.5 MB, free: 7.504 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,10), (4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002928/0.2034, allocations: 275.4 kB / 367.8 MB, free: 7.266 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.2048, allocations: 1.62 MB / 369.4 MB, free: 5.707 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.819e-05/0.2048, allocations: 25.81 kB / 369.5 MB, free: 5.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007839/0.2056, allocations: 1.069 MB / 370.5 MB, free: 4.645 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008837/0.2065, allocations: 353.5 kB / 370.9 MB, free: 4.301 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/0.2103, allocations: 3.42 MB / 374.3 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.2106, allocations: 385.9 kB / 374.7 MB, free: 416 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005454/0.2111, allocations: 255.1 kB / 374.9 MB, free: 160 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/0.2117, allocations: 371.3 kB / 375.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2117, allocations: 0 / 375.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of Templates: time 0.04424/0.2559, allocations: 38.81 MB / 414.1 MB, free: 9.262 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow -lv=LOG_STATS -outputFormat=mat -s=dassl -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.735381737817079]