Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.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.TwoGeneratorsLocalInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 112.6 kB / 16.37 MB, free: 6 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.00107/0.001071, allocations: 196 kB / 17.31 MB, free: 5.613 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07713/0.07713, allocations: 16.73 MB / 307.9 MB, free: 14.48 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001301, allocations: 63.06 kB / 373.2 MB, free: 48.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08619/0.08751, allocations: 53.57 MB / 426.7 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization): time 0.2453/0.3329, allocations: 94.46 MB / 0.509 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03085/0.3638, allocations: 23.38 MB / 0.5318 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01129/0.3751, allocations: 244.3 kB / 0.532 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009215/0.3843, allocations: 3.031 MB / 0.535 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02142/0.4058, allocations: 8.218 MB / 0.543 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0109/0.4167, allocations: 5.082 MB / 0.548 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02376/0.4405, allocations: 20.61 MB / 0.5681 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00884/0.4494, allocations: 5.099 MB / 0.5731 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01296/0.4623, allocations: 6.805 MB / 0.5797 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01141/0.4738, allocations: 7.115 MB / 0.5867 GB, free: 6.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003584/0.4774, allocations: 1.164 MB / 0.5878 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007324/0.4848, allocations: 2.091 MB / 0.5899 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003439/0.4882, allocations: 2.466 MB / 0.5923 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01164/0.4999, allocations: 6.746 MB / 0.5989 GB, free: 9.977 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02308/0.523, allocations: 17.39 MB / 0.6158 GB, free: 9.133 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.523, allocations: 0 / 0.6158 GB, free: 9.133 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5231, allocations: 4 kB / 0.6158 GB, free: 9.129 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005995/0.5237, allocations: 0 / 0.6158 GB, free: 9.129 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1950 * Number of variables: 1950 Notification: Performance of Generate backend data structure: time 0.04681/0.5705, allocations: 14.41 MB / 0.6299 GB, free: 10.76 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.5705, allocations: 16.03 kB / 0.6299 GB, free: 10.74 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/0.5848, allocations: 2.552 MB / 0.6324 GB, free: 8.195 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01638/0.6012, allocations: 7.529 MB / 0.6398 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005322/0.6018, allocations: 0.6809 MB / 0.6404 GB, free: 52 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001535/0.6033, allocations: 0.832 MB / 0.6412 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01448/0.6178, allocations: 9.199 MB / 0.6502 GB, free: 5.043 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001407/0.618, allocations: 43.56 kB / 0.6503 GB, free: 5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007427/0.6188, allocations: 348 kB / 0.6506 GB, free: 4.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000154/0.6189, allocations: 200 kB / 0.6508 GB, free: 4.465 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0133/0.6322, allocations: 7.341 MB / 0.658 GB, free: 13.11 MB / 494.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.409/1.041, allocations: 58.75 MB / 0.7153 GB, free: 159.4 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/1.053, allocations: 9.157 MB / 0.7243 GB, free: 156.2 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004911/1.058, allocations: 2.874 MB / 0.7271 GB, free: 156.1 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003414/1.058, allocations: 96.61 kB / 0.7272 GB, free: 156.1 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.16e-05/1.058, allocations: 129.7 kB / 0.7273 GB, free: 156.1 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=691): time 8.736e-06/1.058, allocations: 0.5469 kB / 0.7273 GB, free: 156.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=691): time 0.04622/1.105, allocations: 15.42 MB / 0.7424 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/1.105, allocations: 363.2 kB / 0.7427 GB, free: 151.4 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01358/1.118, allocations: 8.15 MB / 0.7507 GB, free: 147.3 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001394/1.12, allocations: 184.7 kB / 0.7508 GB, free: 147.2 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00349/1.123, allocations: 4.347 MB / 0.7551 GB, free: 144.2 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.003052/1.126, allocations: 2.699 MB / 0.7577 GB, free: 141.9 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006784/1.133, allocations: 3.587 MB / 0.7612 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.347e-05/1.133, allocations: 303.8 kB / 0.7615 GB, free: 139.5 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009947/1.143, allocations: 5.61 MB / 0.767 GB, free: 136.5 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01221/1.155, allocations: 7.716 MB / 0.7745 GB, free: 128.3 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0179/1.173, allocations: 10.88 MB / 0.7852 GB, free: 117.1 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.428e-05/1.174, allocations: 8 kB / 0.7852 GB, free: 117.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2562) (initialization): time 0.04291/1.216, allocations: 19.67 MB / 0.8044 GB, free: 97.4 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.899e-05/1.217, allocations: 22.5 kB / 0.8044 GB, free: 97.38 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.475e-05/1.217, allocations: 28 kB / 0.8044 GB, free: 97.35 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02767/1.244, allocations: 5.273 MB / 0.8096 GB, free: 92.02 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01495/1.259, allocations: 3.807 MB / 0.8133 GB, free: 88.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05656/1.316, allocations: 56.7 MB / 0.8687 GB, free: 27.89 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0155/1.331, allocations: 1.371 MB / 0.87 GB, free: 26.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002626/1.334, allocations: 0.621 MB / 0.8706 GB, free: 25.88 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01514/1.349, allocations: 6.822 MB / 0.8773 GB, free: 19.05 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01186/1.361, allocations: 7.464 MB / 0.8846 GB, free: 11.13 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01681/1.378, allocations: 10.56 MB / 0.8949 GB, free: 152 kB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.634e-05/1.378, allocations: 8 kB / 0.8949 GB, free: 144 kB / 0.5138 GB Notification: Performance of matching and sorting (n=2562) (initialization_lambda0): time 0.2566/1.635, allocations: 17.94 MB / 0.9124 GB, free: 167 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.32e-05/1.635, allocations: 24.03 kB / 0.9124 GB, free: 167 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.602e-05/1.635, allocations: 31 kB / 0.9124 GB, free: 167 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02398/1.659, allocations: 4.132 MB / 0.9165 GB, free: 166.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01624/1.675, allocations: 3.959 MB / 0.9203 GB, free: 166.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03899/1.714, allocations: 48.19 MB / 0.9674 GB, free: 125.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01527/1.729, allocations: 1.091 MB / 0.9685 GB, free: 124.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00259/1.732, allocations: 0.6209 MB / 0.9691 GB, free: 124.7 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * Number of states: 0 () * Number of discrete variables: 20 (NTLV2.componentPF.isSlackBus,GRIDL2.componentPF.isSlackBus,GRIDL1.componentPF.isSlackBus,NTHV2.componentPF.isSlackBus,GEN2.GEN.componentPF.isSlackBus,GEN2.isSlackBus,GEN1.GEN.componentPF.isSlackBus,GEN1.isSlackBus,NTHV1.componentPF.isSlackBus,NTLV1.componentPF.isSlackBus,GEN2.PSS.firstWashoutVsi2.integrator.local_reset,GEN2.PSS.secondWashoutVsi1.integrator.local_reset,GEN2.PSS.firstWashoutVsi1.integrator.local_reset,GEN2.AVR.firstOrderLim.I.local_reset,GEN2.TGOV.firstOrderLim.I.local_reset,GEN1.PSS.firstWashoutVsi2.integrator.local_reset,GEN1.PSS.secondWashoutVsi1.integrator.local_reset,GEN1.PSS.firstWashoutVsi1.integrator.local_reset,GEN1.AVR.firstOrderLim.I.local_reset,GEN1.TGOV.firstOrderLim.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2374): * Single equations (assignments): 2348 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 26 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%), (3,0,66.7%), (3,0,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 16 systems {(10,0), (32,0), (10,0), (16,0), (32,0), (32,0), (10,0), (32,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.003058/1.735, allocations: 0.9957 MB / 0.97 GB, free: 123.8 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002524/1.738, allocations: 0.9319 MB / 0.971 GB, free: 123.8 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/1.75, allocations: 7.41 MB / 0.9782 GB, free: 117.7 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.781e-05/1.75, allocations: 29.86 kB / 0.9782 GB, free: 117.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/1.75, allocations: 3.75 kB / 0.9782 GB, free: 117.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005664/1.756, allocations: 1.914 MB / 0.9801 GB, free: 116.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002717/1.759, allocations: 127.9 kB / 0.9802 GB, free: 116.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00754/1.766, allocations: 318.8 kB / 0.9805 GB, free: 116.2 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001066/1.767, allocations: 0.5166 MB / 0.981 GB, free: 115.9 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01448/1.782, allocations: 7.309 MB / 0.9882 GB, free: 109.7 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01218/1.794, allocations: 8.917 MB / 0.9969 GB, free: 100.7 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003009/1.797, allocations: 2.419 MB / 0.9992 GB, free: 98.29 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007996/1.805, allocations: 4.97 MB / 1.004 GB, free: 93.36 MB / 0.5138 GB Notification: Performance of Backend: time 9.22e-07/1.805, allocations: 0 / 1.004 GB, free: 93.36 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.05947/1.865, allocations: 30.97 MB / 1.034 GB, free: 61.93 MB / 0.5138 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.03776/1.903, allocations: 17.97 MB / 1.052 GB, free: 44.1 MB / 0.5138 GB Notification: Performance of Templates: time 0.7504/2.653, allocations: 227.7 MB / 1.274 GB, free: 168.7 MB / 0.5294 GB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.pipe 2>&1)