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.001356/0.001356, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001687/0.001687, allocations: 211.2 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.714/1.714, allocations: 207.7 MB / 233.1 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] 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.07452/0.07452, allocations: 14.39 MB / 299.7 MB, free: 7.238 MB / 238.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00328/0.00328, allocations: 71.89 kB / 424.2 MB, free: 35.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1308, allocations: 52.89 MB / 477.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.0213/0.1521, allocations: 16.15 MB / 493.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01707/0.1692, allocations: 7.11 MB / 0.4887 GB, free: 7.109 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004248/0.1734, allocations: 63.62 kB / 0.4887 GB, free: 7.047 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004515/0.178, allocations: 0.9473 MB / 0.4897 GB, free: 6.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01283/0.1908, allocations: 3.339 MB / 0.4929 GB, free: 2.773 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.1937, allocations: 0.7623 MB / 0.4937 GB, free: 2.016 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01075/0.2045, allocations: 5.704 MB / 0.4992 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.2056, allocations: 203 kB / 0.4994 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004335/0.2099, allocations: 1.977 MB / 0.5014 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004387/0.2143, allocations: 1.832 MB / 0.5031 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009902/0.2153, allocations: 200 kB / 0.5033 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003182/0.2185, allocations: 0.7028 MB / 0.504 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001017/0.2195, allocations: 0.4937 MB / 0.5045 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003912/0.2234, allocations: 1.4 MB / 0.5059 GB, free: 5.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009496/0.2329, allocations: 4.243 MB / 0.51 GB, free: 1.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2329, allocations: 0 / 0.51 GB, free: 1.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.2329, allocations: 4 kB / 0.51 GB, free: 1.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001542/0.233, allocations: 0 / 0.51 GB, free: 1.188 MB / 382.1 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.01844/0.2515, allocations: 4.462 MB / 0.5144 GB, free: 12.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.2515, allocations: 12.03 kB / 0.5144 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00233/0.2539, allocations: 470.8 kB / 0.5148 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004963/0.2588, allocations: 1.713 MB / 0.5165 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.259, allocations: 171.6 kB / 0.5167 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003472/0.2593, allocations: 208 kB / 0.5169 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004276/0.2636, allocations: 2.137 MB / 0.519 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.169e-05/0.2636, allocations: 7.938 kB / 0.519 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001914/0.2638, allocations: 92 kB / 0.519 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.577e-05/0.2639, allocations: 56 kB / 0.5191 GB, free: 7.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003972/0.2679, allocations: 2.133 MB / 0.5212 GB, free: 5.512 MB / 398.1 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.2773/0.5452, allocations: 7.692 MB / 0.5287 GB, free: 56.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004538/0.5498, allocations: 2.04 MB / 0.5307 GB, free: 56.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.5509, allocations: 0.6952 MB / 0.5314 GB, free: 56.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.551, allocations: 28.48 kB / 0.5314 GB, free: 56.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.5511, allocations: 56.72 kB / 0.5314 GB, free: 55.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=217): time 4.739e-06/0.5511, allocations: 0 / 0.5314 GB, free: 55.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=217): time 0.01023/0.5613, allocations: 3.264 MB / 0.5346 GB, free: 55.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.5614, allocations: 74.06 kB / 0.5347 GB, free: 54.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003693/0.5651, allocations: 1.676 MB / 0.5363 GB, free: 54.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001794/0.5652, allocations: 61.11 kB / 0.5364 GB, free: 54.28 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008512/0.5661, allocations: 1.096 MB / 0.5375 GB, free: 53.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009071/0.567, allocations: 0.7849 MB / 0.5382 GB, free: 53.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006907/0.5677, allocations: 432.5 kB / 0.5387 GB, free: 52.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.631e-05/0.5678, allocations: 306.3 kB / 0.5389 GB, free: 52.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.569, allocations: 0.6599 MB / 0.5396 GB, free: 52.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/0.5705, allocations: 1.22 MB / 0.5408 GB, free: 51.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002616/0.5731, allocations: 2.02 MB / 0.5428 GB, free: 50.03 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/0.5731, allocations: 5.406 kB / 0.5428 GB, free: 50.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005361/0.5785, allocations: 2.68 MB / 0.5454 GB, free: 48.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.5785, allocations: 15.62 kB / 0.5454 GB, free: 48.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-05/0.5786, allocations: 15.84 kB / 0.5454 GB, free: 48.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/0.5803, allocations: 0.5614 MB / 0.546 GB, free: 48.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.5822, allocations: 0.5717 MB / 0.5465 GB, free: 48.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007976/0.5902, allocations: 7.323 MB / 0.5537 GB, free: 43.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003537/0.5937, allocations: 189.7 kB / 0.5538 GB, free: 42.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002236/0.594, allocations: 101.3 kB / 0.5539 GB, free: 42.95 MB / 398.1 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 (283): * Single equations (assignments): 280 * 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,28), (2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001042/0.595, allocations: 482.2 kB / 0.5544 GB, free: 42.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005407/0.5955, allocations: 239.2 kB / 0.5546 GB, free: 42.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003414/0.599, allocations: 2.14 MB / 0.5567 GB, free: 40.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.599, allocations: 24 kB / 0.5567 GB, free: 40.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.599, allocations: 4 kB / 0.5567 GB, free: 40.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/0.599, allocations: 9 kB / 0.5568 GB, free: 40.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006245/0.6052, allocations: 4.103 MB / 0.5608 GB, free: 36.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.6053, allocations: 4 kB / 0.5608 GB, free: 36.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.6066, allocations: 385 kB / 0.5611 GB, free: 36.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/0.608, allocations: 0.5076 MB / 0.5616 GB, free: 36.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.416e-05/0.6081, allocations: 40 kB / 0.5617 GB, free: 36.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006931/0.6151, allocations: 7.19 MB / 0.5687 GB, free: 28.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.6151, allocations: 15.88 kB / 0.5687 GB, free: 28.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003886/0.6189, allocations: 2.294 MB / 0.5709 GB, free: 26.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/0.6203, allocations: 457.5 kB / 0.5714 GB, free: 25.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003098/0.6206, allocations: 43.98 kB / 0.5714 GB, free: 25.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/0.6221, allocations: 48 kB / 0.5715 GB, free: 25.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000288/0.6224, allocations: 161.6 kB / 0.5716 GB, free: 25.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.833e-05/0.6224, allocations: 52 kB / 0.5717 GB, free: 25.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001386/0.6238, allocations: 1.065 MB / 0.5727 GB, free: 24.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6238, allocations: 0 / 0.5727 GB, free: 24.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002529/0.6263, allocations: 0.9069 MB / 0.5736 GB, free: 23.49 MB / 398.1 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 (174): * Single equations (assignments): 171 * 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,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003815/0.6267, allocations: 287.1 kB / 0.5739 GB, free: 23.22 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003351/0.6301, allocations: 2.277 MB / 0.5761 GB, free: 20.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/0.6301, allocations: 6 kB / 0.5761 GB, free: 20.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001709/0.6318, allocations: 1.341 MB / 0.5774 GB, free: 19.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/0.6337, allocations: 318.9 kB / 0.5777 GB, free: 19.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005481/0.6392, allocations: 3.716 MB / 0.5813 GB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007369/0.6399, allocations: 0.9221 MB / 0.5822 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001167/0.6411, allocations: 293.1 kB / 0.5825 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004486/0.6415, allocations: 163.4 kB / 0.5827 GB, free: 14.02 MB / 398.1 MB Notification: Performance of SimCode: time 1.462e-06/0.6415, allocations: 0 / 0.5827 GB, free: 14.02 MB / 398.1 MB Notification: Performance of Templates: time 0.05426/0.6958, allocations: 32.7 MB / 0.6146 GB, free: 13.42 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.691386580467224] Failed to read output from testmodel.py, exit status != 0: 0.7061741389334202 0.7197712740000001 0.483506696 Calling exit ...