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.001426/0.001426, allocations: 101.1 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.001378/0.001378, 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.424/1.424, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0782/0.0782, allocations: 16.68 MB / 307.7 MB, free: 14.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 63.83 kB / 372.3 MB, free: 48.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09756, allocations: 53.56 MB / 425.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization): time 0.3348/0.4324, allocations: 95.07 MB / 0.5087 GB, free: 16.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03935/0.4718, allocations: 23.57 MB / 0.5318 GB, free: 13.9 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.01339/0.4852, allocations: 247.4 kB / 0.532 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01124/0.4965, allocations: 3.049 MB / 0.535 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02764/0.5242, allocations: 8.272 MB / 0.5431 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01318/0.5373, allocations: 5.35 MB / 0.5483 GB, free: 5.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02981/0.5672, allocations: 20.81 MB / 0.5686 GB, free: 8.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01232/0.5795, allocations: 5.179 MB / 0.5737 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0163/0.5959, allocations: 6.897 MB / 0.5804 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01517/0.6111, allocations: 7.294 MB / 0.5875 GB, free: 5.148 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004755/0.6159, allocations: 1.203 MB / 0.5887 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009727/0.6256, allocations: 2.127 MB / 0.5908 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005078/0.6307, allocations: 2.564 MB / 0.5933 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0158/0.6466, allocations: 6.863 MB / 0.6 GB, free: 8.531 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03345/0.6801, allocations: 17.52 MB / 0.6171 GB, free: 7.578 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.6801, allocations: 0 / 0.6171 GB, free: 7.578 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.6801, allocations: 0 / 0.6171 GB, free: 7.578 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008248/0.681, allocations: 4 kB / 0.6171 GB, free: 7.574 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.06575/0.7467, allocations: 15.67 MB / 0.6324 GB, free: 7.965 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.7468, allocations: 12.03 kB / 0.6324 GB, free: 7.953 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0169/0.7637, allocations: 2.566 MB / 0.6349 GB, free: 5.395 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01988/0.7836, allocations: 7.386 MB / 0.6421 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009244/0.7846, allocations: 0.7047 MB / 0.6428 GB, free: 13.37 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002903/0.7875, allocations: 0.8399 MB / 0.6436 GB, free: 12.53 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02475/0.8123, allocations: 9.484 MB / 0.6529 GB, free: 2.074 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003012/0.8127, allocations: 47.5 kB / 0.6529 GB, free: 2.031 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00182/0.8145, allocations: 356 kB / 0.6533 GB, free: 1.684 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002108/0.8147, allocations: 208 kB / 0.6535 GB, free: 1.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01755/0.8323, allocations: 7.677 MB / 0.661 GB, free: 9.785 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.5273/1.36, allocations: 59.17 MB / 0.7188 GB, free: 158.6 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02141/1.381, allocations: 8.729 MB / 0.7273 GB, free: 156.6 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006551/1.388, allocations: 3.052 MB / 0.7303 GB, free: 156.2 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003353/1.388, allocations: 103.3 kB / 0.7304 GB, free: 156.2 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.786e-05/1.388, allocations: 120.2 kB / 0.7305 GB, free: 156.1 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=725): time 9.758e-06/1.388, allocations: 0 / 0.7305 GB, free: 156.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=725): time 0.05368/1.442, allocations: 16.85 MB / 0.7469 GB, free: 150.8 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/1.442, allocations: 366.3 kB / 0.7473 GB, free: 150.5 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01737/1.459, allocations: 8.374 MB / 0.7555 GB, free: 146.2 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.002009/1.461, allocations: 191.6 kB / 0.7556 GB, free: 146.1 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004897/1.466, allocations: 4.328 MB / 0.7599 GB, free: 143.1 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.004601/1.471, allocations: 2.832 MB / 0.7626 GB, free: 140.7 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01322/1.484, allocations: 3.747 MB / 0.7663 GB, free: 138.5 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 8.408e-05/1.484, allocations: 316.3 kB / 0.7666 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01365/1.498, allocations: 5.923 MB / 0.7724 GB, free: 133.8 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01617/1.514, allocations: 8.071 MB / 0.7803 GB, free: 125.2 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0205/1.535, allocations: 11.48 MB / 0.7915 GB, free: 113.5 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001096/1.535, allocations: 10 kB / 0.7915 GB, free: 113.5 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2671) (initialization): time 0.05337/1.588, allocations: 20.61 MB / 0.8116 GB, free: 92.76 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.943e-05/1.588, allocations: 16.94 kB / 0.8116 GB, free: 92.74 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.477e-05/1.588, allocations: 32 kB / 0.8117 GB, free: 92.71 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02728/1.616, allocations: 5.303 MB / 0.8168 GB, free: 87.34 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01657/1.632, allocations: 3.952 MB / 0.8207 GB, free: 83.38 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05882/1.691, allocations: 58.26 MB / 0.8776 GB, free: 21.52 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0211/1.712, allocations: 1.435 MB / 0.879 GB, free: 20.08 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003808/1.716, allocations: 0.6405 MB / 0.8796 GB, free: 19.44 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01852/1.735, allocations: 7.16 MB / 0.8866 GB, free: 12.27 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01461/1.749, allocations: 7.845 MB / 0.8943 GB, free: 3.98 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2952/2.045, allocations: 11.15 MB / 0.9052 GB, free: 161 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001221/2.045, allocations: 12.09 kB / 0.9052 GB, free: 161 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2671) (initialization_lambda0): time 0.05139/2.096, allocations: 18.88 MB / 0.9236 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.932e-05/2.096, allocations: 19.66 kB / 0.9236 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.621e-05/2.096, allocations: 28.44 kB / 0.9237 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02344/2.12, allocations: 4.153 MB / 0.9277 GB, free: 156.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01666/2.137, allocations: 4.11 MB / 0.9317 GB, free: 156.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04129/2.178, allocations: 49.73 MB / 0.9803 GB, free: 113.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01949/2.197, allocations: 1.129 MB / 0.9814 GB, free: 113.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003827/2.201, allocations: 0.6446 MB / 0.982 GB, free: 113.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 (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.004852/2.206, allocations: 1.024 MB / 0.983 GB, free: 112.2 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003626/2.21, allocations: 0.9629 MB / 0.984 GB, free: 111.8 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0152/2.225, allocations: 7.941 MB / 0.9917 GB, free: 104.9 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001535/2.225, allocations: 37.17 kB / 0.9918 GB, free: 104.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/2.225, allocations: 0 / 0.9918 GB, free: 104.9 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009509/2.235, allocations: 2.018 MB / 0.9937 GB, free: 103.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004561/2.239, allocations: 128 kB / 0.9939 GB, free: 103.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00946/2.249, allocations: 326.7 kB / 0.9942 GB, free: 103.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001552/2.25, allocations: 0.5345 MB / 0.9947 GB, free: 103 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01822/2.269, allocations: 7.934 MB / 1.002 GB, free: 96.06 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01582/2.285, allocations: 9.552 MB / 1.012 GB, free: 86.41 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003973/2.289, allocations: 2.622 MB / 1.014 GB, free: 83.77 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.009328/2.298, allocations: 5.096 MB / 1.019 GB, free: 78.72 MB / 0.5138 GB Notification: Performance of Backend: time 1.463e-06/2.298, allocations: 0 / 1.019 GB, free: 78.72 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.07563/2.374, allocations: 32.49 MB / 1.051 GB, free: 45.73 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.04526/2.419, allocations: 21.39 MB / 1.072 GB, free: 24.48 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.TwoGeneratorsLocalInitialization could not be translated