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.001157/0.001157, 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.001247/0.001247, allocations: 192.3 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.357/1.357, 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.1761/0.1761, allocations: 16.79 MB / 307.2 MB, free: 14.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.89 kB / 371.8 MB, free: 3.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2597, allocations: 53.55 MB / 425.3 MB, free: 39.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01773/0.2775, allocations: 30.19 MB / 455.5 MB, free: 18.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.2902, allocations: 8.679 MB / 464.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004502/0.2948, allocations: 64.31 kB / 464.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003682/0.2985, allocations: 1.146 MB / 465.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01017/0.3087, allocations: 3.706 MB / 469.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003687/0.3124, allocations: 1.51 MB / 470.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01084/0.3233, allocations: 6.929 MB / 477.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.3249, allocations: 496.7 kB / 478 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004682/0.3296, allocations: 2.291 MB / 480.3 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006047/0.3357, allocations: 2.558 MB / 482.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001787/0.3375, allocations: 275.1 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004931/0.3424, allocations: 0.7846 MB / 483.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001647/0.3441, allocations: 0.7096 MB / 484.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006644/0.3508, allocations: 2.224 MB / 486.9 MB, free: 104 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.3622, allocations: 4.946 MB / 491.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3622, allocations: 0 / 491.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3622, allocations: 1.406 kB / 491.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002231/0.3625, allocations: 0 / 491.8 MB, free: 14.05 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.02803/0.3905, allocations: 6.39 MB / 498.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.3906, allocations: 12.09 kB / 498.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003621/0.3942, allocations: 0.5767 MB / 498.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006243/0.4005, allocations: 2.27 MB / 0.4893 GB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002697/0.4008, allocations: 220.2 kB / 0.4895 GB, free: 8.672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006995/0.4015, allocations: 288.4 kB / 0.4898 GB, free: 8.578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006135/0.4076, allocations: 3.402 MB / 0.4931 GB, free: 5.078 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.613e-05/0.4077, allocations: 23.75 kB / 0.4932 GB, free: 5.055 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000307/0.408, allocations: 128 kB / 0.4933 GB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.95e-05/0.4081, allocations: 83.94 kB / 0.4934 GB, free: 4.848 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004089/0.4122, allocations: 2.69 MB / 0.496 GB, free: 2.141 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.02513/0.4373, allocations: 22.13 MB / 0.5176 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004886/0.4423, allocations: 2.442 MB / 0.52 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.4438, allocations: 0.9121 MB / 0.5209 GB, free: 7.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.444, allocations: 42.06 kB / 0.5209 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.58e-05/0.444, allocations: 64.56 kB / 0.521 GB, free: 7.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=251): time 4.398e-06/0.4441, allocations: 0 / 0.521 GB, free: 7.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=251): time 0.01506/0.4591, allocations: 4.748 MB / 0.5256 GB, free: 2.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.4592, allocations: 77.41 kB / 0.5257 GB, free: 2.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006857/0.4661, allocations: 3.205 MB / 0.5288 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003642/0.4665, allocations: 81.7 kB / 0.5289 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001658/0.4681, allocations: 1.579 MB / 0.5304 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001574/0.4697, allocations: 1.015 MB / 0.5314 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003915/0.4737, allocations: 1.628 MB / 0.533 GB, free: 11.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.4738, allocations: 305.1 kB / 0.5333 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003656/0.4775, allocations: 2.193 MB / 0.5354 GB, free: 8.582 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004128/0.4816, allocations: 2.941 MB / 0.5383 GB, free: 5.543 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006489/0.4881, allocations: 4.213 MB / 0.5424 GB, free: 1.195 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-05/0.4881, allocations: 7.938 kB / 0.5424 GB, free: 1.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01248/0.5006, allocations: 7.301 MB / 0.5496 GB, free: 9.801 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.5007, allocations: 9.812 kB / 0.5496 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.892e-05/0.5007, allocations: 8 kB / 0.5496 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004433/0.5052, allocations: 0.8893 MB / 0.5505 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006944/0.5121, allocations: 1.74 MB / 0.5522 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/0.5252, allocations: 8.922 MB / 0.5609 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00896/0.5342, allocations: 0.5689 MB / 0.5614 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009831/0.5352, allocations: 284 kB / 0.5617 GB, free: 12.96 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.002134/0.5373, allocations: 0.7188 MB / 0.5624 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/0.5384, allocations: 367.6 kB / 0.5627 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00507/0.5435, allocations: 2.594 MB / 0.5653 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/0.5436, allocations: 15.95 kB / 0.5653 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.5436, allocations: 4 kB / 0.5653 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002418/0.546, allocations: 0.7344 MB / 0.566 GB, free: 8.477 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000763/0.5468, allocations: 40 kB / 0.5661 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002559/0.5493, allocations: 103.9 kB / 0.5662 GB, free: 8.336 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003155/0.5497, allocations: 185.6 kB / 0.5663 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005918/0.5556, allocations: 2.499 MB / 0.5688 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005414/0.561, allocations: 3.083 MB / 0.5718 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001144/0.5622, allocations: 0.7731 MB / 0.5725 GB, free: 1.762 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003328/0.5655, allocations: 1.926 MB / 0.5744 GB, free: 15.85 MB / 462.1 MB Notification: Performance of Backend: time 5.71e-07/0.5655, allocations: 0 / 0.5744 GB, free: 15.85 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01387/0.5794, allocations: 5.648 MB / 0.5799 GB, free: 10.17 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.01044/0.5899, allocations: 5.843 MB / 0.5856 GB, free: 4.305 MB / 462.1 MB Notification: Performance of Templates: time 0.2631/0.853, allocations: 54.86 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)