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.001561/0.001561, allocations: 103.2 kB / 16.36 MB, free: 5.828 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.001703/0.001703, allocations: 195.5 kB / 17.29 MB, free: 5.484 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07424/0.07424, allocations: 16.75 MB / 307.9 MB, free: 14.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.28 kB / 373.1 MB, free: 48.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08963/0.09106, allocations: 53.57 MB / 426.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.02271/0.1138, allocations: 29.87 MB / 456.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0146/0.1285, allocations: 8.546 MB / 465.1 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004424/0.1329, allocations: 67.69 kB / 465.2 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004094/0.1371, allocations: 1.122 MB / 466.3 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01211/0.1492, allocations: 3.667 MB / 470 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003892/0.1532, allocations: 1.279 MB / 471.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0106/0.1638, allocations: 6.731 MB / 478 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.1651, allocations: 481.3 kB / 478.5 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004049/0.1692, allocations: 2.19 MB / 480.7 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004233/0.1734, allocations: 2.392 MB / 483 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009773/0.1744, allocations: 256 kB / 483.3 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003435/0.1779, allocations: 0.7614 MB / 484.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008007/0.1787, allocations: 0.6374 MB / 484.7 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004513/0.1832, allocations: 2.122 MB / 486.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006469/0.1897, allocations: 4.762 MB / 491.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1897, allocations: 4 kB / 491.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1898, allocations: 0 / 491.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001032/0.1899, allocations: 0 / 491.6 MB, free: 10.88 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: 654 * Number of variables: 654 Notification: Performance of Generate backend data structure: time 0.01911/0.209, allocations: 5.139 MB / 496.7 MB, free: 5.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.2091, allocations: 12.02 kB / 496.7 MB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00285/0.2119, allocations: 0.5508 MB / 497.3 MB, free: 5.102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005599/0.2175, allocations: 2.273 MB / 499.6 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.2177, allocations: 201.5 kB / 499.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003471/0.2181, allocations: 272.4 kB / 0.4883 GB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005298/0.2234, allocations: 3.156 MB / 0.4914 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.512e-05/0.2235, allocations: 23.75 kB / 0.4914 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003187/0.2238, allocations: 120 kB / 0.4915 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.194e-05/0.2239, allocations: 68 kB / 0.4916 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004185/0.2281, allocations: 2.415 MB / 0.4939 GB, free: 12.02 MB / 382.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.2257/0.4538, allocations: 22.25 MB / 0.5157 GB, free: 62.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004509/0.4584, allocations: 3.188 MB / 0.5188 GB, free: 61.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.4596, allocations: 0.7786 MB / 0.5195 GB, free: 61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.4598, allocations: 27.92 kB / 0.5196 GB, free: 60.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.4598, allocations: 68.78 kB / 0.5196 GB, free: 60.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=215): time 4.328e-06/0.4598, allocations: 1.969 kB / 0.5196 GB, free: 60.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=215): time 0.008711/0.4686, allocations: 3.394 MB / 0.523 GB, free: 60.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.4686, allocations: 78.19 kB / 0.523 GB, free: 60.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00526/0.4739, allocations: 2.991 MB / 0.526 GB, free: 59.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003073/0.4742, allocations: 73.08 kB / 0.526 GB, free: 59.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.4753, allocations: 1.59 MB / 0.5276 GB, free: 58.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008571/0.4762, allocations: 0.8745 MB / 0.5284 GB, free: 57.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002143/0.4783, allocations: 1.46 MB / 0.5299 GB, free: 56.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.261e-05/0.4784, allocations: 303.9 kB / 0.5301 GB, free: 56.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00294/0.4813, allocations: 1.905 MB / 0.532 GB, free: 55.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002881/0.4842, allocations: 2.597 MB / 0.5345 GB, free: 54.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004098/0.4883, allocations: 3.641 MB / 0.5381 GB, free: 52.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.646e-05/0.4883, allocations: 6.312 kB / 0.5381 GB, free: 52.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=1058) (initialization): time 0.008612/0.497, allocations: 6.4 MB / 0.5444 GB, free: 48.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.497, allocations: 8 kB / 0.5444 GB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.632e-05/0.497, allocations: 8.734 kB / 0.5444 GB, free: 48.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003597/0.5006, allocations: 0.7883 MB / 0.5451 GB, free: 47.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005522/0.5062, allocations: 1.631 MB / 0.5467 GB, free: 46.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00742/0.5136, allocations: 7.423 MB / 0.554 GB, free: 38.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006251/0.5199, allocations: 0.5035 MB / 0.5545 GB, free: 37.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005725/0.5205, allocations: 256 kB / 0.5547 GB, free: 37.46 MB / 382.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 (1019): * Single equations (assignments): 1016 * 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 {(12,0), (28,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001227/0.5217, allocations: 0.6814 MB / 0.5554 GB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006275/0.5224, allocations: 336 kB / 0.5557 GB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003196/0.5256, allocations: 2.133 MB / 0.5578 GB, free: 34.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.5256, allocations: 7.969 kB / 0.5578 GB, free: 34.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.5256, allocations: 0 / 0.5578 GB, free: 34.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/0.5272, allocations: 0.6645 MB / 0.5584 GB, free: 33.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005596/0.5278, allocations: 36 kB / 0.5585 GB, free: 33.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/0.53, allocations: 99.92 kB / 0.5586 GB, free: 33.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/0.5302, allocations: 149.8 kB / 0.5587 GB, free: 33.32 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003633/0.5338, allocations: 2.057 MB / 0.5607 GB, free: 31.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003176/0.537, allocations: 2.553 MB / 0.5632 GB, free: 28.71 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006793/0.5377, allocations: 0.6319 MB / 0.5638 GB, free: 28.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002239/0.54, allocations: 1.799 MB / 0.5656 GB, free: 26.29 MB / 382.1 MB Notification: Performance of Backend: time 4e-07/0.54, allocations: 0 / 0.5656 GB, free: 26.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008427/0.5484, allocations: 4.815 MB / 0.5703 GB, free: 21.48 MB / 382.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.007931/0.5564, allocations: 5.29 MB / 0.5755 GB, free: 16.18 MB / 382.1 MB Notification: Performance of Templates: time 0.07201/0.6284, allocations: 45.07 MB / 0.6195 GB, free: 3.285 MB / 414.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 -s cvode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)