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.001089/0.001089, allocations: 115.5 kB / 16.42 MB, free: 5.988 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.001167/0.001167, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.284/1.284, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06153/0.06153, allocations: 14.18 MB / 284.8 MB, free: 13.87 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.001395/0.001395, allocations: 71.73 kB / 400 MB, free: 42.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06774/0.06914, 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.01489/0.08406, allocations: 18.63 MB / 468.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.09476, allocations: 7.612 MB / 476.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002014/0.0968, allocations: 51.88 kB / 476.4 MB, free: 500 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002464/0.09927, allocations: 1.01 MB / 477.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007642/0.107, allocations: 3.41 MB / 480.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.1087, allocations: 0.7705 MB / 481.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006442/0.1151, allocations: 5.705 MB / 487.3 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005368/0.1157, allocations: 386.4 kB / 487.7 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002081/0.1178, allocations: 1.95 MB / 489.6 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002045/0.1198, allocations: 2.008 MB / 491.6 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002746/0.1201, allocations: 208 kB / 491.8 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.1216, allocations: 0.7262 MB / 492.5 MB, free: 296 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003741/0.122, allocations: 0.4978 MB / 493 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.1234, allocations: 1.672 MB / 494.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003945/0.1274, allocations: 4.194 MB / 498.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1274, allocations: 0 / 498.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1274, allocations: 0 / 498.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.847e-05/0.1274, allocations: 0 / 498.9 MB, free: 9.902 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.01464/0.1421, allocations: 4.465 MB / 0.4916 GB, free: 5.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1421, allocations: 12.03 kB / 0.4916 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/0.144, allocations: 457.2 kB / 0.492 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/0.1472, allocations: 1.783 MB / 0.4938 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.1473, allocations: 160.8 kB / 0.4939 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000246/0.1475, allocations: 219.9 kB / 0.4941 GB, free: 2.691 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003302/0.1508, allocations: 2.149 MB / 0.4962 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.1509, allocations: 0 / 0.4962 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/0.1511, allocations: 88 kB / 0.4963 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/0.1511, allocations: 52 kB / 0.4964 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00324/0.1543, allocations: 2.175 MB / 0.4985 GB, free: 14.11 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.01778/0.1721, allocations: 15.17 MB / 0.5133 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00412/0.1763, allocations: 3.116 MB / 0.5163 GB, free: 9.902 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.1773, allocations: 0.7949 MB / 0.5171 GB, free: 9.109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.1775, allocations: 33.98 kB / 0.5172 GB, free: 9.078 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.1775, allocations: 64.48 kB / 0.5172 GB, free: 9.004 MB / 414.1 MB Notification: Performance of pre-optimization done (n=217): time 4.057e-06/0.1775, allocations: 0 / 0.5172 GB, free: 9.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.008041/0.1856, allocations: 3.457 MB / 0.5206 GB, free: 5.477 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.1856, allocations: 73.41 kB / 0.5207 GB, free: 5.395 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/0.1878, allocations: 1.685 MB / 0.5223 GB, free: 3.664 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.188, allocations: 61.7 kB / 0.5224 GB, free: 3.598 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007272/0.1887, allocations: 1.07 MB / 0.5234 GB, free: 2.512 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006626/0.1894, allocations: 0.7469 MB / 0.5241 GB, free: 1.754 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000556/0.1899, allocations: 432.8 kB / 0.5246 GB, free: 1.324 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.154e-05/0.19, allocations: 305.1 kB / 0.5248 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009874/0.191, allocations: 0.6571 MB / 0.5255 GB, free: 372 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1678/0.3589, allocations: 1.215 MB / 0.5267 GB, free: 78.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002301/0.3612, allocations: 2.025 MB / 0.5286 GB, free: 78.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.3612, allocations: 5.781 kB / 0.5287 GB, free: 78.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.004465/0.3657, allocations: 2.679 MB / 0.5313 GB, free: 77.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.3657, allocations: 11.56 kB / 0.5313 GB, free: 77.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.3658, allocations: 17.19 kB / 0.5313 GB, free: 77.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/0.3674, allocations: 0.5287 MB / 0.5318 GB, free: 77.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002049/0.3695, allocations: 0.5775 MB / 0.5324 GB, free: 77.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007943/0.3774, allocations: 7.698 MB / 0.5399 GB, free: 71.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/0.3799, allocations: 191.4 kB / 0.5401 GB, free: 71.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.38, allocations: 100.5 kB / 0.5402 GB, free: 71.21 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.0007074/0.3807, allocations: 484.6 kB / 0.5406 GB, free: 70.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003606/0.3811, allocations: 240.3 kB / 0.5409 GB, free: 70.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003607/0.3847, allocations: 2.147 MB / 0.543 GB, free: 69.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.6e-05/0.3848, allocations: 10.5 kB / 0.543 GB, free: 69.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.3848, allocations: 1.344 kB / 0.543 GB, free: 69.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008289/0.3856, allocations: 0.5093 MB / 0.5435 GB, free: 69.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002846/0.3859, allocations: 38.83 kB / 0.5435 GB, free: 69.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.3873, allocations: 48.17 kB / 0.5436 GB, free: 69.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002665/0.3876, allocations: 154.2 kB / 0.5437 GB, free: 69.39 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004351/0.3919, allocations: 2.095 MB / 0.5457 GB, free: 68.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003011/0.3949, allocations: 2.489 MB / 0.5482 GB, free: 67.39 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007158/0.3957, allocations: 0.6357 MB / 0.5488 GB, free: 67.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001264/0.3969, allocations: 1.104 MB / 0.5499 GB, free: 66.66 MB / 414.1 MB Notification: Performance of Backend: time 4.01e-07/0.3969, allocations: 0 / 0.5499 GB, free: 66.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003692/0.4006, allocations: 2.158 MB / 0.552 GB, free: 65.59 MB / 414.1 MB Notification: Performance of SimCode: time 0.004227/0.4049, allocations: 4.223 MB / 0.5561 GB, free: 63.27 MB / 414.1 MB Notification: Performance of Templates: time 0.04268/0.4476, allocations: 36.16 MB / 0.5914 GB, free: 30.3 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)