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.001502/0.001502, allocations: 99.5 kB / 16.27 MB, free: 6.414 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.001639/0.001639, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.452/1.452, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07688/0.07688, allocations: 16.67 MB / 307.7 MB, free: 14.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 65.34 kB / 372.3 MB, free: 48.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09032/0.09221, allocations: 53.57 MB / 425.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators): time 0.3084/0.4006, allocations: 95.06 MB / 0.5087 GB, free: 16.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04034/0.441, allocations: 23.57 MB / 0.5318 GB, free: 13.74 MB / 382.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.0167/0.4577, allocations: 246.3 kB / 0.532 GB, free: 13.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01242/0.4702, allocations: 3.06 MB / 0.535 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0296/0.4998, allocations: 8.261 MB / 0.543 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01668/0.5165, allocations: 5.348 MB / 0.5483 GB, free: 5.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03599/0.5525, allocations: 20.81 MB / 0.5686 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01198/0.5646, allocations: 5.172 MB / 0.5736 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01617/0.5808, allocations: 6.905 MB / 0.5804 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01525/0.5961, allocations: 7.284 MB / 0.5875 GB, free: 4.969 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005336/0.6015, allocations: 1.195 MB / 0.5887 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01055/0.612, allocations: 2.124 MB / 0.5907 GB, free: 1.652 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005443/0.6175, allocations: 2.541 MB / 0.5932 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.017/0.6345, allocations: 6.859 MB / 0.5999 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03006/0.6647, allocations: 17.49 MB / 0.617 GB, free: 7.449 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.6647, allocations: 4 kB / 0.617 GB, free: 7.445 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6647, allocations: 0 / 0.617 GB, free: 7.445 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005933/0.6653, allocations: 0 / 0.617 GB, free: 7.445 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.06104/0.7264, allocations: 15.66 MB / 0.6323 GB, free: 7.852 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.7264, allocations: 8.031 kB / 0.6323 GB, free: 7.844 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01646/0.7429, allocations: 2.513 MB / 0.6347 GB, free: 5.336 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02093/0.7639, allocations: 7.372 MB / 0.6419 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008902/0.7648, allocations: 0.6329 MB / 0.6426 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003291/0.7681, allocations: 0.8439 MB / 0.6434 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0271/0.7952, allocations: 9.48 MB / 0.6526 GB, free: 2.113 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004444/0.7957, allocations: 43.56 kB / 0.6527 GB, free: 2.07 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002909/0.7987, allocations: 356 kB / 0.653 GB, free: 1.723 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002604/0.7989, allocations: 208 kB / 0.6532 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01993/0.8189, allocations: 7.681 MB / 0.6607 GB, free: 9.82 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.5089/1.328, allocations: 59.07 MB / 0.7184 GB, free: 158.8 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01489/1.343, allocations: 9.657 MB / 0.7278 GB, free: 155.6 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005495/1.348, allocations: 3.035 MB / 0.7308 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003413/1.349, allocations: 99.28 kB / 0.7309 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/1.349, allocations: 127.9 kB / 0.731 GB, free: 155 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=717): time 1.006e-05/1.349, allocations: 0 / 0.731 GB, free: 155 MB / 0.5138 GB Notification: Performance of matching and sorting (n=717): time 0.0506/1.399, allocations: 15.98 MB / 0.7466 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.918e-05/1.4, allocations: 358.4 kB / 0.747 GB, free: 149.8 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01361/1.413, allocations: 8.373 MB / 0.7552 GB, free: 145.6 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001752/1.415, allocations: 188.5 kB / 0.7553 GB, free: 145.4 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003828/1.419, allocations: 4.34 MB / 0.7596 GB, free: 142.4 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.003481/1.422, allocations: 2.806 MB / 0.7623 GB, free: 140 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007724/1.43, allocations: 3.73 MB / 0.766 GB, free: 137.8 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.141e-05/1.43, allocations: 309.1 kB / 0.7662 GB, free: 137.5 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01155/1.442, allocations: 5.874 MB / 0.772 GB, free: 133.5 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01419/1.456, allocations: 8.014 MB / 0.7798 GB, free: 125 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01845/1.474, allocations: 11.38 MB / 0.7909 GB, free: 113.3 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001073/1.474, allocations: 9.312 kB / 0.7909 GB, free: 113.3 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2655) (initialization): time 0.05283/1.527, allocations: 20.36 MB / 0.8108 GB, free: 92.89 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/1.527, allocations: 16.19 kB / 0.8108 GB, free: 92.88 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.501e-05/1.528, allocations: 32 kB / 0.8109 GB, free: 92.85 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02538/1.553, allocations: 4.967 MB / 0.8157 GB, free: 87.81 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01531/1.568, allocations: 3.942 MB / 0.8196 GB, free: 83.87 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05845/1.627, allocations: 55 MB / 0.8733 GB, free: 25.54 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01912/1.646, allocations: 1.433 MB / 0.8747 GB, free: 24.09 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003903/1.65, allocations: 0.6445 MB / 0.8753 GB, free: 23.45 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02208/1.672, allocations: 7.105 MB / 0.8822 GB, free: 16.33 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0169/1.689, allocations: 7.785 MB / 0.8898 GB, free: 8.102 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3439/2.033, allocations: 11.05 MB / 0.9006 GB, free: 160.3 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001197/2.033, allocations: 7.781 kB / 0.9006 GB, free: 160.3 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2655) (initialization_lambda0): time 0.0548/2.088, allocations: 18.66 MB / 0.9189 GB, free: 158.1 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 4.878e-05/2.088, allocations: 15.66 kB / 0.9189 GB, free: 158.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.561e-05/2.088, allocations: 27.47 kB / 0.9189 GB, free: 158.1 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02188/2.11, allocations: 3.888 MB / 0.9227 GB, free: 157.7 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01779/2.128, allocations: 4.081 MB / 0.9267 GB, free: 157.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04155/2.169, allocations: 44.55 MB / 0.9702 GB, free: 120.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02042/2.19, allocations: 1.123 MB / 0.9713 GB, free: 120.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004071/2.194, allocations: 0.6378 MB / 0.9719 GB, free: 120 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 (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.00487/2.199, allocations: 1.019 MB / 0.9729 GB, free: 119.1 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003711/2.203, allocations: 0.9553 MB / 0.9738 GB, free: 119.1 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01559/2.218, allocations: 7.811 MB / 0.9815 GB, free: 115.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001195/2.218, allocations: 34.5 kB / 0.9815 GB, free: 115.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/2.218, allocations: 5.969 kB / 0.9815 GB, free: 115.1 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007563/2.226, allocations: 1.992 MB / 0.9834 GB, free: 113.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004609/2.231, allocations: 124 kB / 0.9836 GB, free: 113.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01003/2.241, allocations: 337 kB / 0.9839 GB, free: 113.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001767/2.242, allocations: 0.5286 MB / 0.9844 GB, free: 113.2 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01937/2.262, allocations: 7.795 MB / 0.992 GB, free: 106.5 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0154/2.277, allocations: 9.449 MB / 1.001 GB, free: 96.98 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003888/2.281, allocations: 2.582 MB / 1.004 GB, free: 94.38 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.01053/2.292, allocations: 5.096 MB / 1.009 GB, free: 89.33 MB / 0.5138 GB Notification: Performance of Backend: time 1.683e-06/2.292, allocations: 4 kB / 1.009 GB, free: 89.32 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.07066/2.362, allocations: 31.61 MB / 1.04 GB, free: 57.29 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.04373/2.406, allocations: 21.26 MB / 1.06 GB, free: 36.2 MB / 0.5138 GB [CodegenCpp.tpl:12250:11-12250:11:writable] Error: Template error: Unsupported zero crossing at 0: GEN1.TGOV.firstOrderLim.G.y >= 0.0 and GEN1.TGOV.firstOrderLim.I.y > GEN1.TGOV.firstOrderLim.lim.uMax or GEN1.TGOV.firstOrderLim.G.y <= 0.0 and GEN1.TGOV.firstOrderLim.I.y < GEN1.TGOV.firstOrderLim.lim.uMin. [CodegenCpp.tpl:12250:11-12250:11:writable] Error: Template error: Unsupported zero crossing at 1: GEN1.AVR.firstOrderLim.G.y >= 0.0 and GEN1.AVR.firstOrderLim.I.y > GEN1.AVR.firstOrderLim.lim.uMax or GEN1.AVR.firstOrderLim.G.y <= 0.0 and GEN1.AVR.firstOrderLim.I.y < GEN1.AVR.firstOrderLim.lim.uMin. [CodegenCpp.tpl:12250:11-12250:11:writable] Error: Template error: Unsupported zero crossing at 2: GEN2.TGOV.firstOrderLim.G.y >= 0.0 and GEN2.TGOV.firstOrderLim.I.y > GEN2.TGOV.firstOrderLim.lim.uMax or GEN2.TGOV.firstOrderLim.G.y <= 0.0 and GEN2.TGOV.firstOrderLim.I.y < GEN2.TGOV.firstOrderLim.lim.uMin. [CodegenCpp.tpl:12250:11-12250:11:writable] Error: Template error: Unsupported zero crossing at 3: GEN2.AVR.firstOrderLim.G.y >= 0.0 and GEN2.AVR.firstOrderLim.I.y > GEN2.AVR.firstOrderLim.lim.uMax or GEN2.AVR.firstOrderLim.G.y <= 0.0 and GEN2.AVR.firstOrderLim.I.y < GEN2.AVR.firstOrderLim.lim.uMin. Error: Internal error SimCode DAEmode: The model PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators could not be translated