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.000989/0.0009891, allocations: 108 kB / 15.61 MB, free: 148 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.0009552/0.0009554, allocations: 196.2 kB / 16.53 MB, free: 6.656 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.172/1.172, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.161/0.161, allocations: 16.78 MB / 307.2 MB, free: 14.86 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 67.89 kB / 371.8 MB, free: 3.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2121, allocations: 53.55 MB / 425.3 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01632/0.2284, allocations: 30.18 MB / 455.5 MB, free: 18.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009572/0.238, allocations: 8.693 MB / 464.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/0.2399, allocations: 64.41 kB / 464.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.2417, allocations: 1.141 MB / 465.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006099/0.2479, allocations: 3.705 MB / 469.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.2503, allocations: 1.51 MB / 470.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004972/0.2553, allocations: 6.93 MB / 477.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006389/0.2559, allocations: 496.6 kB / 478 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002448/0.2584, allocations: 2.293 MB / 480.3 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002558/0.2609, allocations: 2.558 MB / 482.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004309/0.2614, allocations: 276.1 kB / 483.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.2631, allocations: 0.7841 MB / 483.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004195/0.2635, allocations: 0.7102 MB / 484.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001667/0.2652, allocations: 2.221 MB / 486.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004996/0.2702, allocations: 4.949 MB / 491.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2702, allocations: 0.6562 kB / 491.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2702, allocations: 1.094 kB / 491.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.91e-05/0.2703, allocations: 0 / 491.8 MB, free: 13.87 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.02228/0.2926, allocations: 6.388 MB / 498.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.2926, allocations: 8.25 kB / 498.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002485/0.2951, allocations: 0.5814 MB / 498.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004071/0.2992, allocations: 2.269 MB / 0.4893 GB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.2993, allocations: 220.2 kB / 0.4895 GB, free: 8.727 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003035/0.2997, allocations: 287.9 kB / 0.4898 GB, free: 8.633 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004174/0.3038, allocations: 3.405 MB / 0.4931 GB, free: 5.137 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.518e-05/0.3039, allocations: 31.73 kB / 0.4932 GB, free: 5.105 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002374/0.3041, allocations: 124 kB / 0.4933 GB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.143e-05/0.3042, allocations: 76 kB / 0.4934 GB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00369/0.3079, allocations: 2.694 MB / 0.496 GB, free: 2.199 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.02088/0.3288, allocations: 22.13 MB / 0.5176 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003864/0.3327, allocations: 2.434 MB / 0.52 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.3339, allocations: 0.9199 MB / 0.5209 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.334, allocations: 38.06 kB / 0.5209 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.334, allocations: 64.56 kB / 0.521 GB, free: 7.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=251): time 4.338e-06/0.334, allocations: 0 / 0.521 GB, free: 7.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=251): time 0.01262/0.3467, allocations: 4.748 MB / 0.5256 GB, free: 2.785 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.3467, allocations: 77.41 kB / 0.5257 GB, free: 2.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003976/0.3507, allocations: 3.205 MB / 0.5288 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001826/0.3509, allocations: 77.7 kB / 0.5289 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.352, allocations: 1.579 MB / 0.5304 GB, free: 13.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000931/0.3529, allocations: 1.015 MB / 0.5314 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001885/0.3548, allocations: 1.628 MB / 0.533 GB, free: 11.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.573e-05/0.3549, allocations: 309.1 kB / 0.5333 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003051/0.358, allocations: 2.189 MB / 0.5354 GB, free: 8.648 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003583/0.3616, allocations: 2.945 MB / 0.5383 GB, free: 5.605 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005418/0.367, allocations: 4.217 MB / 0.5424 GB, free: 1.254 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/0.367, allocations: 0 / 0.5424 GB, free: 1.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01072/0.3777, allocations: 7.301 MB / 0.5496 GB, free: 9.867 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.3778, allocations: 9.25 kB / 0.5496 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/0.3778, allocations: 8 kB / 0.5496 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004182/0.382, allocations: 0.8973 MB / 0.5505 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005527/0.3875, allocations: 1.74 MB / 0.5522 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/0.3984, allocations: 8.917 MB / 0.5609 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005383/0.4038, allocations: 0.5729 MB / 0.5614 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003813/0.4042, allocations: 287.8 kB / 0.5617 GB, free: 13.02 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.001181/0.4054, allocations: 0.7149 MB / 0.5624 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005293/0.4059, allocations: 363.6 kB / 0.5627 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00428/0.4102, allocations: 2.594 MB / 0.5653 GB, free: 9.316 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.4103, allocations: 11.95 kB / 0.5653 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.4103, allocations: 4 kB / 0.5653 GB, free: 9.301 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/0.4115, allocations: 0.7383 MB / 0.566 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004547/0.4119, allocations: 40 kB / 0.5661 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002144/0.4141, allocations: 99.94 kB / 0.5661 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002473/0.4143, allocations: 189.6 kB / 0.5663 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005157/0.4195, allocations: 2.507 MB / 0.5688 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003919/0.4234, allocations: 3.079 MB / 0.5718 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009793/0.4244, allocations: 0.7731 MB / 0.5725 GB, free: 1.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002317/0.4267, allocations: 1.926 MB / 0.5744 GB, free: 15.9 MB / 462.1 MB Notification: Performance of Backend: time 5.71e-07/0.4268, allocations: 0 / 0.5744 GB, free: 15.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009317/0.4361, allocations: 5.633 MB / 0.5799 GB, free: 10.24 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.007219/0.4433, allocations: 5.855 MB / 0.5856 GB, free: 4.367 MB / 462.1 MB Notification: Performance of Templates: time 0.2131/0.6564, allocations: 54.86 MB / 0.6392 GB, free: 118.7 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)