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.006018/0.006018, allocations: 109.8 kB / 15.74 MB, free: 6.453 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.001017/0.001017, allocations: 197.3 kB / 16.67 MB, free: 6.352 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.23/1.23, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1725/0.1725, allocations: 16.78 MB / 307.3 MB, free: 14.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 66.78 kB / 426.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07311/0.07431, allocations: 53.57 MB / 480.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.02067/0.09502, allocations: 30.19 MB / 0.4984 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.1071, allocations: 8.665 MB / 0.5069 GB, free: 5.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002609/0.1097, allocations: 63.69 kB / 0.5069 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002547/0.1123, allocations: 1.145 MB / 0.508 GB, free: 4.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008341/0.1206, allocations: 3.931 MB / 0.5119 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003009/0.1236, allocations: 1.522 MB / 0.5134 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006739/0.1304, allocations: 6.953 MB / 0.5202 GB, free: 8.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006756/0.1311, allocations: 0.4899 MB / 0.5206 GB, free: 7.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.1336, allocations: 2.35 MB / 0.5229 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002425/0.136, allocations: 2.548 MB / 0.5254 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003619/0.1364, allocations: 276 kB / 0.5257 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.1379, allocations: 0.7887 MB / 0.5265 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005062/0.1384, allocations: 0.7075 MB / 0.5271 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0018/0.1402, allocations: 2.231 MB / 0.5293 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00475/0.145, allocations: 5.027 MB / 0.5342 GB, free: 9.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.145, allocations: 0 / 0.5342 GB, free: 9.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.145, allocations: 0 / 0.5342 GB, free: 9.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.817e-05/0.145, allocations: 3.938 kB / 0.5342 GB, free: 9.641 MB / 414.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.01846/0.1635, allocations: 6.381 MB / 0.5405 GB, free: 3.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1635, allocations: 8.031 kB / 0.5405 GB, free: 3.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.1655, allocations: 0.5701 MB / 0.541 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003535/0.169, allocations: 2.329 MB / 0.5433 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.1692, allocations: 222 kB / 0.5435 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003046/0.1695, allocations: 288.4 kB / 0.5438 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003989/0.1735, allocations: 3.406 MB / 0.5471 GB, free: 11.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.553e-05/0.1735, allocations: 23.81 kB / 0.5471 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002148/0.1738, allocations: 132 kB / 0.5473 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.018e-05/0.1738, allocations: 79.94 kB / 0.5473 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003735/0.1776, allocations: 2.69 MB / 0.55 GB, free: 8.871 MB / 430.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.01955/0.1971, allocations: 22.08 MB / 0.5715 GB, free: 1.766 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00404/0.2012, allocations: 2.443 MB / 0.5739 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.2024, allocations: 0.916 MB / 0.5748 GB, free: 14.42 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.2026, allocations: 42.08 kB / 0.5748 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.2026, allocations: 68.55 kB / 0.5749 GB, free: 14.3 MB / 462.1 MB Notification: Performance of pre-optimization done (n=251): time 4.478e-06/0.2027, allocations: 0 / 0.5749 GB, free: 14.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=251): time 0.01255/0.2152, allocations: 4.745 MB / 0.5795 GB, free: 9.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.2153, allocations: 77.41 kB / 0.5796 GB, free: 9.395 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003722/0.219, allocations: 3.208 MB / 0.5828 GB, free: 6.188 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.2191, allocations: 77.7 kB / 0.5828 GB, free: 6.105 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.2202, allocations: 1.571 MB / 0.5844 GB, free: 4.516 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008585/0.2211, allocations: 1.022 MB / 0.5854 GB, free: 3.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001988/0.2231, allocations: 1.62 MB / 0.5869 GB, free: 1.848 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.2232, allocations: 309.1 kB / 0.5872 GB, free: 1.543 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1917/0.4149, allocations: 2.189 MB / 0.5894 GB, free: 103.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003928/0.4189, allocations: 2.939 MB / 0.5922 GB, free: 102.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005821/0.4247, allocations: 4.216 MB / 0.5964 GB, free: 101.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.72e-05/0.4248, allocations: 1.656 kB / 0.5964 GB, free: 101.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01127/0.436, allocations: 7.311 MB / 0.6035 GB, free: 99.13 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.4361, allocations: 9.812 kB / 0.6035 GB, free: 99.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/0.4361, allocations: 6.047 kB / 0.6035 GB, free: 99.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004074/0.4402, allocations: 0.8839 MB / 0.6044 GB, free: 99.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005167/0.4454, allocations: 1.745 MB / 0.6061 GB, free: 98.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009171/0.4545, allocations: 8.871 MB / 0.6147 GB, free: 92.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004408/0.459, allocations: 0.5768 MB / 0.6153 GB, free: 92.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003424/0.4593, allocations: 276.4 kB / 0.6156 GB, free: 92.56 MB / 462.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.0009602/0.4603, allocations: 0.7218 MB / 0.6163 GB, free: 92 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004073/0.4607, allocations: 361.4 kB / 0.6166 GB, free: 92 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003789/0.4645, allocations: 2.593 MB / 0.6192 GB, free: 90.85 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.4645, allocations: 11.34 kB / 0.6192 GB, free: 90.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.4645, allocations: 3.938 kB / 0.6192 GB, free: 90.85 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009844/0.4655, allocations: 0.7366 MB / 0.6199 GB, free: 90.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003712/0.4659, allocations: 44.44 kB / 0.6199 GB, free: 90.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/0.4679, allocations: 106.8 kB / 0.62 GB, free: 90.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/0.4681, allocations: 177.7 kB / 0.6202 GB, free: 90.21 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004495/0.4726, allocations: 2.502 MB / 0.6226 GB, free: 88.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003345/0.476, allocations: 3.081 MB / 0.6257 GB, free: 85.27 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000818/0.4768, allocations: 0.7734 MB / 0.6264 GB, free: 84.51 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00192/0.4787, allocations: 1.929 MB / 0.6283 GB, free: 82.6 MB / 462.1 MB Notification: Performance of Backend: time 1.403e-06/0.4787, allocations: 0 / 0.6283 GB, free: 82.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007792/0.4865, allocations: 5.62 MB / 0.6338 GB, free: 77.05 MB / 462.1 MB Notification: Performance of SimCode: time 0.005748/0.4923, allocations: 5.783 MB / 0.6394 GB, free: 71.29 MB / 462.1 MB Notification: Performance of Templates: time 0.06594/0.5582, allocations: 51.37 MB / 0.6896 GB, free: 20.11 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)