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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Ignoring simflag -noemit -outputFormat=mat since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 104.6 kB / 16.4 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 192.1 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06064/0.06064, allocations: 14.17 MB / 284.7 MB, free: 13.86 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 66.03 kB / 400 MB, free: 42.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08115/0.08275, allocations: 50.13 MB / 450.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01763/0.1004, allocations: 18.62 MB / 468.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01256/0.113, allocations: 7.624 MB / 476.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002474/0.1155, allocations: 51.88 kB / 476.4 MB, free: 496 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003092/0.1186, allocations: 1.006 MB / 477.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009175/0.1279, allocations: 3.246 MB / 480.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.13, allocations: 0.7745 MB / 481.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007308/0.1374, allocations: 5.708 MB / 487.1 MB, free: 5.746 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000882/0.1383, allocations: 382.4 kB / 487.5 MB, free: 5.352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003203/0.1415, allocations: 1.946 MB / 489.4 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003321/0.1448, allocations: 2.016 MB / 491.5 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007317/0.1456, allocations: 204 kB / 491.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.1483, allocations: 0.7301 MB / 492.4 MB, free: 456 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007585/0.149, allocations: 0.4937 MB / 492.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003868/0.1529, allocations: 1.672 MB / 494.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006847/0.1598, allocations: 4.19 MB / 498.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1598, allocations: 0 / 498.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1598, allocations: 4 kB / 498.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000115/0.16, allocations: 0 / 498.7 MB, free: 10.06 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.01716/0.1771, allocations: 4.458 MB / 0.4914 GB, free: 5.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1772, allocations: 19.97 kB / 0.4914 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002554/0.1797, allocations: 453.2 kB / 0.4919 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004068/0.1838, allocations: 1.787 MB / 0.4936 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.184, allocations: 164.8 kB / 0.4938 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003879/0.1844, allocations: 215.9 kB / 0.494 GB, free: 2.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00423/0.1886, allocations: 2.144 MB / 0.4961 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-05/0.1887, allocations: 0 / 0.4961 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002135/0.1889, allocations: 92 kB / 0.4961 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.383e-05/0.189, allocations: 56 kB / 0.4962 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004124/0.1931, allocations: 2.175 MB / 0.4983 GB, free: 14.27 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.02327/0.2164, allocations: 15.16 MB / 0.5131 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004779/0.2212, allocations: 3.12 MB / 0.5162 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.2226, allocations: 0.7988 MB / 0.517 GB, free: 9.266 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.2227, allocations: 26 kB / 0.517 GB, free: 9.242 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/0.2228, allocations: 64.48 kB / 0.517 GB, free: 9.168 MB / 414.1 MB Notification: Performance of pre-optimization done (n=217): time 4.097e-06/0.2228, allocations: 4 kB / 0.5171 GB, free: 9.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.009481/0.2323, allocations: 3.457 MB / 0.5204 GB, free: 5.637 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.2324, allocations: 73.41 kB / 0.5205 GB, free: 5.555 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003202/0.2356, allocations: 1.681 MB / 0.5221 GB, free: 3.828 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003299/0.2359, allocations: 69.64 kB / 0.5222 GB, free: 3.754 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009539/0.2369, allocations: 1.062 MB / 0.5232 GB, free: 2.676 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009533/0.2379, allocations: 0.7508 MB / 0.524 GB, free: 1.914 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000792/0.2387, allocations: 432.8 kB / 0.5244 GB, free: 1.484 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.2388, allocations: 309.1 kB / 0.5247 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.24, allocations: 0.6532 MB / 0.5253 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1822/0.4222, allocations: 1.214 MB / 0.5265 GB, free: 78.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/0.4247, allocations: 2.024 MB / 0.5285 GB, free: 78.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/0.4248, allocations: 4.75 kB / 0.5285 GB, free: 78.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.004916/0.4297, allocations: 2.679 MB / 0.5311 GB, free: 77.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.4297, allocations: 13.12 kB / 0.5311 GB, free: 77.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.898e-05/0.4298, allocations: 15.12 kB / 0.5311 GB, free: 77.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.4316, allocations: 0.5285 MB / 0.5316 GB, free: 77.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002124/0.4337, allocations: 0.5782 MB / 0.5322 GB, free: 77.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008211/0.4419, allocations: 7.695 MB / 0.5397 GB, free: 71.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002662/0.4446, allocations: 188 kB / 0.5399 GB, free: 71.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/0.4448, allocations: 97.05 kB / 0.54 GB, free: 71.31 MB / 414.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 (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.0008076/0.4456, allocations: 488.3 kB / 0.5405 GB, free: 70.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004857/0.4461, allocations: 238.5 kB / 0.5407 GB, free: 70.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003597/0.4497, allocations: 2.148 MB / 0.5428 GB, free: 69.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.4497, allocations: 20.34 kB / 0.5428 GB, free: 69.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4498, allocations: 4.922 kB / 0.5428 GB, free: 69.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.367e-05/0.4498, allocations: 11.3 kB / 0.5428 GB, free: 69.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007171/0.457, allocations: 5.254 MB / 0.548 GB, free: 67.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.457, allocations: 8.453 kB / 0.548 GB, free: 67.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/0.4585, allocations: 389.6 kB / 0.5483 GB, free: 67.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001494/0.46, allocations: 0.4998 MB / 0.5488 GB, free: 66.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.4601, allocations: 43.75 kB / 0.5489 GB, free: 66.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006943/0.467, allocations: 7.566 MB / 0.5563 GB, free: 60.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.4671, allocations: 11.28 kB / 0.5563 GB, free: 60.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003994/0.4711, allocations: 2.303 MB / 0.5585 GB, free: 59.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/0.4723, allocations: 0.5146 MB / 0.559 GB, free: 59.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004169/0.4727, allocations: 45.11 kB / 0.5591 GB, free: 59.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/0.4743, allocations: 57.36 kB / 0.5591 GB, free: 59.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/0.4746, allocations: 150.2 kB / 0.5593 GB, free: 59.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.702e-05/0.4746, allocations: 57.28 kB / 0.5593 GB, free: 59.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001368/0.476, allocations: 1.108 MB / 0.5604 GB, free: 58.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.476, allocations: 0 / 0.5604 GB, free: 58.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002685/0.4787, allocations: 0.879 MB / 0.5613 GB, free: 58.6 MB / 414.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 (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.00039/0.4791, allocations: 288.6 kB / 0.5615 GB, free: 58.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003361/0.4825, allocations: 2.384 MB / 0.5639 GB, free: 57.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.4825, allocations: 4.25 kB / 0.5639 GB, free: 57.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.4841, allocations: 1.395 MB / 0.5652 GB, free: 56.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.4858, allocations: 344.7 kB / 0.5655 GB, free: 55.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004587/0.4904, allocations: 3.698 MB / 0.5692 GB, free: 52.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006621/0.4911, allocations: 1.49 MB / 0.5706 GB, free: 50.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005761/0.4917, allocations: 183.4 kB / 0.5708 GB, free: 50.58 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4917, allocations: 0 / 0.5708 GB, free: 50.58 MB / 414.1 MB Notification: Performance of Templates: time 0.048/0.5397, allocations: 60.39 MB / 0.6298 GB, free: 6.055 MB / 430.1 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile (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 -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)