Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_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.00118/0.00118, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.176/1.176, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1551/0.1551, allocations: 16.76 MB / 307.2 MB, free: 14.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 63.91 kB / 371.8 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2186, allocations: 53.54 MB / 425.3 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.015/0.2336, allocations: 30.19 MB / 455.5 MB, free: 18.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008944/0.2426, allocations: 8.685 MB / 464.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.244, allocations: 64.34 kB / 464.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.2458, allocations: 1.147 MB / 465.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005685/0.2515, allocations: 3.704 MB / 469.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002398/0.2539, allocations: 1.513 MB / 470.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004692/0.2586, allocations: 6.931 MB / 477.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000623/0.2592, allocations: 493.1 kB / 478 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002341/0.2615, allocations: 2.29 MB / 480.3 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002401/0.264, allocations: 2.565 MB / 482.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004292/0.2644, allocations: 274.2 kB / 483.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.266, allocations: 0.7856 MB / 483.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004219/0.2665, allocations: 0.7111 MB / 484.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001657/0.2681, allocations: 2.224 MB / 486.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004915/0.2731, allocations: 4.946 MB / 491.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2731, allocations: 0 / 491.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2731, allocations: 0.5156 kB / 491.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.155e-05/0.2731, allocations: 0 / 491.8 MB, free: 13.86 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 710 * Number of variables: 710 Notification: Performance of Generate backend data structure: time 0.01999/0.2931, allocations: 6.388 MB / 498.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2932, allocations: 12.59 kB / 498.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002291/0.2955, allocations: 0.5771 MB / 498.8 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003496/0.299, allocations: 2.265 MB / 0.4893 GB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.2991, allocations: 222.9 kB / 0.4895 GB, free: 8.578 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003004/0.2994, allocations: 288.9 kB / 0.4898 GB, free: 8.484 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004035/0.3035, allocations: 3.408 MB / 0.4931 GB, free: 5.141 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.323e-05/0.3036, allocations: 23.81 kB / 0.4932 GB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000228/0.3038, allocations: 127.9 kB / 0.4933 GB, free: 4.992 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.095e-05/0.3038, allocations: 76 kB / 0.4933 GB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003621/0.3075, allocations: 2.69 MB / 0.496 GB, free: 2.211 MB / 366.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.01947/0.3269, allocations: 22.13 MB / 0.5176 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003942/0.3309, allocations: 2.437 MB / 0.52 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.3321, allocations: 0.916 MB / 0.5209 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.3323, allocations: 42.06 kB / 0.5209 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.3323, allocations: 64.56 kB / 0.521 GB, free: 7.609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=251): time 4.348e-06/0.3323, allocations: 0 / 0.521 GB, free: 7.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=251): time 0.01246/0.3448, allocations: 4.748 MB / 0.5256 GB, free: 2.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.3449, allocations: 81.41 kB / 0.5257 GB, free: 2.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004176/0.349, allocations: 3.205 MB / 0.5288 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.3492, allocations: 77.7 kB / 0.5289 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.3504, allocations: 1.571 MB / 0.5304 GB, free: 13.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009842/0.3514, allocations: 1.018 MB / 0.5314 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002398/0.3538, allocations: 1.628 MB / 0.533 GB, free: 11.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.089e-05/0.3539, allocations: 305.1 kB / 0.5333 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003414/0.3573, allocations: 2.193 MB / 0.5354 GB, free: 8.652 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003924/0.3613, allocations: 2.942 MB / 0.5383 GB, free: 5.613 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005793/0.3671, allocations: 4.221 MB / 0.5424 GB, free: 1.258 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.55e-05/0.3671, allocations: 0 / 0.5424 GB, free: 1.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01152/0.3786, allocations: 7.301 MB / 0.5496 GB, free: 9.871 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.3787, allocations: 8 kB / 0.5496 GB, free: 9.863 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.851e-05/0.3787, allocations: 8 kB / 0.5496 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004226/0.3829, allocations: 0.8986 MB / 0.5504 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005829/0.3888, allocations: 1.74 MB / 0.5521 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.4002, allocations: 8.921 MB / 0.5609 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00586/0.406, allocations: 0.5689 MB / 0.5614 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005514/0.4066, allocations: 284 kB / 0.5617 GB, free: 13.03 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 8 (NTLV2.isSlackBus,NTHV2.isSlackBus,NTHV1.isSlackBus,NTLV1.isSlackBus,GRIDL2.isSlackBus,GRIDL1.isSlackBus,GEN2.isSlackBus,GEN1.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1119): * Single equations (assignments): 1116 * 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 {(2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(17,0), (39,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001344/0.4079, allocations: 0.7149 MB / 0.5624 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007665/0.4087, allocations: 363.6 kB / 0.5627 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004531/0.4133, allocations: 2.594 MB / 0.5653 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.4133, allocations: 11.95 kB / 0.5653 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4133, allocations: 0 / 0.5653 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/0.4148, allocations: 0.7383 MB / 0.566 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006404/0.4154, allocations: 40 kB / 0.566 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002395/0.4178, allocations: 103.9 kB / 0.5661 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002703/0.4181, allocations: 189.6 kB / 0.5663 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005359/0.4235, allocations: 2.503 MB / 0.5688 GB, free: 5.707 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00412/0.4276, allocations: 3.079 MB / 0.5718 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001019/0.4286, allocations: 0.7692 MB / 0.5725 GB, free: 1.836 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002484/0.4311, allocations: 1.926 MB / 0.5744 GB, free: 15.92 MB / 462.1 MB Notification: Performance of Backend: time 3.61e-07/0.4311, allocations: 0 / 0.5744 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009684/0.4408, allocations: 5.643 MB / 0.5799 GB, free: 10.25 MB / 462.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.007665/0.4485, allocations: 5.855 MB / 0.5856 GB, free: 4.371 MB / 462.1 MB Notification: Performance of Templates: time 0.2046/0.6531, allocations: 54.85 MB / 0.6392 GB, free: 118.6 MB / 462.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)