Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.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.001612/0.001612, allocations: 105 kB / 20.46 MB, free: 1.496 MB / 14.72 MB " [Timeout remaining time 180] 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.00181/0.00181, allocations: 222.5 kB / 23.78 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 207.6 MB / 234.5 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.8275/0.8275, allocations: 114.3 MB / 401.1 MB, free: 16.29 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu|BESS.regcBCS.UPu|BESS.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource") translateModel(Dynawo.Examples.BESS.WECC.BESSCurrentSource,tolerance=1e-05,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|BESS.injector.PInjPuSn|BESS.injector.QInjPuSn|BESS.reecC.idCmdPu|BESS.reecC.iqCmdPu|BESS.regcBCS.UPu|BESS.injector.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.003294/0.003294, allocations: 73.17 kB / 0.5684 GB, free: 42.73 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1749, allocations: 78.63 MB / 0.6452 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01974/0.1946, allocations: 12.98 MB / 0.6578 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01613/0.2108, allocations: 6.371 MB / 0.6641 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004271/0.215, allocations: 87.38 kB / 0.6641 GB, free: 10.05 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.003349/0.2184, allocations: 0.7629 MB / 0.6649 GB, free: 9.285 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.005406/0.2238, allocations: 0.9546 MB / 0.6658 GB, free: 8.324 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/BESS/WECC/BESSCurrentSource.mo:178:3-178:38:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/BESS/WECC/BESSCurrentSource.mo:180:3-180:47:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/BESS/WECC/BESSCurrentSource.mo:181:3-181:47:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/BESS/WECC/BaseClasses/BaseBESSCurrentSource.mo:66:3-66:64:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:40:5-44:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal2' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:34:5-38:13:writable] Warning: Conditional component 'switchOffSignal3' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/BESS/WECC/BESS_INIT.mo:54:3-54:99:writable] Warning: In relation Modelica.ComplexMath.'abs'(bess_INIT.sInj0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.009975/0.2338, allocations: 3.053 MB / 0.6688 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009994/0.2437, allocations: 4.539 MB / 0.6732 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003838/0.2476, allocations: 1.114 MB / 0.6743 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003992/0.2516, allocations: 1.681 MB / 0.676 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003819/0.2554, allocations: 1.761 MB / 0.6777 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002279/0.2577, allocations: 492 kB / 0.6781 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002996/0.2607, allocations: 0.7888 MB / 0.6789 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002065/0.2627, allocations: 0.9966 MB / 0.6799 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003984/0.2667, allocations: 1.904 MB / 0.6818 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01278/0.2795, allocations: 5.943 MB / 0.6876 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2795, allocations: 0 / 0.6876 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.275e-06/0.2795, allocations: 0 / 0.6876 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002117/0.2797, allocations: 0 / 0.6876 GB, free: 1.949 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.02086/0.3006, allocations: 4.687 MB / 0.6921 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.785e-05/0.3007, allocations: 12.03 kB / 0.6921 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005975/0.3066, allocations: 0.9274 MB / 0.693 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008009/0.3146, allocations: 2.373 MB / 0.6954 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001163/0.3158, allocations: 0.8796 MB / 0.6962 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/0.317, allocations: 235.9 kB / 0.6965 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008152/0.3251, allocations: 3.056 MB / 0.6994 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.496e-05/0.3252, allocations: 7.938 kB / 0.6994 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002854/0.3255, allocations: 96 kB / 0.6995 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.413e-05/0.3255, allocations: 60 kB / 0.6996 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006707/0.3322, allocations: 2.62 MB / 0.7022 GB, free: 2.504 MB / 0.5294 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.02266/0.3549, allocations: 11.53 MB / 0.7134 GB, free: 6.566 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006764/0.3617, allocations: 2.452 MB / 0.7158 GB, free: 4.102 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002889/0.3645, allocations: 1.148 MB / 0.7169 GB, free: 2.953 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000241/0.3648, allocations: 37.95 kB / 0.717 GB, free: 2.914 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003478/0.3683, allocations: 1.529 MB / 0.7185 GB, free: 1.367 MB / 0.545 GB Notification: Performance of pre-optimization done (n=193): time 3.777e-06/0.3683, allocations: 0 / 0.7185 GB, free: 1.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=193): time 0.01159/0.3799, allocations: 4.107 MB / 0.7225 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003532/0.3802, allocations: 0.4889 MB / 0.7229 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005757/0.386, allocations: 3.005 MB / 0.7259 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007056/0.3867, allocations: 77.69 kB / 0.7259 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001655/0.3883, allocations: 1.37 MB / 0.7273 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001303/0.3896, allocations: 0.7013 MB / 0.728 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/0.3908, allocations: 0.5688 MB / 0.7285 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3909, allocations: 313.1 kB / 0.7288 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00317/0.3941, allocations: 1.365 MB / 0.7302 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003797/0.3979, allocations: 1.914 MB / 0.732 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02305/0.4209, allocations: 7.001 MB / 0.7389 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.919e-05/0.421, allocations: 4 kB / 0.7389 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=391) (initialization): time 0.01053/0.4315, allocations: 4.103 MB / 0.7429 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.913e-05/0.4316, allocations: 53.67 kB / 0.7429 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/0.4316, allocations: 12 kB / 0.7429 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005601/0.4322, allocations: 324.7 kB / 0.7432 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003224/0.4354, allocations: 0.6864 MB / 0.7439 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.138e-05/0.4354, allocations: 31.92 kB / 0.7439 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002916/0.4384, allocations: 405.9 kB / 0.7443 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002673/0.4386, allocations: 108 kB / 0.7444 GB, free: 6.152 MB / 0.5762 GB Warning: Assuming fixed start value for the following 24 variables: line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running.value:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) type: Boolean BESS.line.running.value:DISCRETE(flow=false start = BESS.line.Running0 fixed = true ) type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004464/0.4431, allocations: 1.963 MB / 0.7464 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003413/0.4465, allocations: 1.855 MB / 0.7482 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02155/0.4681, allocations: 6.86 MB / 0.7549 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.335e-05/0.4681, allocations: 4 kB / 0.7549 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=391) (initialization_lambda0): time 0.01022/0.4783, allocations: 3.997 MB / 0.7588 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.522e-05/0.4784, allocations: 57.11 kB / 0.7588 GB, free: 7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.4784, allocations: 12.78 kB / 0.7588 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004865/0.4789, allocations: 324.6 kB / 0.7591 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00332/0.4822, allocations: 0.667 MB / 0.7598 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.512e-05/0.4822, allocations: 31.92 kB / 0.7598 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/0.4853, allocations: 350.5 kB / 0.7602 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003587/0.4857, allocations: 104 kB / 0.7603 GB, free: 5.527 MB / 0.5919 GB Warning: Assuming fixed start value for the following 24 variables: line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.firstOrder1.y:VARIABLE(flow=false start = BESS.reecC.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.reecC.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = BESS.reecC.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze2.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = BESS.regcA.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.firstOrder.y:VARIABLE(flow=false start = BESS.regcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.regcA.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean BESS.regcA.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) type: Real BESS.injector.running.value:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) type: Boolean BESS.line.running.value:DISCRETE(flow=false start = BESS.line.Running0 fixed = true ) type: Boolean BESS.repcA.firstOrder.y:VARIABLE(flow=false start = BESS.repcA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder1.y:VARIABLE(flow=false start = BESS.repcA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder2.y:VARIABLE(flow=false start = BESS.repcA.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.firstOrder3.y:VARIABLE(flow=false start = BESS.repcA.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.limPIDFreeze.I.y:VARIABLE(flow=false start = BESS.repcA.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real BESS.repcA.leadLag.x_scaled[1]:VARIABLE(start = BESS.repcA.leadLag.X0[1] * BESS.repcA.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.line.state,line.state,$PRE.BESS.line.state,BESS.line.state,$PRE.BESS.injector.state,BESS.injector.state,BESS.injector.switchOffSignal3.value,BESS.injector.switchOffSignal2.value,BESS.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running.value,$PRE.BESS.line.running.value,$PRE.line.running.value,BESS.regcA.QInj0PuPos.k,BESS.regcA.and1.u[1],BESS.regcA.QInj0PuPos.y,BESS.regcA.Qinj0PuNeg.k,BESS.regcA.and2.u[2],BESS.regcA.Qinj0PuNeg.y,$PRE.BESS.regcA.offDelay.u,line.running.value,BESS.repcA.freeze,BESS.line.running.value,BESS.injector.running.value,BESS.regcA.and2.y,BESS.regcA.and1.y,BESS.regcA.and1.u[2],BESS.regcA.offDelay.tNext,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.u,$whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,BESS.repcA.limPIDFreeze.I.resetLocal,BESS.repcA.limPID.I.local_reset,BESS.pll.limIntegrator.local_reset,BESS.pll.integrator.local_reset,BESS.reecC.integrator.local_reset,BESS.reecC.varLimPIDFreeze.I.resetLocal,BESS.reecC.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (369): * Single equations (assignments): 367 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001067/0.4868, allocations: 481.2 kB / 0.7607 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009901/0.4878, allocations: 337.8 kB / 0.761 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008141/0.4959, allocations: 3.14 MB / 0.7641 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/0.4959, allocations: 20 kB / 0.7641 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/0.4959, allocations: 3.938 kB / 0.7641 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.739e-05/0.496, allocations: 11.95 kB / 0.7641 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/0.5114, allocations: 7.073 MB / 0.7711 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.5115, allocations: 4 kB / 0.7711 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002755/0.5142, allocations: 459.8 kB / 0.7715 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004839/0.5147, allocations: 316.7 kB / 0.7718 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002095/0.5149, allocations: 51.98 kB / 0.7718 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.812e-05/0.5149, allocations: 19.92 kB / 0.7719 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.5149, allocations: 4 kB / 0.7719 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/0.5262, allocations: 4.975 MB / 0.7767 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002144/0.5283, allocations: 0.6653 MB / 0.7774 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005716/0.5289, allocations: 56 kB / 0.7774 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/0.5308, allocations: 199.7 kB / 0.7776 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003964/0.5312, allocations: 185.5 kB / 0.7778 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/0.5314, allocations: 67.97 kB / 0.7779 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003417/0.5348, allocations: 1.976 MB / 0.7798 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5348, allocations: 0 / 0.7798 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003723/0.5385, allocations: 1.228 MB / 0.781 GB, free: 108 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 20 (BESS.reecC.firstOrder.y,BESS.reecC.firstOrder1.y,BESS.reecC.limPIDFreeze.I.y,BESS.reecC.varLimPIDFreeze.I.y,BESS.reecC.rateLimFirstOrderFreeze1.y,BESS.reecC.slewRateLimiter.y,BESS.reecC.rateLimFirstOrderFreeze.y,BESS.reecC.integrator.y,BESS.regcA.rateLimFirstOrderFreeze2.y,BESS.regcA.rateLimFirstOrderFreeze1.y,BESS.regcA.firstOrder.y,BESS.pll.integrator.y,BESS.pll.limIntegrator.y,BESS.repcA.firstOrder.y,BESS.repcA.limPID.I.y,BESS.repcA.firstOrder1.y,BESS.repcA.firstOrder2.y,BESS.repcA.firstOrder3.y,BESS.repcA.limPIDFreeze.I.y,BESS.repcA.leadLag.x_scaled[1]) * Number of discrete variables: 24 ($whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,BESS.regcA.offDelay.u,BESS.regcA.offDelay.delaySignal,BESS.regcA.offDelay.tNext,BESS.regcA.and1.u[2],BESS.regcA.and1.y,BESS.regcA.and2.y,BESS.injector.running.value,BESS.injector.state,BESS.line.running.value,BESS.line.state,BESS.repcA.freeze,line.running.value,line.state) * Number of discrete states: 4 (line.running.value,BESS.line.running.value,BESS.injector.running.value,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.392/0.9304, allocations: 488.8 kB / 0.7815 GB, free: 129.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01464/0.9451, allocations: 4.998 MB / 0.7863 GB, free: 129 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/0.9451, allocations: 6.938 kB / 0.7863 GB, free: 129 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003539/0.9486, allocations: 1.558 MB / 0.7879 GB, free: 128.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/0.9517, allocations: 483.7 kB / 0.7883 GB, free: 128.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/0.9656, allocations: 6.183 MB / 0.7944 GB, free: 125.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00194/0.9675, allocations: 1.822 MB / 0.7961 GB, free: 124.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001612/0.9691, allocations: 218.3 kB / 0.7964 GB, free: 124.4 MB / 0.6075 GB Notification: Performance of SimCode: time 3.165e-06/0.9691, allocations: 0 / 0.7964 GB, free: 124.4 MB / 0.6075 GB Notification: Performance of Templates: time 0.07692/1.046, allocations: 58.33 MB / 0.8533 GB, free: 77.75 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe >> ../files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.sim & ./Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe 2>&1) [Timeout 480] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable BESS.regcBCS.UPu in file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat. Warning: Get data of variable BESS.regcBCS.UPu from file Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.057887842995115]