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.001178/0.001182, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.198/1.198, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1595/0.1595, allocations: 16.79 MB / 307.2 MB, free: 14.84 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 55.91 kB / 371.8 MB, free: 3.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.218, allocations: 53.54 MB / 425.3 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization): time 0.05781/0.2758, allocations: 95.09 MB / 0.5082 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03692/0.3128, allocations: 23.57 MB / 0.5312 GB, free: 14.48 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter UNom has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter SNom has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter UNom has annotation(Evaluate=true) and no binding. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter SNom has annotation(Evaluate=true) and no binding. Notification: Performance of NFInst.updateImplicitVariability: time 0.01144/0.3242, allocations: 250.6 kB / 0.5315 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01026/0.3345, allocations: 3.06 MB / 0.5345 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02386/0.3584, allocations: 8.253 MB / 0.5425 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01253/0.371, allocations: 5.34 MB / 0.5477 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02532/0.3963, allocations: 20.82 MB / 0.5681 GB, free: 8.852 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01046/0.4068, allocations: 5.179 MB / 0.5731 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1923/0.5991, allocations: 6.895 MB / 0.5799 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009287/0.6085, allocations: 7.294 MB / 0.587 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003084/0.6116, allocations: 1.202 MB / 0.5882 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006823/0.6184, allocations: 2.134 MB / 0.5902 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00289/0.6213, allocations: 2.551 MB / 0.5927 GB, free: 26.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01165/0.633, allocations: 6.868 MB / 0.5994 GB, free: 24.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02263/0.6556, allocations: 17.52 MB / 0.6166 GB, free: 22.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.6557, allocations: 1.188 kB / 0.6166 GB, free: 22.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.6557, allocations: 0 / 0.6166 GB, free: 22.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.00048/0.6562, allocations: 0 / 0.6166 GB, free: 22.72 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: 2006 * Number of variables: 2006 Notification: Performance of Generate backend data structure: time 0.05282/0.709, allocations: 15.67 MB / 0.6319 GB, free: 17.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.709, allocations: 10.91 kB / 0.6319 GB, free: 17.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01346/0.7225, allocations: 2.566 MB / 0.6344 GB, free: 16.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01369/0.7362, allocations: 7.392 MB / 0.6416 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003776/0.7366, allocations: 0.6967 MB / 0.6423 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001419/0.7381, allocations: 0.8466 MB / 0.6431 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01179/0.7499, allocations: 9.493 MB / 0.6524 GB, free: 5.273 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001279/0.75, allocations: 46.62 kB / 0.6524 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007198/0.7507, allocations: 358.2 kB / 0.6528 GB, free: 4.906 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.008e-05/0.7508, allocations: 204 kB / 0.653 GB, free: 4.707 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01168/0.7625, allocations: 7.681 MB / 0.6605 GB, free: 13.26 MB / 462.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.0758/0.8383, allocations: 59.15 MB / 0.7182 GB, free: 372 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01416/0.8525, allocations: 8.74 MB / 0.7268 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005014/0.8576, allocations: 3.047 MB / 0.7297 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003831/0.858, allocations: 103.8 kB / 0.7298 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.8581, allocations: 128.3 kB / 0.7299 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=725): time 9.608e-06/0.8581, allocations: 0 / 0.7299 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=725): time 0.05633/0.9145, allocations: 16.85 MB / 0.7464 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.9146, allocations: 364.4 kB / 0.7468 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01534/0.93, allocations: 8.372 MB / 0.7549 GB, free: 10.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001718/0.9317, allocations: 190.6 kB / 0.7551 GB, free: 10.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003735/0.9355, allocations: 4.332 MB / 0.7593 GB, free: 6.074 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003744/0.9392, allocations: 2.833 MB / 0.7621 GB, free: 3.258 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1894/1.129, allocations: 3.746 MB / 0.7658 GB, free: 208.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.622e-05/1.129, allocations: 305.8 kB / 0.7661 GB, free: 208 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01231/1.141, allocations: 5.925 MB / 0.7718 GB, free: 207.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0139/1.155, allocations: 8.079 MB / 0.7797 GB, free: 206.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01869/1.174, allocations: 11.48 MB / 0.7909 GB, free: 202.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.235e-05/1.174, allocations: 15.83 kB / 0.791 GB, free: 202.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=2671) (initialization): time 0.04398/1.218, allocations: 20.61 MB / 0.8111 GB, free: 194.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/1.218, allocations: 19.59 kB / 0.8111 GB, free: 194.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.61e-05/1.218, allocations: 27.95 kB / 0.8111 GB, free: 194.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02709/1.245, allocations: 5.395 MB / 0.8164 GB, free: 193.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01503/1.26, allocations: 3.952 MB / 0.8203 GB, free: 190.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05461/1.315, allocations: 58.26 MB / 0.8771 GB, free: 133.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01784/1.333, allocations: 1.431 MB / 0.8785 GB, free: 132.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003103/1.336, allocations: 0.6473 MB / 0.8792 GB, free: 131.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01472/1.351, allocations: 7.16 MB / 0.8862 GB, free: 125.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01139/1.362, allocations: 7.842 MB / 0.8938 GB, free: 117.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01544/1.377, allocations: 11.15 MB / 0.9047 GB, free: 106.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.095e-05/1.377, allocations: 8 kB / 0.9047 GB, free: 106.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=2671) (initialization_lambda0): time 0.03213/1.41, allocations: 18.88 MB / 0.9232 GB, free: 88.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.365e-05/1.41, allocations: 16 kB / 0.9232 GB, free: 88.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.398e-05/1.41, allocations: 28 kB / 0.9232 GB, free: 88.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02158/1.431, allocations: 4.251 MB / 0.9274 GB, free: 83.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01529/1.447, allocations: 4.119 MB / 0.9314 GB, free: 79.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03678/1.483, allocations: 49.72 MB / 0.9799 GB, free: 26.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01761/1.501, allocations: 1.129 MB / 0.981 GB, free: 25.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003155/1.504, allocations: 0.6405 MB / 0.9817 GB, free: 25.02 MB / 0.545 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 (2471): * Single equations (assignments): 2445 * 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 {(32,0), (10,0), (10,0), (19,0), (32,0), (32,0), (10,0), (41,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.004091/1.508, allocations: 1.026 MB / 0.9827 GB, free: 24 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003124/1.512, allocations: 0.961 MB / 0.9836 GB, free: 23.03 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/1.526, allocations: 7.943 MB / 0.9914 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-05/1.526, allocations: 31.88 kB / 0.9914 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/1.526, allocations: 0 / 0.9914 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006463/1.532, allocations: 2.014 MB / 0.9934 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003274/1.536, allocations: 128 kB / 0.9935 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008655/1.544, allocations: 327.7 kB / 0.9938 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0011/1.546, allocations: 0.5398 MB / 0.9943 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01732/1.563, allocations: 7.935 MB / 1.002 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2051/1.768, allocations: 9.554 MB / 1.011 GB, free: 181.5 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003955/1.772, allocations: 2.614 MB / 1.014 GB, free: 181.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007952/1.78, allocations: 5.096 MB / 1.019 GB, free: 181.2 MB / 0.545 GB Notification: Performance of Backend: time 6.91e-07/1.78, allocations: 0 / 1.019 GB, free: 181.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.06716/1.847, allocations: 32.49 MB / 1.051 GB, free: 171.3 MB / 0.545 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.03453/1.882, allocations: 18.66 MB / 1.069 GB, free: 162.9 MB / 0.545 GB Notification: Performance of Templates: time 0.5065/2.388, allocations: 237.7 MB / 1.301 GB, free: 115.5 MB / 0.545 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.pipe 2>&1)