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.001127/0.001131, allocations: 108 kB / 15.6 MB, free: 132 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.001084/0.001084, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.181/1.181, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.165/0.165, allocations: 16.78 MB / 307.2 MB, free: 14.8 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 63.91 kB / 371.8 MB, free: 3.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2127, allocations: 53.55 MB / 425.3 MB, free: 39.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators): time 0.05683/0.2696, allocations: 95.07 MB / 0.5082 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03488/0.3045, allocations: 23.58 MB / 0.5312 GB, free: 14.49 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.009529/0.3141, allocations: 254.6 kB / 0.5315 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008611/0.3227, allocations: 3.049 MB / 0.5345 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02116/0.3439, allocations: 8.253 MB / 0.5425 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01066/0.3545, allocations: 5.345 MB / 0.5477 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02185/0.3764, allocations: 20.81 MB / 0.5681 GB, free: 8.855 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007472/0.3839, allocations: 5.179 MB / 0.5731 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.176/0.5598, allocations: 6.897 MB / 0.5798 GB, free: 26.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008695/0.5686, allocations: 7.28 MB / 0.587 GB, free: 26.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003769/0.5724, allocations: 1.196 MB / 0.5881 GB, free: 26.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00719/0.5796, allocations: 2.131 MB / 0.5902 GB, free: 26.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001905/0.5815, allocations: 2.537 MB / 0.5927 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007382/0.5889, allocations: 6.861 MB / 0.5994 GB, free: 24.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01676/0.6056, allocations: 17.49 MB / 0.6165 GB, free: 22.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.6057, allocations: 0 / 0.6165 GB, free: 22.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6057, allocations: 0 / 0.6165 GB, free: 22.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003613/0.6061, allocations: 3.969 kB / 0.6165 GB, free: 22.65 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.04741/0.6535, allocations: 15.65 MB / 0.6318 GB, free: 17.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.6535, allocations: 9.219 kB / 0.6318 GB, free: 17.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.6653, allocations: 2.516 MB / 0.6342 GB, free: 16.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0114/0.6767, allocations: 7.387 MB / 0.6414 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/0.677, allocations: 0.6319 MB / 0.642 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008939/0.6779, allocations: 0.8373 MB / 0.6429 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/0.6884, allocations: 9.48 MB / 0.6521 GB, free: 5.453 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/0.6886, allocations: 52.39 kB / 0.6522 GB, free: 5.434 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006188/0.6892, allocations: 348 kB / 0.6525 GB, free: 5.094 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.881e-05/0.6893, allocations: 212 kB / 0.6527 GB, free: 4.887 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01063/0.6999, allocations: 7.676 MB / 0.6602 GB, free: 13.44 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.07033/0.7703, allocations: 59.06 MB / 0.7179 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01312/0.7834, allocations: 9.667 MB / 0.7273 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004246/0.7877, allocations: 3.039 MB / 0.7303 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002693/0.788, allocations: 100.4 kB / 0.7304 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.881e-05/0.7881, allocations: 120.6 kB / 0.7305 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=717): time 8.456e-06/0.7881, allocations: 4 kB / 0.7305 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of matching and sorting (n=717): time 0.04944/0.8375, allocations: 15.98 MB / 0.7461 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/0.8377, allocations: 360.4 kB / 0.7464 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01184/0.8496, allocations: 8.382 MB / 0.7546 GB, free: 10.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009709/0.8505, allocations: 189.7 kB / 0.7548 GB, free: 10.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003353/0.8539, allocations: 4.334 MB / 0.759 GB, free: 6.086 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002855/0.8568, allocations: 2.802 MB / 0.7618 GB, free: 3.301 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.171/1.028, allocations: 3.726 MB / 0.7654 GB, free: 208.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.64e-05/1.028, allocations: 306.1 kB / 0.7657 GB, free: 208.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01043/1.038, allocations: 5.875 MB / 0.7714 GB, free: 208 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01147/1.05, allocations: 8.025 MB / 0.7793 GB, free: 206.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01632/1.066, allocations: 11.37 MB / 0.7904 GB, free: 202.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.266e-05/1.066, allocations: 9.469 kB / 0.7904 GB, free: 202.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=2655) (initialization): time 0.04066/1.107, allocations: 20.36 MB / 0.8103 GB, free: 194.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.031e-05/1.107, allocations: 21.7 kB / 0.8103 GB, free: 194.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.303e-05/1.107, allocations: 30.11 kB / 0.8103 GB, free: 194.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02441/1.131, allocations: 5.042 MB / 0.8152 GB, free: 194.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.014/1.146, allocations: 3.941 MB / 0.8191 GB, free: 190.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05441/1.2, allocations: 55 MB / 0.8728 GB, free: 137.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0175/1.217, allocations: 1.428 MB / 0.8742 GB, free: 136.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002945/1.22, allocations: 0.6429 MB / 0.8748 GB, free: 135.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01325/1.234, allocations: 7.107 MB / 0.8818 GB, free: 129.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009153/1.243, allocations: 7.781 MB / 0.8894 GB, free: 121.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01273/1.256, allocations: 11.05 MB / 0.9002 GB, free: 110.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.858e-05/1.256, allocations: 12.28 kB / 0.9002 GB, free: 110.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=2655) (initialization_lambda0): time 0.02599/1.282, allocations: 18.66 MB / 0.9184 GB, free: 93.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.153e-05/1.282, allocations: 16 kB / 0.9184 GB, free: 93.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.743e-05/1.282, allocations: 31.94 kB / 0.9184 GB, free: 92.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01988/1.302, allocations: 3.965 MB / 0.9223 GB, free: 88.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0142/1.316, allocations: 4.08 MB / 0.9263 GB, free: 84.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03339/1.349, allocations: 44.53 MB / 0.9698 GB, free: 37.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01416/1.363, allocations: 1.115 MB / 0.9709 GB, free: 36.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009673/1.364, allocations: 0.6405 MB / 0.9715 GB, free: 35.92 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 (2461): * Single equations (assignments): 2437 * 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), (19,0), (60,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.002086/1.367, allocations: 1.018 MB / 0.9725 GB, free: 34.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001454/1.368, allocations: 0.961 MB / 0.9734 GB, free: 33.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/1.38, allocations: 7.808 MB / 0.9811 GB, free: 26.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.461e-05/1.38, allocations: 35.86 kB / 0.9811 GB, free: 26.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/1.38, allocations: 4 kB / 0.9811 GB, free: 26.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003151/1.383, allocations: 2.001 MB / 0.9831 GB, free: 24.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/1.384, allocations: 124 kB / 0.9832 GB, free: 23.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005276/1.39, allocations: 319.8 kB / 0.9835 GB, free: 23.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006521/1.39, allocations: 0.5242 MB / 0.984 GB, free: 23.09 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01448/1.405, allocations: 7.812 MB / 0.9916 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01163/1.417, allocations: 9.453 MB / 1.001 GB, free: 5.801 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002935/1.42, allocations: 2.578 MB / 1.003 GB, free: 3.203 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.1749/1.594, allocations: 5.098 MB / 1.008 GB, free: 182.3 MB / 0.545 GB Notification: Performance of Backend: time 9.92e-07/1.594, allocations: 0.6562 kB / 1.008 GB, free: 182.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.05117/1.646, allocations: 31.61 MB / 1.039 GB, free: 175.7 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.02913/1.675, allocations: 18.52 MB / 1.057 GB, free: 168.5 MB / 0.545 GB Notification: Performance of Templates: time 0.4353/2.11, allocations: 233.9 MB / 1.286 GB, free: 136.9 MB / 0.545 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators.pipe 2>&1)