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.001199/0.001199, 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.001154/0.001154, allocations: 194.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.194/1.194, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.154/0.154, allocations: 16.8 MB / 307.2 MB, free: 14.8 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 59.91 kB / 371.8 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2162, allocations: 53.56 MB / 425.3 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators): time 0.05801/0.2742, allocations: 95.08 MB / 0.5082 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03627/0.3105, allocations: 23.58 MB / 0.5313 GB, free: 14.51 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.009974/0.3206, allocations: 250.6 kB / 0.5315 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008481/0.329, allocations: 3.045 MB / 0.5345 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.022/0.3511, allocations: 8.256 MB / 0.5425 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01115/0.3622, allocations: 5.331 MB / 0.5477 GB, free: 13.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02295/0.3852, allocations: 20.83 MB / 0.5681 GB, free: 8.852 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008224/0.3934, allocations: 5.167 MB / 0.5731 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1767/0.5701, allocations: 6.898 MB / 0.5799 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008631/0.5788, allocations: 7.29 MB / 0.587 GB, free: 26.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00307/0.5819, allocations: 1.196 MB / 0.5881 GB, free: 26.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006145/0.588, allocations: 2.115 MB / 0.5902 GB, free: 26.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001537/0.5896, allocations: 2.543 MB / 0.5927 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00712/0.5967, allocations: 6.862 MB / 0.5994 GB, free: 24.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01736/0.6141, allocations: 17.49 MB / 0.6165 GB, free: 22.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6141, allocations: 1.219 kB / 0.6165 GB, free: 22.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.6141, allocations: 2.281 kB / 0.6165 GB, free: 22.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003776/0.6145, allocations: 0 / 0.6165 GB, free: 22.62 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.04745/0.662, allocations: 15.65 MB / 0.6318 GB, free: 17.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.662, allocations: 14.48 kB / 0.6318 GB, free: 17.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/0.6738, allocations: 2.514 MB / 0.6342 GB, free: 16.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01204/0.6858, allocations: 7.383 MB / 0.6414 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002793/0.6861, allocations: 0.627 MB / 0.642 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009951/0.6871, allocations: 0.845 MB / 0.6429 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01069/0.6978, allocations: 9.483 MB / 0.6521 GB, free: 5.492 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/0.698, allocations: 46.91 kB / 0.6522 GB, free: 5.473 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006497/0.6986, allocations: 352 kB / 0.6525 GB, free: 5.129 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-05/0.6987, allocations: 208 kB / 0.6527 GB, free: 4.926 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.7093, allocations: 7.677 MB / 0.6602 GB, free: 13.48 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.07254/0.7819, allocations: 59.06 MB / 0.7179 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01446/0.7964, allocations: 9.664 MB / 0.7273 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004837/0.8012, allocations: 3.039 MB / 0.7303 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003424/0.8016, allocations: 102.8 kB / 0.7304 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001029/0.8017, allocations: 124.6 kB / 0.7305 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=717): time 8.866e-06/0.8017, allocations: 0 / 0.7305 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=717): time 0.05119/0.8529, allocations: 15.97 MB / 0.7461 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/0.8531, allocations: 364.4 kB / 0.7465 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01598/0.8691, allocations: 8.372 MB / 0.7546 GB, free: 10.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001627/0.8708, allocations: 189.7 kB / 0.7548 GB, free: 10.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004653/0.8754, allocations: 4.338 MB / 0.7591 GB, free: 6.121 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.004075/0.8795, allocations: 2.808 MB / 0.7618 GB, free: 3.332 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.186/1.066, allocations: 3.728 MB / 0.7654 GB, free: 208.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.137e-05/1.066, allocations: 301.6 kB / 0.7657 GB, free: 208.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0115/1.077, allocations: 5.878 MB / 0.7715 GB, free: 208 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01131/1.088, allocations: 8.02 MB / 0.7793 GB, free: 206.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01921/1.108, allocations: 11.37 MB / 0.7904 GB, free: 202.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.855e-05/1.108, allocations: 11.3 kB / 0.7904 GB, free: 202.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=2655) (initialization): time 0.04545/1.153, allocations: 20.36 MB / 0.8103 GB, free: 195 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.896e-05/1.153, allocations: 16.09 kB / 0.8103 GB, free: 195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.41e-05/1.153, allocations: 30.19 kB / 0.8103 GB, free: 195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02479/1.178, allocations: 5.043 MB / 0.8153 GB, free: 194.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01466/1.193, allocations: 3.936 MB / 0.8191 GB, free: 191 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05227/1.245, allocations: 55 MB / 0.8728 GB, free: 137.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01702/1.262, allocations: 1.433 MB / 0.8742 GB, free: 136.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003053/1.265, allocations: 0.6384 MB / 0.8748 GB, free: 136 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0151/1.28, allocations: 7.108 MB / 0.8818 GB, free: 129.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01075/1.291, allocations: 7.779 MB / 0.8894 GB, free: 122 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0149/1.306, allocations: 11.06 MB / 0.9002 GB, free: 110.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.224e-05/1.306, allocations: 8 kB / 0.9002 GB, free: 110.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=2655) (initialization_lambda0): time 0.03083/1.337, allocations: 18.66 MB / 0.9184 GB, free: 93.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/1.337, allocations: 16.28 kB / 0.9184 GB, free: 93.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.833e-05/1.337, allocations: 28 kB / 0.9184 GB, free: 93.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01969/1.357, allocations: 3.964 MB / 0.9223 GB, free: 89.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01444/1.371, allocations: 4.088 MB / 0.9263 GB, free: 84.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0333/1.405, allocations: 44.54 MB / 0.9698 GB, free: 37.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01412/1.419, allocations: 1.114 MB / 0.9709 GB, free: 36.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001188/1.42, allocations: 0.6366 MB / 0.9715 GB, free: 36.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 (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.002079/1.422, allocations: 1.011 MB / 0.9725 GB, free: 35.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001555/1.424, allocations: 0.9571 MB / 0.9734 GB, free: 34.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.436, allocations: 7.817 MB / 0.9811 GB, free: 26.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.487e-05/1.436, allocations: 35.86 kB / 0.9811 GB, free: 26.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/1.436, allocations: 0 / 0.9811 GB, free: 26.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003419/1.439, allocations: 1.994 MB / 0.9831 GB, free: 24.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001256/1.44, allocations: 132 kB / 0.9832 GB, free: 24.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005263/1.446, allocations: 315.8 kB / 0.9835 GB, free: 23.72 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006739/1.446, allocations: 0.532 MB / 0.984 GB, free: 23.18 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01446/1.461, allocations: 7.807 MB / 0.9916 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01191/1.473, allocations: 9.449 MB / 1.001 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003004/1.476, allocations: 2.59 MB / 1.003 GB, free: 3.297 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.1779/1.654, allocations: 5.097 MB / 1.008 GB, free: 182.4 MB / 0.545 GB Notification: Performance of Backend: time 1.262e-06/1.654, allocations: 0 / 1.008 GB, free: 182.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.05621/1.71, allocations: 31.6 MB / 1.039 GB, free: 175.8 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.03194/1.742, allocations: 18.52 MB / 1.057 GB, free: 168.7 MB / 0.545 GB Notification: Performance of Templates: time 0.4338/2.176, allocations: 233.9 MB / 1.286 GB, free: 137.1 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)