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.001657/0.001657, allocations: 109.7 kB / 16.42 MB, free: 5.977 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.001881/0.001881, allocations: 184.9 kB / 17.35 MB, free: 5.582 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.44/1.44, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06426/0.06426, allocations: 14.17 MB / 284.8 MB, free: 13.85 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.001645/0.001645, allocations: 70.73 kB / 400 MB, free: 42.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07458/0.07623, 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.01713/0.0934, allocations: 18.63 MB / 468.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.1062, allocations: 7.616 MB / 476.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002708/0.1089, allocations: 51.81 kB / 476.4 MB, free: 488 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003138/0.1121, allocations: 0.998 MB / 477.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009919/0.1221, allocations: 3.406 MB / 480.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.1243, allocations: 0.7822 MB / 481.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007556/0.1319, allocations: 5.724 MB / 487.3 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009264/0.1328, allocations: 382.4 kB / 487.7 MB, free: 5.172 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003166/0.136, allocations: 1.942 MB / 489.6 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003328/0.1393, allocations: 2.016 MB / 491.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007329/0.1401, allocations: 204 kB / 491.8 MB, free: 1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/0.1426, allocations: 0.7184 MB / 492.6 MB, free: 288 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007374/0.1434, allocations: 0.4899 MB / 493 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002865/0.1462, allocations: 1.679 MB / 494.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006672/0.1529, allocations: 4.216 MB / 498.9 MB, free: 9.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1529, allocations: 0 / 498.9 MB, free: 9.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.153, allocations: 0 / 498.9 MB, free: 9.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001059/0.1531, allocations: 0 / 498.9 MB, free: 9.871 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.01685/0.1699, allocations: 4.552 MB / 0.4917 GB, free: 5.246 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.17, allocations: 8.031 kB / 0.4917 GB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/0.1724, allocations: 470.8 kB / 0.4922 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004356/0.1768, allocations: 1.808 MB / 0.4939 GB, free: 2.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.177, allocations: 160.8 kB / 0.4941 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004516/0.1775, allocations: 215.9 kB / 0.4943 GB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004455/0.1819, allocations: 2.145 MB / 0.4964 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.294e-05/0.182, allocations: 3.938 kB / 0.4964 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002659/0.1823, allocations: 88 kB / 0.4965 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.886e-05/0.1823, allocations: 52 kB / 0.4965 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004402/0.1868, allocations: 2.172 MB / 0.4986 GB, free: 13.96 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.02197/0.2087, allocations: 15.19 MB / 0.5135 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004593/0.2134, allocations: 3.112 MB / 0.5165 GB, free: 9.746 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.2146, allocations: 0.7988 MB / 0.5173 GB, free: 8.949 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/0.2148, allocations: 33.98 kB / 0.5173 GB, free: 8.918 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/0.2148, allocations: 56.56 kB / 0.5174 GB, free: 8.852 MB / 414.1 MB Notification: Performance of pre-optimization done (n=217): time 4.378e-06/0.2148, allocations: 0 / 0.5174 GB, free: 8.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.008958/0.2238, allocations: 3.47 MB / 0.5208 GB, free: 5.312 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.2239, allocations: 77.41 kB / 0.5208 GB, free: 5.227 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/0.2269, allocations: 1.689 MB / 0.5225 GB, free: 3.492 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.227, allocations: 61.7 kB / 0.5225 GB, free: 3.426 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008734/0.2279, allocations: 1.1 MB / 0.5236 GB, free: 2.312 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008626/0.2288, allocations: 0.79 MB / 0.5244 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000674/0.2295, allocations: 433.1 kB / 0.5248 GB, free: 1.086 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.542e-05/0.2296, allocations: 309.1 kB / 0.5251 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.2307, allocations: 0.6571 MB / 0.5257 GB, free: 124 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1825/0.4132, allocations: 1.21 MB / 0.5269 GB, free: 78.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002988/0.4162, allocations: 2.02 MB / 0.5289 GB, free: 78.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-05/0.4163, allocations: 4.562 kB / 0.5289 GB, free: 78.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005666/0.4219, allocations: 2.693 MB / 0.5315 GB, free: 77.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/0.422, allocations: 13.17 kB / 0.5315 GB, free: 77.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.543e-05/0.4221, allocations: 15.41 kB / 0.5315 GB, free: 77.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001861/0.4239, allocations: 0.528 MB / 0.5321 GB, free: 77.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/0.4263, allocations: 0.5792 MB / 0.5326 GB, free: 77.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009568/0.4359, allocations: 7.698 MB / 0.5401 GB, free: 71.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00287/0.4388, allocations: 193 kB / 0.5403 GB, free: 71.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004144/0.4392, allocations: 102.4 kB / 0.5404 GB, free: 71.07 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.001232/0.4405, allocations: 479.1 kB / 0.5409 GB, free: 70.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008202/0.4413, allocations: 249.7 kB / 0.5411 GB, free: 70.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004226/0.4455, allocations: 2.151 MB / 0.5432 GB, free: 69.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.448e-05/0.4456, allocations: 12.47 kB / 0.5432 GB, free: 69.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4456, allocations: 0 / 0.5432 GB, free: 69.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/0.4468, allocations: 0.5173 MB / 0.5437 GB, free: 69.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005352/0.4474, allocations: 34.75 kB / 0.5438 GB, free: 69.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001797/0.4492, allocations: 56.59 kB / 0.5438 GB, free: 69.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003252/0.4495, allocations: 154.6 kB / 0.544 GB, free: 69.23 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005216/0.4547, allocations: 2.091 MB / 0.546 GB, free: 68.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004129/0.4589, allocations: 2.499 MB / 0.5485 GB, free: 67.21 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008731/0.4598, allocations: 0.6364 MB / 0.5491 GB, free: 66.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002051/0.4618, allocations: 1.103 MB / 0.5502 GB, free: 66.49 MB / 414.1 MB Notification: Performance of Backend: time 5.81e-07/0.4618, allocations: 0 / 0.5502 GB, free: 66.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00498/0.4668, allocations: 2.157 MB / 0.5523 GB, free: 65.43 MB / 414.1 MB Notification: Performance of SimCode: time 0.006121/0.473, allocations: 4.311 MB / 0.5565 GB, free: 63.01 MB / 414.1 MB Notification: Performance of Templates: time 0.0488/0.5218, allocations: 36.17 MB / 0.5918 GB, free: 29.86 MB / 414.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)