Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators.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.TwoGenerators,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 103.1 kB / 16.35 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.001186/0.001186, allocations: 193.2 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.282/1.282, allocations: 222.9 MB / 241 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.07611/0.07611, allocations: 16.74 MB / 307.9 MB, free: 14.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 62.33 kB / 373.1 MB, free: 48.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08252/0.08406, allocations: 53.57 MB / 426.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators): time 0.2462/0.3303, allocations: 94.45 MB / 0.509 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03077/0.3611, allocations: 23.38 MB / 0.5318 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01045/0.3715, allocations: 244.3 kB / 0.532 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008805/0.3804, allocations: 3.034 MB / 0.535 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02169/0.4021, allocations: 8.212 MB / 0.543 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01096/0.4131, allocations: 5.079 MB / 0.548 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02299/0.4361, allocations: 20.61 MB / 0.5681 GB, free: 8.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009184/0.4453, allocations: 5.097 MB / 0.5731 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01097/0.4563, allocations: 6.807 MB / 0.5797 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01123/0.4675, allocations: 7.102 MB / 0.5866 GB, free: 6.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003576/0.4711, allocations: 1.156 MB / 0.5878 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007637/0.4788, allocations: 2.098 MB / 0.5898 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003387/0.4822, allocations: 2.457 MB / 0.5922 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01133/0.4935, allocations: 6.733 MB / 0.5988 GB, free: 9.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02093/0.5145, allocations: 17.36 MB / 0.6158 GB, free: 9.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5145, allocations: 0 / 0.6158 GB, free: 9.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5145, allocations: 0 / 0.6158 GB, free: 9.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003414/0.5149, allocations: 4 kB / 0.6158 GB, free: 9.016 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.04619/0.5611, allocations: 14.39 MB / 0.6298 GB, free: 10.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.5611, allocations: 8.031 kB / 0.6298 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01419/0.5753, allocations: 2.495 MB / 0.6323 GB, free: 8.168 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01756/0.5929, allocations: 7.522 MB / 0.6396 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005868/0.5935, allocations: 0.6129 MB / 0.6402 GB, free: 108 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002092/0.5956, allocations: 0.8206 MB / 0.641 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01613/0.6118, allocations: 9.195 MB / 0.65 GB, free: 5.113 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001375/0.612, allocations: 51.5 kB / 0.65 GB, free: 5.062 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008301/0.6128, allocations: 348 kB / 0.6504 GB, free: 4.723 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001495/0.613, allocations: 204 kB / 0.6506 GB, free: 4.523 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/0.6265, allocations: 7.336 MB / 0.6577 GB, free: 13.17 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.4146/1.041, allocations: 58.64 MB / 0.715 GB, free: 159.4 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/1.052, allocations: 10.1 MB / 0.7248 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004302/1.057, allocations: 2.861 MB / 0.7276 GB, free: 155 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003094/1.057, allocations: 95.75 kB / 0.7277 GB, free: 155 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.648e-05/1.057, allocations: 117.7 kB / 0.7278 GB, free: 155 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=683): time 8.886e-06/1.057, allocations: 3.562 kB / 0.7278 GB, free: 155 MB / 0.5138 GB Notification: Performance of matching and sorting (n=683): time 0.04101/1.098, allocations: 14.55 MB / 0.7421 GB, free: 151.1 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9e-05/1.098, allocations: 358.7 kB / 0.7424 GB, free: 150.8 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01099/1.109, allocations: 8.154 MB / 0.7504 GB, free: 146.6 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001147/1.111, allocations: 184.6 kB / 0.7505 GB, free: 146.5 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002901/1.113, allocations: 4.351 MB / 0.7548 GB, free: 143.6 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002498/1.116, allocations: 2.674 MB / 0.7574 GB, free: 141.3 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005073/1.121, allocations: 3.57 MB / 0.7609 GB, free: 139.2 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.276e-05/1.121, allocations: 301.1 kB / 0.7612 GB, free: 138.9 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008791/1.13, allocations: 5.56 MB / 0.7666 GB, free: 136 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01079/1.141, allocations: 7.653 MB / 0.7741 GB, free: 128.2 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01731/1.158, allocations: 10.78 MB / 0.7846 GB, free: 117.1 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.259e-05/1.158, allocations: 11.39 kB / 0.7846 GB, free: 117.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2546) (initialization): time 0.04458/1.203, allocations: 19.41 MB / 0.8036 GB, free: 97.61 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-05/1.203, allocations: 16 kB / 0.8036 GB, free: 97.59 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.544e-05/1.203, allocations: 32 kB / 0.8036 GB, free: 97.56 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02531/1.228, allocations: 4.928 MB / 0.8084 GB, free: 92.57 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01454/1.243, allocations: 3.799 MB / 0.8121 GB, free: 88.77 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05204/1.295, allocations: 53.44 MB / 0.8643 GB, free: 31.99 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01861/1.314, allocations: 1.372 MB / 0.8657 GB, free: 30.61 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003396/1.317, allocations: 0.621 MB / 0.8663 GB, free: 29.99 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01637/1.333, allocations: 6.767 MB / 0.8729 GB, free: 23.21 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01131/1.345, allocations: 7.409 MB / 0.8801 GB, free: 15.38 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01546/1.36, allocations: 10.45 MB / 0.8903 GB, free: 4.512 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.02e-05/1.36, allocations: 8 kB / 0.8903 GB, free: 4.504 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2546) (initialization_lambda0): time 0.2188/1.579, allocations: 17.73 MB / 0.9076 GB, free: 165.8 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/1.579, allocations: 17.25 kB / 0.9077 GB, free: 165.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.819e-05/1.579, allocations: 28.16 kB / 0.9077 GB, free: 165.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02191/1.601, allocations: 3.836 MB / 0.9114 GB, free: 165.6 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01522/1.616, allocations: 3.941 MB / 0.9153 GB, free: 165.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03594/1.652, allocations: 43 MB / 0.9573 GB, free: 131.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01641/1.669, allocations: 1.078 MB / 0.9583 GB, free: 131.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002728/1.672, allocations: 0.6136 MB / 0.9589 GB, free: 131.1 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 (2364): * Single equations (assignments): 2340 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * 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): 14 systems {(38,0), (10,0), (16,0), (60,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.003759/1.675, allocations: 0.9961 MB / 0.9599 GB, free: 130.2 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003071/1.678, allocations: 0.9315 MB / 0.9608 GB, free: 130.2 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/1.693, allocations: 7.279 MB / 0.9679 GB, free: 127.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.618e-05/1.693, allocations: 33.75 kB / 0.9679 GB, free: 127.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/1.693, allocations: 3.875 kB / 0.968 GB, free: 127.1 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005873/1.698, allocations: 1.898 MB / 0.9698 GB, free: 126.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002558/1.701, allocations: 122.7 kB / 0.9699 GB, free: 126.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006885/1.708, allocations: 308.8 kB / 0.9702 GB, free: 126.1 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008299/1.709, allocations: 0.5055 MB / 0.9707 GB, free: 126.1 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01498/1.724, allocations: 7.196 MB / 0.9777 GB, free: 120.3 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01289/1.737, allocations: 8.804 MB / 0.9863 GB, free: 111.5 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003079/1.74, allocations: 2.389 MB / 0.9887 GB, free: 109.1 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007948/1.748, allocations: 4.97 MB / 0.9935 GB, free: 104.2 MB / 0.5138 GB Notification: Performance of Backend: time 4.71e-07/1.748, allocations: 0 / 0.9935 GB, free: 104.2 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.05442/1.802, allocations: 30.1 MB / 1.023 GB, free: 73.73 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.03128/1.834, allocations: 17.82 MB / 1.04 GB, free: 56.05 MB / 0.5138 GB Notification: Performance of Templates: time 0.4645/2.298, allocations: 223.9 MB / 1.259 GB, free: 8.902 MB / 0.5138 GB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators.pipe 2>&1)