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.0009649/0.0009649, allocations: 96.38 kB / 19.72 MB, free: 432 kB / 13.93 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.001059/0.001059, allocations: 219.1 kB / 23.02 MB, free: 2.953 MB / 13.93 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 0.9004/0.9004, allocations: 207.7 MB / 233.9 MB, free: 11.46 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.6175/0.6175, allocations: 135.3 MB / 421.5 MB, free: 2.66 MB / 346.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-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 the simulation runtime does not accept it Ignoring simflag -noemit -noRestart=() since the simulation runtime does not accept it Ignoring simflag -noemit -noRootFinding=() since the simulation runtime does not accept it Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSource,fileNamePrefix="Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource",fmuType="me_cs",version="2.0",platforms={"static"}) [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.001601/0.001601, allocations: 83.34 kB / 0.6017 GB, free: 9.609 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1152, allocations: 84.29 MB / 0.6841 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSource): time 0.01134/0.1266, allocations: 13.69 MB / 0.6974 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.008201/0.1348, allocations: 6.763 MB / 0.704 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001616/0.1364, allocations: 95.31 kB / 0.7041 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.1378, allocations: 0.8837 MB / 0.705 GB, free: 3.277 MB / 0.5261 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.002353/0.1402, allocations: 1.526 MB / 0.7065 GB, free: 1.742 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Electrical/Controls/WECC/BaseClasses_INIT/WECCPlantCurrentSource_INIT.mo:87:3-87:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wTG4CurrentSource_INIT.s0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.003397/0.1436, allocations: 2.99 MB / 0.7094 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004566/0.1481, allocations: 5.392 MB / 0.7147 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.1495, allocations: 1.198 MB / 0.7158 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/0.1513, allocations: 2.008 MB / 0.7178 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.1526, allocations: 1.962 MB / 0.7197 GB, free: 4.109 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0004782/0.1531, allocations: 0.5625 MB / 0.7202 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.1544, allocations: 0.8865 MB / 0.7211 GB, free: 2.66 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0005917/0.155, allocations: 1.168 MB / 0.7223 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.1561, allocations: 1.772 MB / 0.724 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004733/0.1609, allocations: 6.974 MB / 0.7308 GB, free: 8.707 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1609, allocations: 3.938 kB / 0.7308 GB, free: 8.703 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1609, allocations: 4 kB / 0.7308 GB, free: 8.699 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.911e-05/0.1609, allocations: 0 / 0.7308 GB, free: 8.699 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 724 * Number of variables: 724 Notification: Performance of Generate backend data structure: time 0.00833/0.1693, allocations: 5.809 MB / 0.7365 GB, free: 2.801 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.1693, allocations: 8.031 kB / 0.7365 GB, free: 2.793 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003453/0.1696, allocations: 404.6 kB / 0.7369 GB, free: 2.391 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004436/0.1741, allocations: 1.387 MB / 0.7382 GB, free: 1 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/0.1771, allocations: 2.708 MB / 0.7409 GB, free: 14.25 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006913/0.1777, allocations: 1.032 MB / 0.7419 GB, free: 13.03 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002861/0.178, allocations: 296 kB / 0.7422 GB, free: 12.74 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004188/0.1822, allocations: 4.031 MB / 0.7461 GB, free: 8.43 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.674e-05/0.1823, allocations: 3.938 kB / 0.7461 GB, free: 8.426 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001963/0.1825, allocations: 124 kB / 0.7462 GB, free: 8.305 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/0.1825, allocations: 72 kB / 0.7463 GB, free: 8.234 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004518/0.187, allocations: 3.182 MB / 0.7494 GB, free: 5.039 MB / 0.573 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.01128/0.1983, allocations: 10.97 MB / 0.7601 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004154/0.2024, allocations: 2.785 MB / 0.7628 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.2041, allocations: 1.308 MB / 0.7641 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.2043, allocations: 37.98 kB / 0.7641 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002169/0.2065, allocations: 1.782 MB / 0.7659 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=244): time 5.11e-06/0.2065, allocations: 8 kB / 0.7659 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=244): time 0.007404/0.2139, allocations: 4.773 MB / 0.7706 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000148/0.214, allocations: 0.4889 MB / 0.771 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003654/0.2177, allocations: 3.503 MB / 0.7745 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001807/0.2178, allocations: 81.69 kB / 0.7745 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.2189, allocations: 1.63 MB / 0.7761 GB, free: 9.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008382/0.2197, allocations: 0.8757 MB / 0.777 GB, free: 8.438 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008512/0.2206, allocations: 0.7317 MB / 0.7777 GB, free: 7.699 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.197e-05/0.2206, allocations: 309.1 kB / 0.778 GB, free: 7.395 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/0.2228, allocations: 1.743 MB / 0.7797 GB, free: 5.641 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002562/0.2253, allocations: 2.726 MB / 0.7824 GB, free: 2.641 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0151/0.2404, allocations: 8.93 MB / 0.7911 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.2404, allocations: 4 kB / 0.7911 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006628/0.2471, allocations: 5.053 MB / 0.796 GB, free: 4.438 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.909e-05/0.2471, allocations: 72.94 kB / 0.7961 GB, free: 4.363 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.2471, allocations: 12 kB / 0.7961 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005109/0.2477, allocations: 377.4 kB / 0.7965 GB, free: 3.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/0.2497, allocations: 0.8425 MB / 0.7973 GB, free: 3.137 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/0.253, allocations: 2.994 MB / 0.8002 GB, free: 32 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.2548, allocations: 481.5 kB / 0.8007 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/0.255, allocations: 144 kB / 0.8008 GB, free: 15.41 MB / 0.6355 GB Warning: Assuming fixed start value for the following 26 variables: BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer 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) 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) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu 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.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.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.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:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" 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] BESS.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003323/0.2583, allocations: 2.402 MB / 0.8031 GB, free: 13 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002836/0.2612, allocations: 2.663 MB / 0.8057 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01446/0.2756, allocations: 8.79 MB / 0.8143 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.128e-05/0.2756, allocations: 8 kB / 0.8143 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of matching and sorting (n=508) (initialization_lambda0): time 0.244/0.5197, allocations: 4.939 MB / 0.8192 GB, free: 124.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.005e-05/0.5197, allocations: 66.44 kB / 0.8192 GB, free: 124.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.5198, allocations: 13.34 kB / 0.8192 GB, free: 124.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005264/0.5203, allocations: 380.7 kB / 0.8196 GB, free: 124.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002431/0.5227, allocations: 0.8198 MB / 0.8204 GB, free: 124.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002674/0.5254, allocations: 2.994 MB / 0.8233 GB, free: 122.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.5272, allocations: 413.3 kB / 0.8237 GB, free: 122.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.5273, allocations: 136.1 kB / 0.8238 GB, free: 122.3 MB / 0.6355 GB Warning: Assuming fixed start value for the following 26 variables: BESS.HvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.HvTfo.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) BESS.LvTfo.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = BESS.LvTfo.State0 fixed = true ) \"Transformer 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) 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) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.reecC.firstOrder.y:VARIABLE(flow=false start = BESS.reecC.UConv0Pu 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.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.reecC.varLimPIDFreeze.I.y:VARIABLE(flow=false start = BESS.reecC.varLimPIDFreeze.I.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:DISCRETE(flow=false start = BESS.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.LvTfo.running:DISCRETE(flow=false start = BESS.LvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean BESS.HvTfo.running:DISCRETE(flow=false start = BESS.HvTfo.Running0 fixed = true ) \"Indicates if the component is running or not\" 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] 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: 43 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.BESS.HvTfo.state,BESS.HvTfo.state,$PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,$PRE.line.state,line.state,BESS.switchOffSignal3,BESS.switchOffSignal2,BESS.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,BESS.regcA.rateLimFirstOrderFreeze1.local_freeze,BESS.regcA.rateLimFirstOrderFreeze2.local_freeze,$PRE.line.running,$PRE.BESS.regcA.offDelay.delaySignal,$PRE.BESS.regcA.offDelay.tNext,$PRE.BESS.injector.running,$PRE.BESS.LvTfo.running,$PRE.BESS.HvTfo.running,BESS.regcA.QConv0PuPos.k,BESS.regcA.and1.u[1],BESS.regcA.QConv0PuPos.y,BESS.regcA.QConv0PuNeg.k,BESS.regcA.and2.u[2],BESS.regcA.QConv0PuNeg.y,$PRE.BESS.regcA.offDelay.u,BESS.repcA.freeze,BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,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,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,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 (471): * Single equations (assignments): 469 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006653/0.528, allocations: 0.5089 MB / 0.8243 GB, free: 122 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004437/0.5284, allocations: 396 kB / 0.8247 GB, free: 122 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005433/0.5339, allocations: 3.605 MB / 0.8282 GB, free: 120.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.5339, allocations: 25.34 kB / 0.8283 GB, free: 120.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.5339, allocations: 2.75 kB / 0.8283 GB, free: 120.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-05/0.5339, allocations: 12.7 kB / 0.8283 GB, free: 120.6 MB / 0.6355 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 postOpt removeSimpleEquations (simulation): time 0.009789/0.5437, allocations: 7.479 MB / 0.8356 GB, free: 117.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.5437, allocations: 5.219 kB / 0.8356 GB, free: 117.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002068/0.5458, allocations: 0.5221 MB / 0.8361 GB, free: 117.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005491/0.5463, allocations: 372.8 kB / 0.8365 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001588/0.5465, allocations: 64.84 kB / 0.8365 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003254/0.5497, allocations: 2.978 MB / 0.8394 GB, free: 114.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.5498, allocations: 9.656 kB / 0.8394 GB, free: 114.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008496/0.5583, allocations: 5.705 MB / 0.845 GB, free: 112.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/0.5595, allocations: 0.7893 MB / 0.8458 GB, free: 111.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003317/0.5599, allocations: 77.09 kB / 0.8458 GB, free: 111.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.5613, allocations: 220.9 kB / 0.8461 GB, free: 111.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003573/0.5617, allocations: 207.7 kB / 0.8463 GB, free: 111.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/0.5619, allocations: 83.69 kB / 0.8463 GB, free: 111.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00255/0.5644, allocations: 2.293 MB / 0.8486 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/0.5644, allocations: 0 / 0.8486 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00299/0.5674, allocations: 1.647 MB / 0.8502 GB, free: 110.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (BESS.reecC.firstOrder.y,BESS.reecC.firstOrder1.y,BESS.reecC.limPIDFreeze.I.y,BESS.reecC.rateLimFirstOrderFreeze1.y,BESS.reecC.slewRateLimiter.y,BESS.reecC.rateLimFirstOrderFreeze.y,BESS.reecC.varLimPIDFreeze.I.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: 29 ($whenCondition14,$whenCondition12,$whenCondition13,$whenCondition11,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,line.running,line.state,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,BESS.injector.state,BESS.LvTfo.running,BESS.LvTfo.state,BESS.HvTfo.running,BESS.HvTfo.state,BESS.repcA.freeze) * Number of discrete states: 5 (BESS.HvTfo.running,BESS.LvTfo.running,BESS.injector.running,line.running,BESS.regcA.offDelay.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,4,46.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009069/0.5765, allocations: 6.677 MB / 0.8567 GB, free: 106.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.009744/0.5862, allocations: 6.55 MB / 0.8631 GB, free: 99.76 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/0.5862, allocations: 6.953 kB / 0.8631 GB, free: 99.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00301/0.5892, allocations: 1.997 MB / 0.8651 GB, free: 97.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.5916, allocations: 0.5381 MB / 0.8656 GB, free: 97.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03575/0.6273, allocations: 33.39 MB / 0.8982 GB, free: 63.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008524/0.6282, allocations: 1.511 MB / 0.8997 GB, free: 61.71 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001492/0.6297, allocations: 0.558 MB / 0.9002 GB, free: 61.15 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001353/0.631, allocations: 1.585 MB / 0.9018 GB, free: 59.56 MB / 0.6355 GB Notification: Performance of SimCode: time 1.433e-06/0.631, allocations: 0 / 0.9018 GB, free: 59.56 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1312/0.7623, allocations: 85.42 MB / 0.9852 GB, free: 6.402 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.852/10.61, allocations: 12.05 kB / 0.9852 GB, free: 6.391 MB / 0.6667 GB " [Timeout remaining time 649] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat --stripRoot --tempDir=temp_Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-05 ../Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource.fmu) > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-05 ../Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource_OMSimulator-cs-cvode.fmu) > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-05 ../Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource_OMSimulator-cs-euler.fmu) > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy_res.csv --output-variables BESS.injector.PInjPuSn BESS.injector.QInjPuSn BESS.reecC.idCmdPu BESS.reecC.iqCmdPu BESS.injector.UPu --start-time 0 --stop-time 20 --timeout 240 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Dynawo_dev_Dynawo_Examples_BESS_WECC_BESSCurrentSource.fmu) > Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Dynawo_dev_Dynawo.Examples.BESS.WECC.BESSCurrentSource_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.BESS.WECC.BESSCurrentSource_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.863074401393533]