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.004916/0.004916, allocations: 101.3 kB / 15.73 MB, free: 6.066 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.001142/0.001142, allocations: 196.3 kB / 16.68 MB, free: 5.973 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07215/0.07215, allocations: 16.78 MB / 307.3 MB, free: 14.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 63.89 kB / 426.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08029/0.08135, allocations: 53.55 MB / 480.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.02334/0.1047, allocations: 30.17 MB / 0.4984 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1906/0.2954, allocations: 8.671 MB / 0.5068 GB, free: 3.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00299/0.2984, allocations: 66.19 kB / 0.5069 GB, free: 3.359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002547/0.301, allocations: 1.142 MB / 0.508 GB, free: 3.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00855/0.3096, allocations: 3.706 MB / 0.5116 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002996/0.3126, allocations: 1.512 MB / 0.5131 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007885/0.3205, allocations: 6.958 MB / 0.5199 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008474/0.3214, allocations: 491.1 kB / 0.5204 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003386/0.3248, allocations: 2.311 MB / 0.5226 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003301/0.3281, allocations: 2.553 MB / 0.5251 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005316/0.3286, allocations: 275.2 kB / 0.5254 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002068/0.3307, allocations: 0.7893 MB / 0.5262 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005296/0.3312, allocations: 0.7169 MB / 0.5269 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002107/0.3333, allocations: 2.219 MB / 0.529 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004956/0.3383, allocations: 5.052 MB / 0.534 GB, free: 11.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3383, allocations: 1.375 kB / 0.534 GB, free: 11.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3383, allocations: 7.938 kB / 0.534 GB, free: 11.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.039e-05/0.3384, allocations: 0 / 0.534 GB, free: 11.59 MB / 398.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.01941/0.3578, allocations: 6.476 MB / 0.5403 GB, free: 7.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3579, allocations: 9.5 kB / 0.5403 GB, free: 7.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002251/0.3601, allocations: 0.6017 MB / 0.5409 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004108/0.3643, allocations: 2.358 MB / 0.5432 GB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.3644, allocations: 218.3 kB / 0.5434 GB, free: 5.613 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002999/0.3647, allocations: 289.2 kB / 0.5437 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004384/0.3691, allocations: 3.404 MB / 0.547 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-05/0.3692, allocations: 23.75 kB / 0.547 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002157/0.3694, allocations: 132 kB / 0.5471 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.874e-05/0.3695, allocations: 76 kB / 0.5472 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003836/0.3733, allocations: 2.692 MB / 0.5498 GB, free: 15.25 MB / 414.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.02009/0.3934, allocations: 22.12 MB / 0.5714 GB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004111/0.3975, allocations: 2.438 MB / 0.5738 GB, free: 5.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.3988, allocations: 0.9082 MB / 0.5747 GB, free: 4.906 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.399, allocations: 43.22 kB / 0.5747 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.399, allocations: 68.5 kB / 0.5748 GB, free: 4.793 MB / 430.1 MB Notification: Performance of pre-optimization done (n=251): time 4.068e-06/0.399, allocations: 0 / 0.5748 GB, free: 4.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=251): time 0.01281/0.4118, allocations: 4.762 MB / 0.5795 GB, free: 15.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.4119, allocations: 85.39 kB / 0.5795 GB, free: 15.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004314/0.4162, allocations: 3.209 MB / 0.5827 GB, free: 12.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00016/0.4164, allocations: 81.7 kB / 0.5828 GB, free: 12.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001275/0.4177, allocations: 1.623 MB / 0.5843 GB, free: 10.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001054/0.4187, allocations: 1.053 MB / 0.5854 GB, free: 9.934 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00235/0.4211, allocations: 1.636 MB / 0.587 GB, free: 8.285 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.258e-05/0.4212, allocations: 301.1 kB / 0.5873 GB, free: 7.988 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003519/0.4247, allocations: 2.201 MB / 0.5894 GB, free: 5.781 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004106/0.4288, allocations: 2.945 MB / 0.5923 GB, free: 2.738 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006016/0.4349, allocations: 4.205 MB / 0.5964 GB, free: 14.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.686e-05/0.4349, allocations: 9.062 kB / 0.5964 GB, free: 14.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01152/0.4464, allocations: 7.335 MB / 0.6036 GB, free: 6.977 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.4465, allocations: 8 kB / 0.6036 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/0.4465, allocations: 4 kB / 0.6036 GB, free: 6.965 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004174/0.4507, allocations: 0.8844 MB / 0.6044 GB, free: 6.074 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005918/0.4566, allocations: 1.751 MB / 0.6061 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.4685, allocations: 8.905 MB / 0.6148 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005795/0.4743, allocations: 0.5861 MB / 0.6154 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006033/0.4749, allocations: 276 kB / 0.6157 GB, free: 10.16 MB / 478.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.001386/0.4763, allocations: 0.7212 MB / 0.6164 GB, free: 9.426 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000764/0.477, allocations: 389.5 kB / 0.6168 GB, free: 9.043 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004756/0.4818, allocations: 2.59 MB / 0.6193 GB, free: 6.43 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/0.4818, allocations: 11.95 kB / 0.6193 GB, free: 6.418 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4819, allocations: 0 / 0.6193 GB, free: 6.418 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001594/0.4835, allocations: 0.752 MB / 0.62 GB, free: 5.645 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000629/0.4841, allocations: 44 kB / 0.6201 GB, free: 5.602 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/0.4865, allocations: 107.9 kB / 0.6202 GB, free: 5.496 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000263/0.4867, allocations: 177.7 kB / 0.6203 GB, free: 5.324 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005448/0.4922, allocations: 2.496 MB / 0.6228 GB, free: 2.859 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004323/0.4965, allocations: 3.096 MB / 0.6258 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001076/0.4976, allocations: 0.7808 MB / 0.6266 GB, free: 14.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002698/0.5003, allocations: 1.926 MB / 0.6284 GB, free: 13.05 MB / 494.1 MB Notification: Performance of Backend: time 2.91e-07/0.5003, allocations: 4 kB / 0.6285 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01026/0.5106, allocations: 5.644 MB / 0.634 GB, free: 7.391 MB / 494.1 MB Notification: Performance of SimCode: time 0.007891/0.5185, allocations: 5.887 MB / 0.6397 GB, free: 1.477 MB / 494.1 MB Notification: Performance of Templates: time 0.07762/0.5962, allocations: 51.36 MB / 0.6899 GB, free: 14.28 MB / 0.545 GB 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)