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.005161/0.005161, allocations: 99 kB / 15.73 MB, free: 6.008 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.001369/0.001369, allocations: 198.3 kB / 16.68 MB, free: 5.934 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.465/1.465, 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.08167/0.08167, allocations: 16.68 MB / 307.2 MB, free: 14.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 63.89 kB / 426.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0893/0.09118, allocations: 53.55 MB / 480 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.02961/0.1208, allocations: 30.18 MB / 0.4982 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2131/0.3339, allocations: 8.662 MB / 0.5067 GB, free: 3.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003903/0.3379, allocations: 65.62 kB / 0.5068 GB, free: 3.348 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003706/0.3416, allocations: 1.14 MB / 0.5079 GB, free: 3.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009564/0.3512, allocations: 3.717 MB / 0.5115 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003357/0.3546, allocations: 1.51 MB / 0.513 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009182/0.3638, allocations: 6.957 MB / 0.5198 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009373/0.3647, allocations: 0.4892 MB / 0.5203 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003842/0.3686, allocations: 2.304 MB / 0.5225 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003809/0.3724, allocations: 2.551 MB / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006855/0.3731, allocations: 276.5 kB / 0.5253 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.3757, allocations: 0.7869 MB / 0.526 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006569/0.3764, allocations: 0.7115 MB / 0.5267 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002899/0.3793, allocations: 2.223 MB / 0.5289 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006752/0.386, allocations: 5.052 MB / 0.5338 GB, free: 11.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3861, allocations: 8.812 kB / 0.5338 GB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3861, allocations: 0 / 0.5338 GB, free: 11.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.818e-05/0.3862, allocations: 0 / 0.5338 GB, free: 11.7 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.02157/0.4078, allocations: 6.483 MB / 0.5402 GB, free: 7.863 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.4078, allocations: 8.969 kB / 0.5402 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002459/0.4103, allocations: 0.6042 MB / 0.5408 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004449/0.4147, allocations: 2.353 MB / 0.5431 GB, free: 5.828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.4149, allocations: 219.3 kB / 0.5433 GB, free: 5.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003022/0.4152, allocations: 291.3 kB / 0.5436 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004866/0.4201, allocations: 3.396 MB / 0.5469 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.627e-05/0.4202, allocations: 31.69 kB / 0.5469 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002661/0.4204, allocations: 128 kB / 0.547 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.716e-05/0.4205, allocations: 76 kB / 0.5471 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004372/0.4249, allocations: 2.686 MB / 0.5497 GB, free: 15.38 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.02616/0.4511, allocations: 22.12 MB / 0.5713 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004623/0.4557, allocations: 2.43 MB / 0.5737 GB, free: 5.957 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/0.4572, allocations: 0.9238 MB / 0.5746 GB, free: 5.027 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/0.4574, allocations: 35.69 kB / 0.5746 GB, free: 5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.492e-05/0.4574, allocations: 73.31 kB / 0.5747 GB, free: 4.918 MB / 430.1 MB Notification: Performance of pre-optimization done (n=251): time 4.639e-06/0.4574, allocations: 0 / 0.5747 GB, free: 4.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=251): time 0.01434/0.4718, allocations: 4.765 MB / 0.5794 GB, free: 84 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.4719, allocations: 77.45 kB / 0.5794 GB, free: 15.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005929/0.4778, allocations: 3.213 MB / 0.5826 GB, free: 12.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005475/0.4784, allocations: 77.7 kB / 0.5826 GB, free: 12.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001768/0.4802, allocations: 1.626 MB / 0.5842 GB, free: 11.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001542/0.4817, allocations: 1.054 MB / 0.5853 GB, free: 10.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003007/0.4848, allocations: 1.632 MB / 0.5869 GB, free: 8.418 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4849, allocations: 301.1 kB / 0.5871 GB, free: 8.121 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003983/0.4889, allocations: 2.201 MB / 0.5893 GB, free: 5.914 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005056/0.494, allocations: 2.945 MB / 0.5922 GB, free: 2.871 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007374/0.5014, allocations: 4.213 MB / 0.5963 GB, free: 14.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.117e-05/0.5014, allocations: 0 / 0.5963 GB, free: 14.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01472/0.5161, allocations: 7.339 MB / 0.6034 GB, free: 7.105 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.5162, allocations: 8 kB / 0.6035 GB, free: 7.098 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-05/0.5162, allocations: 4.109 kB / 0.6035 GB, free: 7.094 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004553/0.5208, allocations: 0.8983 MB / 0.6043 GB, free: 6.188 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00707/0.5279, allocations: 1.744 MB / 0.606 GB, free: 4.441 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/0.5415, allocations: 8.893 MB / 0.6147 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00696/0.5485, allocations: 0.5861 MB / 0.6153 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008692/0.5494, allocations: 276 kB / 0.6156 GB, free: 10.29 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.001749/0.5511, allocations: 0.7174 MB / 0.6163 GB, free: 9.566 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009824/0.5521, allocations: 389.5 kB / 0.6166 GB, free: 9.184 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005406/0.5575, allocations: 2.598 MB / 0.6192 GB, free: 6.562 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.637e-05/0.5576, allocations: 15.95 kB / 0.6192 GB, free: 6.547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.5576, allocations: 0 / 0.6192 GB, free: 6.547 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002395/0.56, allocations: 0.7598 MB / 0.6199 GB, free: 5.766 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009404/0.561, allocations: 40 kB / 0.62 GB, free: 5.727 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002955/0.5639, allocations: 103.9 kB / 0.6201 GB, free: 5.625 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003675/0.5643, allocations: 177.7 kB / 0.6202 GB, free: 5.453 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006323/0.5706, allocations: 2.505 MB / 0.6227 GB, free: 2.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005578/0.5762, allocations: 3.1 MB / 0.6257 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001257/0.5775, allocations: 0.7692 MB / 0.6265 GB, free: 15.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003319/0.5809, allocations: 1.926 MB / 0.6283 GB, free: 13.18 MB / 494.1 MB Notification: Performance of Backend: time 6.21e-07/0.5809, allocations: 0 / 0.6283 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01342/0.5943, allocations: 5.643 MB / 0.6338 GB, free: 7.523 MB / 494.1 MB Notification: Performance of SimCode: time 0.01074/0.6051, allocations: 5.89 MB / 0.6396 GB, free: 1.609 MB / 494.1 MB Notification: Performance of Templates: time 0.09445/0.6996, allocations: 51.36 MB / 0.6898 GB, free: 14.41 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)