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.00119/0.001189, allocations: 105.7 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.001083/0.001083, allocations: 189.8 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.355/1.355, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07496/0.07496, allocations: 16.78 MB / 307.8 MB, free: 14.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 60.97 kB / 372.4 MB, free: 48.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09894/0.1003, allocations: 53.57 MB / 426 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators): time 0.3258/0.4261, allocations: 95.07 MB / 0.5088 GB, free: 16.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0428/0.4689, allocations: 23.57 MB / 0.5319 GB, free: 13.72 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.01577/0.4848, allocations: 246.6 kB / 0.5321 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01147/0.4963, allocations: 3.06 MB / 0.5351 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02891/0.5253, allocations: 8.262 MB / 0.5432 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01636/0.5416, allocations: 5.343 MB / 0.5484 GB, free: 5.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03342/0.5751, allocations: 20.81 MB / 0.5687 GB, free: 7.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01232/0.5874, allocations: 5.171 MB / 0.5738 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01616/0.6036, allocations: 6.893 MB / 0.5805 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01541/0.6191, allocations: 7.279 MB / 0.5876 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005881/0.625, allocations: 1.195 MB / 0.5888 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0113/0.6364, allocations: 2.131 MB / 0.5908 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00627/0.6427, allocations: 2.541 MB / 0.5933 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01793/0.6606, allocations: 6.859 MB / 0.6 GB, free: 8.238 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03155/0.6922, allocations: 17.49 MB / 0.6171 GB, free: 7.316 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.6923, allocations: 0 / 0.6171 GB, free: 7.316 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6923, allocations: 0 / 0.6171 GB, free: 7.316 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009106/0.6932, allocations: 0 / 0.6171 GB, free: 7.316 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.06428/0.7575, allocations: 15.66 MB / 0.6324 GB, free: 7.715 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.7576, allocations: 8.031 kB / 0.6324 GB, free: 7.707 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01737/0.775, allocations: 2.509 MB / 0.6349 GB, free: 5.203 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02212/0.7971, allocations: 7.381 MB / 0.6421 GB, free: 13.9 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007384/0.7979, allocations: 0.629 MB / 0.6427 GB, free: 13.27 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003184/0.8011, allocations: 0.844 MB / 0.6435 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0243/0.8254, allocations: 9.476 MB / 0.6528 GB, free: 1.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001908/0.8257, allocations: 47.56 kB / 0.6528 GB, free: 1.934 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001317/0.827, allocations: 352 kB / 0.6531 GB, free: 1.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001947/0.8272, allocations: 211.9 kB / 0.6533 GB, free: 1.383 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01708/0.8443, allocations: 7.673 MB / 0.6608 GB, free: 9.691 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.4733/1.318, allocations: 59.07 MB / 0.7185 GB, free: 158.5 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01581/1.334, allocations: 9.663 MB / 0.728 GB, free: 155.3 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006133/1.34, allocations: 3.041 MB / 0.7309 GB, free: 154.8 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004326/1.34, allocations: 104.2 kB / 0.731 GB, free: 154.8 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/1.34, allocations: 127.7 kB / 0.7311 GB, free: 154.7 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=717): time 1.047e-05/1.34, allocations: 0 / 0.7311 GB, free: 154.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=717): time 0.05315/1.393, allocations: 15.97 MB / 0.7467 GB, free: 149.9 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.394, allocations: 358.2 kB / 0.7471 GB, free: 149.5 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01573/1.409, allocations: 8.374 MB / 0.7553 GB, free: 145.3 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.002032/1.411, allocations: 191.9 kB / 0.7554 GB, free: 145.2 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004436/1.416, allocations: 4.334 MB / 0.7597 GB, free: 142.2 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.004568/1.42, allocations: 2.806 MB / 0.7624 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01216/1.433, allocations: 3.738 MB / 0.7661 GB, free: 137.6 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.291e-05/1.433, allocations: 301.1 kB / 0.7664 GB, free: 137.3 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01306/1.446, allocations: 5.874 MB / 0.7721 GB, free: 133.3 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01562/1.461, allocations: 8.021 MB / 0.7799 GB, free: 124.8 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02257/1.484, allocations: 11.38 MB / 0.791 GB, free: 113.1 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001551/1.484, allocations: 8 kB / 0.791 GB, free: 113.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2655) (initialization): time 0.05541/1.54, allocations: 20.35 MB / 0.8109 GB, free: 92.66 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.904e-05/1.54, allocations: 16 kB / 0.8109 GB, free: 92.65 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.355e-05/1.54, allocations: 28 kB / 0.811 GB, free: 92.62 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0261/1.566, allocations: 4.969 MB / 0.8158 GB, free: 87.58 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01624/1.582, allocations: 3.933 MB / 0.8197 GB, free: 83.64 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05921/1.642, allocations: 55 MB / 0.8734 GB, free: 25.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01986/1.662, allocations: 1.445 MB / 0.8748 GB, free: 23.85 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003647/1.665, allocations: 0.6405 MB / 0.8754 GB, free: 23.21 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01699/1.682, allocations: 7.109 MB / 0.8823 GB, free: 16.09 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01316/1.695, allocations: 7.781 MB / 0.8899 GB, free: 7.867 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2769/1.972, allocations: 11.06 MB / 0.9007 GB, free: 160.2 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001249/1.973, allocations: 7.906 kB / 0.9008 GB, free: 160.2 MB / 0.5138 GB Notification: Performance of matching and sorting (n=2655) (initialization_lambda0): time 0.05552/2.028, allocations: 18.66 MB / 0.919 GB, free: 157.8 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 8.396e-05/2.028, allocations: 17.83 kB / 0.919 GB, free: 157.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.344e-05/2.028, allocations: 27.62 kB / 0.919 GB, free: 157.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02206/2.05, allocations: 3.886 MB / 0.9228 GB, free: 157.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01803/2.068, allocations: 4.088 MB / 0.9268 GB, free: 157 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04252/2.111, allocations: 44.53 MB / 0.9703 GB, free: 120.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0213/2.132, allocations: 1.121 MB / 0.9714 GB, free: 119.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003782/2.136, allocations: 0.6423 MB / 0.972 GB, free: 119.7 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.004584/2.141, allocations: 1.017 MB / 0.973 GB, free: 118.8 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003562/2.144, allocations: 0.9579 MB / 0.9739 GB, free: 118.8 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0155/2.16, allocations: 7.807 MB / 0.9816 GB, free: 114.6 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001157/2.16, allocations: 34.27 kB / 0.9816 GB, free: 114.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/2.16, allocations: 4 kB / 0.9816 GB, free: 114.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007454/2.168, allocations: 1.994 MB / 0.9836 GB, free: 113.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003784/2.171, allocations: 124 kB / 0.9837 GB, free: 113.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009532/2.181, allocations: 327.3 kB / 0.984 GB, free: 113.1 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001489/2.182, allocations: 0.5337 MB / 0.9845 GB, free: 112.8 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01818/2.201, allocations: 7.808 MB / 0.9921 GB, free: 106 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0155/2.216, allocations: 9.449 MB / 1.001 GB, free: 96.54 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003961/2.22, allocations: 2.582 MB / 1.004 GB, free: 93.94 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.01008/2.23, allocations: 5.098 MB / 1.009 GB, free: 88.89 MB / 0.5138 GB Notification: Performance of Backend: time 1.353e-06/2.23, allocations: 0 / 1.009 GB, free: 88.89 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.07446/2.305, allocations: 31.6 MB / 1.04 GB, free: 56.86 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.04916/2.354, allocations: 21.24 MB / 1.06 GB, free: 35.78 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