Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Microgrids.UniversityCampus.CampusA.CampusGridA.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 96.36 kB / 19.75 MB, free: 1.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 253.5 MB, free: 14.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 218.8 kB / 310.1 MB, free: 3.121 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.6373/0.6373, allocations: 107.2 MB / 473.7 MB, free: 30.09 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Microgrids.UniversityCampus.CampusA.CampusGridA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Microgrids.UniversityCampus.CampusA.CampusGridA") translateModel(OpenIPSL.Examples.Microgrids.UniversityCampus.CampusA.CampusGridA,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Microgrids.UniversityCampus.CampusA.CampusGridA") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002741/0.002741, allocations: 92.75 kB / 0.6344 GB, free: 29.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1488, allocations: 80.15 MB / 0.7127 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Microgrids.UniversityCampus.CampusA.CampusGridA): time 0.04328/0.1921, allocations: 36.84 MB / 0.7487 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.04385/0.236, allocations: 25.15 MB / 0.7732 GB, free: 8.879 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009035/0.245, allocations: 135.5 kB / 0.7734 GB, free: 8.746 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01702/0.262, allocations: 4.948 MB / 0.7782 GB, free: 3.766 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.02191/0.2839, allocations: 5.184 MB / 0.7832 GB, free: 14.57 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Controls/PSSE/ES/ESST2A.mo:114:3-118:9:writable] Warning: In relation STGA.exciter.K_P == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Controls/PSSE/ES/ESST2A.mo:114:3-118:9:writable] Warning: In relation STGA.exciter.K_I == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Controls/PSSE/ES/ESST2A.mo:92:3-108:9:writable] Warning: In relation STGA.exciter.K_P == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/Electrical/Controls/PSSE/ES/ESST2A.mo:92:3-108:9:writable] Warning: In relation STGA.exciter.K_I == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.01313/0.2971, allocations: 4.917 MB / 0.788 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02425/0.3213, allocations: 15.71 MB / 0.8034 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007199/0.3285, allocations: 2.361 MB / 0.8057 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01141/0.3399, allocations: 6.008 MB / 0.8116 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3676/0.7076, allocations: 6.258 MB / 0.8177 GB, free: 19.96 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.007587/0.7152, allocations: 1.495 MB / 0.8191 GB, free: 19.96 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008474/0.7236, allocations: 1.75 MB / 0.8208 GB, free: 19.96 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00683/0.7305, allocations: 3.194 MB / 0.824 GB, free: 19.96 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01392/0.7444, allocations: 5.112 MB / 0.829 GB, free: 19.05 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02927/0.7737, allocations: 19.14 MB / 0.8476 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.7737, allocations: 0 / 0.8476 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7737, allocations: 0 / 0.8476 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0008637/0.7745, allocations: 0.9375 kB / 0.8476 GB, free: 14.88 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1601 * Number of variables: 1601 Notification: Performance of Generate backend data structure: time 0.09552/0.8701, allocations: 28.5 MB / 0.8755 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.8701, allocations: 10.69 kB / 0.8755 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02327/0.8934, allocations: 3.678 MB / 0.8791 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02047/0.9138, allocations: 7.036 MB / 0.886 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004449/0.9183, allocations: 4.225 MB / 0.8901 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003449/0.9217, allocations: 0.7231 MB / 0.8908 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02904/0.9508, allocations: 9.358 MB / 0.8999 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002378/0.951, allocations: 7.375 kB / 0.8999 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002263/0.9533, allocations: 267.8 kB / 0.9002 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/0.9534, allocations: 148 kB / 0.9003 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02823/0.9817, allocations: 8.945 MB / 0.9091 GB, free: 4.457 MB / 0.6075 GB 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.08098/1.063, allocations: 25.86 MB / 0.9343 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04414/1.107, allocations: 12.77 MB / 0.9468 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01446/1.121, allocations: 4.944 MB / 0.9516 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/1.122, allocations: 129.2 kB / 0.9517 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0178/1.14, allocations: 6.225 MB / 0.9578 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=716): time 2.159e-05/1.14, allocations: 7.984 kB / 0.9578 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of matching and sorting (n=716): time 0.1209/1.261, allocations: 30.41 MB / 0.9875 GB, free: 4.449 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000487/1.262, allocations: 0.6896 MB / 0.9882 GB, free: 3.609 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02186/1.283, allocations: 9.245 MB / 0.9972 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.00242/1.286, allocations: 189.7 kB / 0.9974 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00545/1.291, allocations: 4.405 MB / 1.002 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.004458/1.296, allocations: 2.613 MB / 1.004 GB, free: 3.246 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008131/1.304, allocations: 1.881 MB / 1.006 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.304, allocations: 301.1 kB / 1.006 GB, free: 1.062 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01644/1.321, allocations: 6.012 MB / 1.012 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01797/1.338, allocations: 7.345 MB / 1.019 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0324/1.371, allocations: 12.41 MB / 1.032 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-05/1.371, allocations: 4 kB / 1.032 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.07022/1.441, allocations: 22.14 MB / 1.053 GB, free: 0.5117 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002021/1.441, allocations: 168.5 kB / 1.053 GB, free: 324 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-05/1.441, allocations: 16 kB / 1.053 GB, free: 308 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1075/1.549, allocations: 54.27 MB / 1.106 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008543/1.557, allocations: 1.447 MB / 1.108 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3887/1.946, allocations: 21.94 MB / 1.129 GB, free: 281.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01636/1.963, allocations: 1.473 MB / 1.131 GB, free: 281.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002998/1.966, allocations: 364.5 kB / 1.131 GB, free: 281.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02167/1.987, allocations: 7.171 MB / 1.138 GB, free: 281.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01721/2.004, allocations: 7.222 MB / 1.145 GB, free: 278.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02871/2.033, allocations: 12.2 MB / 1.157 GB, free: 272.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.836e-05/2.033, allocations: 7.594 kB / 1.157 GB, free: 272.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1342) (initialization_lambda0): time 0.06199/2.095, allocations: 21.78 MB / 1.178 GB, free: 261.6 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001654/2.095, allocations: 167.8 kB / 1.178 GB, free: 261.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.406e-05/2.095, allocations: 23.94 kB / 1.178 GB, free: 261.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07883/2.174, allocations: 54.16 MB / 1.231 GB, free: 210.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00775/2.182, allocations: 1.452 MB / 1.233 GB, free: 209.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04568/2.228, allocations: 21.49 MB / 1.254 GB, free: 189.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01597/2.244, allocations: 1.341 MB / 1.255 GB, free: 188.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002694/2.246, allocations: 358.4 kB / 1.255 GB, free: 188.4 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 43 (BreakerMicrogrid.Open,STGA.exciter.bypass_vb,STGA.exciter.booleanConstant.k,CTB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachUpper,CTB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachLower,CTB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Rising,CTB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Falling,CTB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Reinit,CTB.exciter.pID_No_Windup.reset_switch.u2,CTB.exciter.pI_No_Windup.reset_switch.u2,STGA.exciter.integratorLimVar.ReachUpper,STGA.exciter.integratorLimVar.ReachLower,STGA.exciter.integratorLimVar.Rising,STGA.exciter.integratorLimVar.Falling,STGA.exciter.integratorLimVar.Reinit,STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachUpper,STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachLower,STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Rising,STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Falling,STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Reinit,STGB.exciter.pID_No_Windup.reset_switch.u2,STGB.exciter.pI_No_Windup.reset_switch.u2,$whenCondition1,$whenCondition3,$whenCondition2,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,STGB.exciter.pI_No_Windup.integral.local_reset,STGB.exciter.pID_No_Windup.derivative.local_reset,STGB.exciter.pID_No_Windup.integral.local_reset,CTA.exciter.VM1.local_reset,CTA.exciter.VR1.local_reset,CTB.exciter.pI_No_Windup.integral.local_reset,CTB.exciter.pID_No_Windup.derivative.local_reset,CTB.exciter.pID_No_Windup.integral.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (874): * Single equations (assignments): 866 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,2), (1,2), (1,2), (1,2), (158,287)} Notification: Performance of prepare postOptimizeDAE: time 0.00366/2.25, allocations: 0.7728 MB / 1.256 GB, free: 187.7 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003354/2.253, allocations: 1.063 MB / 1.257 GB, free: 186.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07944/2.333, allocations: 24.12 MB / 1.281 GB, free: 164.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001926/2.333, allocations: 41.83 kB / 1.281 GB, free: 164.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/2.333, allocations: 0 / 1.281 GB, free: 164.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004587/2.338, allocations: 1.322 MB / 1.282 GB, free: 163.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004237/2.342, allocations: 160 kB / 1.282 GB, free: 162.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0113/2.353, allocations: 0.8155 MB / 1.283 GB, free: 162.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01265/2.366, allocations: 2.442 MB / 1.285 GB, free: 159.6 MB / 0.8106 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:534:7-536:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): STGB.exciter.se1.VE_IN = if STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachUpper then STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.outMax else if STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachLower then STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.outMin else STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.w 2/2 (1): STGB.exciter.rotatingExciterWithDemagnetizationVarLim.se1.VE_OUT = OpenIPSL.NonElectrical.Functions.SE(STGB.exciter.se1.VE_IN, STGB.exciter.rotatingExciterWithDemagnetizationVarLim.se1.SE1, STGB.exciter.rotatingExciterWithDemagnetizationVarLim.se1.SE2, STGB.exciter.rotatingExciterWithDemagnetizationVarLim.se1.E1, STGB.exciter.rotatingExciterWithDemagnetizationVarLim.se1.E2) 3/3 (1): STGB.exciter.rotatingExciterWithDemagnetizationVarLim.VE.y = STGB.exciter.se1.VE_IN * STGB.exciter.rotatingExciterWithDemagnetizationVarLim.se1.VE_OUT 4/4 (1): STGB.exciter.imDerivativeLag.u = STGB.exciter.rotatingExciterWithDemagnetizationVarLim.Sum.k1 * STGB.exciter.rotatingExciterWithDemagnetizationVarLim.VE.y + STGB.exciter.rotatingExciterWithDemagnetizationVarLim.Sum.k2 * STGB.exciter.rotatingExciterWithDemagnetizationVarLim.gain.y + STGB.exciter.rotatingExciterWithDemagnetizationVarLim.Sum.k3 * STGB.exciter.XADIFD 5/5 (1): STGB.exciter.gain.y = STGB.exciter.gain.k * STGB.exciter.imDerivativeLag.u 6/6 (1): STGB.exciter.variableLimiter.y = smooth(0, if STGB.exciter.variableLimiter.u > STGB.exciter.Upper_Limit.k then STGB.exciter.Upper_Limit.k else if STGB.exciter.variableLimiter.u < STGB.exciter.gain.y then STGB.exciter.gain.y else STGB.exciter.variableLimiter.u) 7/7 (1): STGB.exciter.rotatingExciterWithDemagnetizationVarLim.feedback.y = STGB.exciter.variableLimiter.y - STGB.exciter.imDerivativeLag.u 8/8 (6): algorithm STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.initVar := $START.STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.initVar; STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Reinit := pre(STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Reinit); STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachLower := pre(STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachLower); STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachUpper := pre(STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachUpper); STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Falling := pre(STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Falling); STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Rising := pre(STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Rising); if STGB.exciter.rotatingExciterWithDemagnetizationVarLim.feedback.y > 2.220446049250313e-16 then STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Rising := true; STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Falling := false; elseif STGB.exciter.rotatingExciterWithDemagnetizationVarLim.feedback.y < -2.220446049250313e-16 then STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Rising := false; STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Falling := true; else STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Rising := false; STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Falling := false; end if; if STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.w > STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.outMax then STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachUpper := true; STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachLower := false; elseif STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.w < STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.outMin then STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachLower := true; STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachUpper := false; else STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachUpper := false; STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachLower := false; end if; if STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachUpper and STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Falling then STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Reinit := true; STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.initVar := STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.outMax; elseif STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachLower and STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Rising then STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Reinit := true; STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.initVar := STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.outMin; end if; 9/14 (1): STGB.exciter.gain1.y = STGB.exciter.gain1.k * STGB.exciter.imDerivativeLag.u 10/15 (1): STGB.exciter.add.y = STGB.exciter.add.k1 * STGB.exciter.gain2.y + STGB.exciter.add.k2 * STGB.exciter.gain1.y 11/16 (1): STGB.exciter.add1.y = STGB.exciter.add1.k1 * STGB.exciter.pID_No_Windup.y + STGB.exciter.add1.k2 * STGB.exciter.add.y 12/17 (1): STGB.exciter.pI_No_Windup.add.u[2] = STGB.exciter.pI_No_Windup.proportional.k * STGB.exciter.add1.y 13/18 (1): STGB.exciter.pI_No_Windup.limiter.u = STGB.exciter.pI_No_Windup.add.k[1] * STGB.exciter.pI_No_Windup.integral.y + STGB.exciter.pI_No_Windup.add.k[2] * STGB.exciter.pI_No_Windup.add.u[2] 14/19 (1): STGB.exciter.pI_No_Windup.y = smooth(0, if STGB.exciter.pI_No_Windup.limiter.u > STGB.exciter.pI_No_Windup.limiter.uMax then STGB.exciter.pI_No_Windup.limiter.uMax else if STGB.exciter.pI_No_Windup.limiter.u < STGB.exciter.pI_No_Windup.limiter.uMin then STGB.exciter.pI_No_Windup.limiter.uMin else STGB.exciter.pI_No_Windup.limiter.u) 15/20 (1): STGB.exciter.variableLimiter.u = STGB.exciter.product.u1 * STGB.exciter.pI_No_Windup.y 16/21 (1): STGB.exciter.se1.VE_OUT = OpenIPSL.NonElectrical.Functions.SE(STGB.exciter.se1.VE_IN, STGB.exciter.se1.SE1, STGB.exciter.se1.SE2, STGB.exciter.se1.E1, STGB.exciter.se1.E2) 17/22 (1): STGB.exciter.DiffV3.y = STGB.exciter.DiffV3.k1 * STGB.exciter.se1.VE_OUT + STGB.exciter.DiffV3.k2 * STGB.exciter.const.k 18/23 (1): STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.outMax = STGB.exciter.DiffV2.y / STGB.exciter.DiffV3.y 19/24 (1): STGB.exciter.rectifierCommutationVoltageDrop.division.y = STGB.exciter.rectifierCommutationVoltageDrop.gain2.y / STGB.exciter.se1.VE_IN 20/25 (1): STGB.exciter.rectifierCommutationVoltageDrop.fEX.y = if STGB.exciter.rectifierCommutationVoltageDrop.division.y <= 0.0 then 1.0 else if STGB.exciter.rectifierCommutationVoltageDrop.division.y > 0.0 and STGB.exciter.rectifierCommutationVoltageDrop.division.y <= 0.433 then 1.0 + (-0.577) * STGB.exciter.rectifierCommutationVoltageDrop.division.y else if STGB.exciter.rectifierCommutationVoltageDrop.division.y > 0.433 and STGB.exciter.rectifierCommutationVoltageDrop.division.y < 0.75 then sqrt(0.75 - STGB.exciter.rectifierCommutationVoltageDrop.division.y ^ 2.0) else if STGB.exciter.rectifierCommutationVoltageDrop.division.y >= 0.75 and STGB.exciter.rectifierCommutationVoltageDrop.division.y <= 1.0 then 1.732 * (1.0 - STGB.exciter.rectifierCommutationVoltageDrop.division.y) else 0.0 21/26 (1): STGB.exciter.EFD = STGB.exciter.se1.VE_IN * STGB.exciter.rectifierCommutationVoltageDrop.fEX.y 22/27 (1): STGB.exciter.gain2.y = STGB.exciter.gain2.k * STGB.exciter.EFD 23/28 (1): STGB.exciter.rotatingExciterWithDemagnetizationVarLim.gain.y = STGB.exciter.rotatingExciterWithDemagnetizationVarLim.gain.k * STGB.exciter.se1.VE_IN Variables: 1: STGB.exciter.rotatingExciterWithDemagnetizationVarLim.gain.y:VARIABLE(flow=false ) \"Output signal connector\" type: Real 2: STGB.exciter.gain2.y:VARIABLE(flow=false ) \"Output signal connector\" type: Real 3: STGB.exciter.EFD:VARIABLE(flow=false ) \"Excitation Voltage [pu]\" type: Real 4: STGB.exciter.rectifierCommutationVoltageDrop.fEX.y:VARIABLE(flow=false ) type: Real 5: STGB.exciter.rectifierCommutationVoltageDrop.division.y:VARIABLE(flow=false ) \"Connector of Real output signal\" type: Real 6: STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.outMax:VARIABLE(flow=false start = STGB.exciter.max_lim0 ) type: Real 7: STGB.exciter.DiffV3.y:VARIABLE(flow=false ) \"Connector of Real output signal\" type: Real 8: STGB.exciter.se1.VE_OUT:VARIABLE(flow=false ) \"Saturated Output\" type: Real 9: STGB.exciter.variableLimiter.u:VARIABLE(flow=false ) \"Connector of Real input signal\" type: Real 10: STGB.exciter.pI_No_Windup.y:VARIABLE(flow=false ) \"Connector of Real output signal\" type: Real 11: STGB.exciter.pI_No_Windup.limiter.u:VARIABLE(flow=false ) \"Connector of Real input signal\" type: Real 12: STGB.exciter.pI_No_Windup.add.u[2]:VARIABLE(flow=false ) type: Real [2] 13: STGB.exciter.add1.y:VARIABLE(flow=false ) \"Connector of Real output signal\" type: Real 14: STGB.exciter.add.y:VARIABLE(flow=false ) \"Connector of Real output signal\" type: Real 15: STGB.exciter.gain1.y:VARIABLE(flow=false ) \"Output signal connector\" type: Real 16: STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachLower:DISCRETE(protected = true ) \"Flag for reaching lower limit\" type: Boolean 17: STGB.exciter.rotatingExciterWithDemagnetizationVarLim.feedback.y:VARIABLE(flow=false ) type: Real 18: STGB.exciter.variableLimiter.y:VARIABLE(flow=false ) \"Connector of Real output signal\" type: Real 19: STGB.exciter.gain.y:VARIABLE(flow=false ) \"Output signal connector\" type: Real 20: STGB.exciter.imDerivativeLag.u:VARIABLE(flow=false ) \"Connector of Real input signal\" type: Real 21: STGB.exciter.rotatingExciterWithDemagnetizationVarLim.VE.y:VARIABLE(flow=false ) \"Connector of Real output signal\" type: Real 22: STGB.exciter.rotatingExciterWithDemagnetizationVarLim.se1.VE_OUT:VARIABLE(flow=false ) \"Saturated Output\" type: Real 23: STGB.exciter.se1.VE_IN:VARIABLE(flow=false start = STGB.exciter.VE0 ) \"Unsaturated Input\" type: Real 24: STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.ReachUpper:DISCRETE(protected = true ) \"Flag for reaching upper limit\" type: Boolean 25: STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.initVar:VARIABLE(protected = true ) \"Dummy variable to be used as setting quantity\" type: Real 26: STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Rising:DISCRETE(protected = true ) \"Flag to know if input is positive\" type: Boolean 27: STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Falling:DISCRETE(protected = true ) \"Flag to know if input is negative\" type: Boolean 28: STGB.exciter.rotatingExciterWithDemagnetizationVarLim.sISO.Reinit:DISCRETE(protected = true ) \"Flag to reset state variable\" type: Boolean [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9826:5-9827:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02912/2.395, allocations: 8.658 MB / 1.294 GB, free: 150.8 MB / 0.8106 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model OpenIPSL.Examples.Microgrids.UniversityCampus.CampusA.CampusGridA could not be translated " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 5.7472205040976405] Failed to read output from testmodel.py, exit status != 0: 2.404300400055945 2.413430547 1.637193838 Calling exit ...