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.005804/0.005804, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001102/0.001102, allocations: 185.5 kB / 16.67 MB, free: 5.98 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1829/0.1829, allocations: 16.77 MB / 307.3 MB, free: 14.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 69.73 kB / 426.6 MB, free: 36.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0948/0.09663, allocations: 53.57 MB / 480.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.02267/0.1193, allocations: 30.19 MB / 0.4984 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01445/0.1338, allocations: 8.657 MB / 0.5068 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004178/0.138, allocations: 63.69 kB / 0.5069 GB, free: 5.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004009/0.1421, allocations: 1.149 MB / 0.508 GB, free: 4.523 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01089/0.153, allocations: 3.942 MB / 0.5119 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004099/0.1572, allocations: 1.526 MB / 0.5134 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01005/0.1672, allocations: 6.946 MB / 0.5201 GB, free: 8.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.1684, allocations: 0.49 MB / 0.5206 GB, free: 7.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004119/0.1726, allocations: 2.346 MB / 0.5229 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004619/0.1772, allocations: 2.552 MB / 0.5254 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001275/0.1785, allocations: 276 kB / 0.5257 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003034/0.1816, allocations: 0.7849 MB / 0.5264 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008016/0.1824, allocations: 0.7152 MB / 0.5271 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003735/0.1861, allocations: 2.219 MB / 0.5293 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008424/0.1946, allocations: 5.027 MB / 0.5342 GB, free: 9.664 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.1946, allocations: 0 / 0.5342 GB, free: 9.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.1946, allocations: 0 / 0.5342 GB, free: 9.664 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001453/0.1948, allocations: 0 / 0.5342 GB, free: 9.664 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.02402/0.2188, allocations: 6.381 MB / 0.5404 GB, free: 3.211 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.2189, allocations: 8.031 kB / 0.5404 GB, free: 3.203 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002613/0.2215, allocations: 0.574 MB / 0.541 GB, free: 2.625 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005403/0.2269, allocations: 2.329 MB / 0.5433 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/0.2271, allocations: 221.9 kB / 0.5435 GB, free: 4 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004776/0.2276, allocations: 288.5 kB / 0.5438 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006368/0.234, allocations: 3.406 MB / 0.5471 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.4e-05/0.2341, allocations: 27.81 kB / 0.5471 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003141/0.2344, allocations: 124 kB / 0.5472 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.286e-05/0.2345, allocations: 76 kB / 0.5473 GB, free: 11.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004627/0.2391, allocations: 2.697 MB / 0.5499 GB, free: 8.887 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.02598/0.2651, allocations: 22.09 MB / 0.5715 GB, free: 1.777 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004784/0.27, allocations: 2.436 MB / 0.5739 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.2714, allocations: 0.916 MB / 0.5748 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.2716, allocations: 37.83 kB / 0.5748 GB, free: 14.4 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/0.2717, allocations: 68.56 kB / 0.5749 GB, free: 14.32 MB / 462.1 MB Notification: Performance of pre-optimization done (n=251): time 4.819e-06/0.2717, allocations: 0 / 0.5749 GB, free: 14.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=251): time 0.0145/0.2862, allocations: 4.744 MB / 0.5795 GB, free: 9.504 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.2863, allocations: 77.41 kB / 0.5796 GB, free: 9.418 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005211/0.2915, allocations: 3.212 MB / 0.5827 GB, free: 6.207 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004297/0.2919, allocations: 77.7 kB / 0.5828 GB, free: 6.125 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001422/0.2934, allocations: 1.575 MB / 0.5843 GB, free: 4.531 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00141/0.2948, allocations: 1.015 MB / 0.5853 GB, free: 3.504 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002615/0.2974, allocations: 1.624 MB / 0.5869 GB, free: 1.867 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.2975, allocations: 309.2 kB / 0.5872 GB, free: 1.562 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2459/0.5435, allocations: 2.192 MB / 0.5893 GB, free: 103.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005141/0.5486, allocations: 2.942 MB / 0.5922 GB, free: 102.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007421/0.5561, allocations: 4.212 MB / 0.5963 GB, free: 101.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.917e-05/0.5562, allocations: 5.5 kB / 0.5963 GB, free: 101.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01656/0.5727, allocations: 7.305 MB / 0.6035 GB, free: 99.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.711e-05/0.5728, allocations: 10.12 kB / 0.6035 GB, free: 99.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-05/0.5729, allocations: 3.969 kB / 0.6035 GB, free: 99.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004484/0.5773, allocations: 0.8913 MB / 0.6044 GB, free: 99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006666/0.584, allocations: 1.741 MB / 0.6061 GB, free: 98.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.5944, allocations: 8.873 MB / 0.6147 GB, free: 92.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006726/0.6011, allocations: 0.5731 MB / 0.6153 GB, free: 92.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006856/0.6018, allocations: 275.5 kB / 0.6155 GB, free: 92.53 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.001404/0.6032, allocations: 0.7208 MB / 0.6163 GB, free: 91.97 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007026/0.6039, allocations: 361.7 kB / 0.6166 GB, free: 91.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004237/0.6082, allocations: 2.598 MB / 0.6191 GB, free: 90.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/0.6082, allocations: 15.98 kB / 0.6191 GB, free: 90.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.6082, allocations: 3.625 kB / 0.6192 GB, free: 90.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/0.6096, allocations: 0.7315 MB / 0.6199 GB, free: 90.45 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004756/0.6101, allocations: 37.97 kB / 0.6199 GB, free: 90.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/0.6124, allocations: 113.9 kB / 0.62 GB, free: 90.33 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/0.6127, allocations: 177.4 kB / 0.6202 GB, free: 90.23 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00509/0.6178, allocations: 2.499 MB / 0.6226 GB, free: 88.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00406/0.6218, allocations: 3.083 MB / 0.6256 GB, free: 85.29 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008939/0.6227, allocations: 0.7755 MB / 0.6264 GB, free: 84.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002384/0.6251, allocations: 1.922 MB / 0.6283 GB, free: 82.61 MB / 462.1 MB Notification: Performance of Backend: time 6.21e-07/0.6251, allocations: 3.938 kB / 0.6283 GB, free: 82.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01003/0.6352, allocations: 5.615 MB / 0.6338 GB, free: 77.05 MB / 462.1 MB Notification: Performance of SimCode: time 0.008567/0.6438, allocations: 5.786 MB / 0.6394 GB, free: 71.3 MB / 462.1 MB Notification: Performance of Templates: time 0.072/0.7158, allocations: 51.38 MB / 0.6896 GB, free: 20.1 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)