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.001081/0.001082, allocations: 109.3 kB / 16.37 MB, free: 6.477 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.001303/0.001303, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07302/0.07302, allocations: 16.75 MB / 307.9 MB, free: 14.47 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 69.53 kB / 373.2 MB, free: 48.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1051, allocations: 53.56 MB / 426.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators): time 0.315/0.4201, allocations: 94.45 MB / 0.509 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03638/0.4566, allocations: 23.38 MB / 0.5318 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01167/0.4683, allocations: 250.3 kB / 0.532 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009625/0.4779, allocations: 3.03 MB / 0.535 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02484/0.5028, allocations: 8.217 MB / 0.543 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01311/0.5159, allocations: 5.07 MB / 0.548 GB, free: 5.492 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03062/0.5465, allocations: 20.61 MB / 0.5681 GB, free: 8.938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01118/0.5579, allocations: 5.1 MB / 0.5731 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01302/0.571, allocations: 6.806 MB / 0.5797 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01246/0.5834, allocations: 7.108 MB / 0.5867 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004848/0.5883, allocations: 1.156 MB / 0.5878 GB, free: 5.035 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009742/0.5981, allocations: 2.091 MB / 0.5898 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004419/0.6025, allocations: 2.453 MB / 0.5922 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01292/0.6155, allocations: 6.736 MB / 0.5988 GB, free: 9.859 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02338/0.6389, allocations: 17.37 MB / 0.6158 GB, free: 9.039 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.6389, allocations: 0 / 0.6158 GB, free: 9.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.6389, allocations: 0 / 0.6158 GB, free: 9.039 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004539/0.6394, allocations: 0 / 0.6158 GB, free: 9.039 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.04876/0.6882, allocations: 14.39 MB / 0.6298 GB, free: 10.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.6882, allocations: 16.03 kB / 0.6298 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01456/0.7028, allocations: 2.492 MB / 0.6323 GB, free: 8.184 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01715/0.72, allocations: 7.518 MB / 0.6396 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005046/0.7205, allocations: 0.609 MB / 0.6402 GB, free: 132 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001855/0.7224, allocations: 0.8215 MB / 0.641 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01605/0.7384, allocations: 9.207 MB / 0.65 GB, free: 5.125 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001416/0.7386, allocations: 47.56 kB / 0.65 GB, free: 5.078 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007743/0.7394, allocations: 348 kB / 0.6504 GB, free: 4.738 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001439/0.7395, allocations: 204 kB / 0.6506 GB, free: 4.539 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01344/0.753, allocations: 7.336 MB / 0.6577 GB, free: 13.18 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.4762/1.229, allocations: 58.64 MB / 0.715 GB, free: 159.5 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0121/1.241, allocations: 10.09 MB / 0.7248 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004948/1.246, allocations: 2.863 MB / 0.7276 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000351/1.247, allocations: 98.97 kB / 0.7277 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.774e-05/1.247, allocations: 118.1 kB / 0.7279 GB, free: 155 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=683): time 8.727e-06/1.247, allocations: 0 / 0.7279 GB, free: 155 MB / 0.5138 GB Notification: Performance of matching and sorting (n=683): time 0.04296/1.29, allocations: 14.55 MB / 0.7421 GB, free: 151.2 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/1.29, allocations: 355.4 kB / 0.7424 GB, free: 150.8 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01493/1.305, allocations: 8.15 MB / 0.7504 GB, free: 146.7 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.00185/1.307, allocations: 184.2 kB / 0.7505 GB, free: 146.5 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004847/1.312, allocations: 4.354 MB / 0.7548 GB, free: 143.6 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.003724/1.315, allocations: 2.668 MB / 0.7574 GB, free: 141.3 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009013/1.324, allocations: 3.577 MB / 0.7609 GB, free: 139.2 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 6.607e-05/1.325, allocations: 304.6 kB / 0.7612 GB, free: 138.9 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01045/1.335, allocations: 5.554 MB / 0.7666 GB, free: 136.1 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01297/1.348, allocations: 7.657 MB / 0.7741 GB, free: 128.2 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01877/1.367, allocations: 10.78 MB / 0.7846 GB, free: 117.1 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.429e-05/1.367, allocations: 8 kB / 0.7846 GB, free: 117.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2546) (initialization): time 0.048/1.415, allocations: 19.42 MB / 0.8036 GB, free: 97.63 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.78e-05/1.415, allocations: 20.55 kB / 0.8036 GB, free: 97.61 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.2e-05/1.415, allocations: 28 kB / 0.8036 GB, free: 97.58 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02511/1.44, allocations: 4.93 MB / 0.8084 GB, free: 92.59 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01532/1.456, allocations: 3.796 MB / 0.8121 GB, free: 88.79 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05437/1.51, allocations: 53.43 MB / 0.8643 GB, free: 32.02 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0182/1.528, allocations: 1.376 MB / 0.8657 GB, free: 30.64 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003471/1.532, allocations: 0.6171 MB / 0.8663 GB, free: 30.02 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01585/1.548, allocations: 6.771 MB / 0.8729 GB, free: 23.24 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01223/1.56, allocations: 7.408 MB / 0.8801 GB, free: 15.41 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01645/1.576, allocations: 10.45 MB / 0.8903 GB, free: 4.535 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.369e-05/1.577, allocations: 8 kB / 0.8903 GB, free: 4.527 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2546) (initialization_lambda0): time 0.287/1.864, allocations: 17.72 MB / 0.9076 GB, free: 166 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 4.823e-05/1.864, allocations: 23.84 kB / 0.9077 GB, free: 166 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.869e-05/1.864, allocations: 31.72 kB / 0.9077 GB, free: 166 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0209/1.885, allocations: 3.835 MB / 0.9114 GB, free: 165.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01533/1.9, allocations: 3.939 MB / 0.9153 GB, free: 165.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03647/1.937, allocations: 43.01 MB / 0.9573 GB, free: 131.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01501/1.952, allocations: 1.077 MB / 0.9583 GB, free: 131.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002215/1.954, allocations: 0.6148 MB / 0.9589 GB, free: 131.3 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.002719/1.957, allocations: 0.9937 MB / 0.9599 GB, free: 130.4 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002595/1.959, allocations: 0.926 MB / 0.9608 GB, free: 130.4 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/1.972, allocations: 7.285 MB / 0.9679 GB, free: 127.3 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.005e-05/1.972, allocations: 33.23 kB / 0.968 GB, free: 127.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.972, allocations: 0 / 0.968 GB, free: 127.3 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006716/1.979, allocations: 1.898 MB / 0.9698 GB, free: 126.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003161/1.982, allocations: 117.7 kB / 0.9699 GB, free: 126.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009202/1.992, allocations: 316.7 kB / 0.9702 GB, free: 126.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00139/1.993, allocations: 0.5046 MB / 0.9707 GB, free: 126.3 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01842/2.011, allocations: 7.206 MB / 0.9777 GB, free: 120.3 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01487/2.026, allocations: 8.794 MB / 0.9863 GB, free: 111.6 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003263/2.03, allocations: 2.392 MB / 0.9887 GB, free: 109.2 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.008028/2.038, allocations: 4.966 MB / 0.9935 GB, free: 104.3 MB / 0.5138 GB Notification: Performance of Backend: time 7.61e-07/2.038, allocations: 0 / 0.9935 GB, free: 104.3 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.06207/2.1, allocations: 30.1 MB / 1.023 GB, free: 73.78 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.03929/2.139, allocations: 17.81 MB / 1.04 GB, free: 56.11 MB / 0.5138 GB Notification: Performance of Templates: time 0.5387/2.678, allocations: 223.9 MB / 1.259 GB, free: 8.922 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 cvode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators.pipe 2>&1)