Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.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.001125/0.001125, 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.001355/0.001355, allocations: 223 kB / 23.02 MB, free: 2.945 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.9043/0.9043, 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 1.8.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo): time 0.4399/0.4399, allocations: 122.7 MB / 408.8 MB, free: 15.4 MB / 346.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/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.BESSCurrentSourceNoPPC,fileNamePrefix="Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC,fileNamePrefix="Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC",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.001823/0.001823, allocations: 79.88 kB / 0.5827 GB, free: 5.367 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3316, allocations: 80.9 MB / 0.6617 GB, free: 21.17 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC): time 0.007642/0.3392, allocations: 9.275 MB / 0.6708 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005309/0.3445, allocations: 4.933 MB / 0.6756 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007674/0.3453, allocations: 55.81 kB / 0.6757 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008463/0.3462, allocations: 0.6059 MB / 0.6762 GB, free: 9.699 MB / 0.4948 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.001404/0.3476, allocations: 0.9421 MB / 0.6772 GB, free: 8.941 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/Electrical/Controls/WECC/BaseClasses_INIT/WECCInverterCurrentSource_INIT.mo:69:3-69:90:writable] Warning: In relation Modelica.ComplexMath.'abs'(wt4CurrentSource_INIT.s0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.3494, allocations: 1.958 MB / 0.6791 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001947/0.3514, allocations: 3.193 MB / 0.6822 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007344/0.3521, allocations: 0.6895 MB / 0.6829 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009489/0.3531, allocations: 1.193 MB / 0.684 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009231/0.354, allocations: 1.177 MB / 0.6852 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004692/0.3544, allocations: 332.2 kB / 0.6855 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.3555, allocations: 0.5923 MB / 0.6861 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000415/0.3559, allocations: 0.705 MB / 0.6868 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009931/0.3569, allocations: 1.067 MB / 0.6878 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.003005/0.3599, allocations: 4.25 MB / 0.692 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3599, allocations: 4 kB / 0.692 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3599, allocations: 1.344 kB / 0.692 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.483e-05/0.3599, allocations: 3.938 kB / 0.692 GB, free: 14.21 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 433 * Number of variables: 433 Notification: Performance of Generate backend data structure: time 0.006059/0.366, allocations: 3.578 MB / 0.6955 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.366, allocations: 19.97 kB / 0.6955 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002312/0.3663, allocations: 249.1 kB / 0.6957 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/0.3682, allocations: 0.6744 MB / 0.6964 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.37, allocations: 1.66 MB / 0.698 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003785/0.3704, allocations: 0.7603 MB / 0.6987 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.3705, allocations: 176 kB / 0.6989 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002711/0.3733, allocations: 2.401 MB / 0.7013 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.3733, allocations: 3.938 kB / 0.7013 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.3734, allocations: 79.98 kB / 0.7013 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.3734, allocations: 40 kB / 0.7014 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002906/0.3763, allocations: 1.89 MB / 0.7032 GB, free: 2.438 MB / 0.5105 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.006797/0.3831, allocations: 6.842 MB / 0.7099 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.3857, allocations: 1.785 MB / 0.7116 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.3867, allocations: 0.7972 MB / 0.7124 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.3868, allocations: 28.98 kB / 0.7124 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001397/0.3882, allocations: 1.156 MB / 0.7136 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=147): time 2.364e-06/0.3882, allocations: 3.938 kB / 0.7136 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of matching and sorting (n=147): time 0.004693/0.3929, allocations: 3.008 MB / 0.7165 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.627e-05/0.393, allocations: 278.3 kB / 0.7168 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/0.3949, allocations: 2.211 MB / 0.7189 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.599e-05/0.395, allocations: 61.69 kB / 0.719 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005725/0.3956, allocations: 1.006 MB / 0.72 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003272/0.3959, allocations: 0.5309 MB / 0.7205 GB, free: 432 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004914/0.3964, allocations: 468.9 kB / 0.7209 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.696e-05/0.3965, allocations: 309.1 kB / 0.7212 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.398, allocations: 1.067 MB / 0.7223 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001983/0.4, allocations: 1.633 MB / 0.7239 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008772/0.4088, allocations: 5.424 MB / 0.7292 GB, free: 7.152 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.4088, allocations: 0 / 0.7292 GB, free: 7.152 MB / 0.5417 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.004065/0.4129, allocations: 3.192 MB / 0.7323 GB, free: 3.898 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.754e-05/0.4129, allocations: 57.67 kB / 0.7323 GB, free: 3.836 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.4129, allocations: 4 kB / 0.7324 GB, free: 3.832 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003674/0.4133, allocations: 273 kB / 0.7326 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.4145, allocations: 0.5343 MB / 0.7331 GB, free: 3.027 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/0.4168, allocations: 2.475 MB / 0.7355 GB, free: 456 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000908/0.4177, allocations: 298.4 kB / 0.7358 GB, free: 156 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.4179, allocations: 87.98 kB / 0.7359 GB, free: 68 kB / 0.5417 GB Warning: Assuming fixed start value for the following 18 variables: 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.regcA.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002257/0.4201, allocations: 1.545 MB / 0.7374 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001558/0.4217, allocations: 1.62 MB / 0.739 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008409/0.4301, allocations: 5.389 MB / 0.7443 GB, free: 7.145 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.611e-06/0.4301, allocations: 4 kB / 0.7443 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of matching and sorting (n=322) (initialization_lambda0): time 0.003893/0.434, allocations: 3.161 MB / 0.7474 GB, free: 3.918 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.434, allocations: 57.67 kB / 0.7474 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.434, allocations: 8 kB / 0.7474 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000298/0.4343, allocations: 264.9 kB / 0.7477 GB, free: 3.586 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.4355, allocations: 0.5305 MB / 0.7482 GB, free: 3.055 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.4378, allocations: 2.468 MB / 0.7506 GB, free: 476 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008379/0.4386, allocations: 258.8 kB / 0.7509 GB, free: 216 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.4387, allocations: 91.98 kB / 0.7509 GB, free: 124 kB / 0.5573 GB Warning: Assuming fixed start value for the following 18 variables: 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.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: 33 * Number of states: 0 () * Number of discrete variables: 50 ($PRE.BESS.LvTfo.state,BESS.LvTfo.state,$PRE.BESS.injector.state,BESS.injector.state,$PRE.line.state,line.state,BESS.injector.switchOffSignal3,BESS.injector.switchOffSignal2,BESS.injector.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,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.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,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 (296): * Single equations (assignments): 294 * 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 {(8,2,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000441/0.4392, allocations: 414.1 kB / 0.7513 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.4394, allocations: 242.5 kB / 0.7516 GB, free: 15.48 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003193/0.4426, allocations: 2.282 MB / 0.7538 GB, free: 13.18 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.4426, allocations: 16 kB / 0.7538 GB, free: 13.16 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4426, allocations: 4 kB / 0.7538 GB, free: 13.16 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.4426, allocations: 7.969 kB / 0.7538 GB, free: 13.15 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00545/0.4481, allocations: 4.55 MB / 0.7583 GB, free: 8.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.4481, allocations: 7.984 kB / 0.7583 GB, free: 8.492 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.4491, allocations: 351.7 kB / 0.7586 GB, free: 8.148 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003032/0.4494, allocations: 260.7 kB / 0.7589 GB, free: 7.891 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.472e-05/0.4495, allocations: 35.98 kB / 0.7589 GB, free: 7.855 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/0.4515, allocations: 2.46 MB / 0.7613 GB, free: 5.285 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.4515, allocations: 7.938 kB / 0.7613 GB, free: 5.277 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005174/0.4567, allocations: 3.601 MB / 0.7648 GB, free: 1.613 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006389/0.4573, allocations: 489.9 kB / 0.7653 GB, free: 1.133 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.4575, allocations: 43.98 kB / 0.7653 GB, free: 1.09 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006599/0.4581, allocations: 147.7 kB / 0.7655 GB, free: 0.9453 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.4583, allocations: 133 kB / 0.7656 GB, free: 0.8125 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.427e-05/0.4584, allocations: 55.97 kB / 0.7656 GB, free: 0.7578 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001402/0.4598, allocations: 1.438 MB / 0.7671 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.4598, allocations: 0 / 0.7671 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001757/0.4616, allocations: 1.006 MB / 0.768 GB, free: 14.3 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 13 (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) * Number of discrete variables: 23 ($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) * Number of discrete states: 4 (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 (146): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 {(8,2,50.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005878/0.4675, allocations: 4.524 MB / 0.7725 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.005494/0.4729, allocations: 4.239 MB / 0.7766 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.473, allocations: 4 kB / 0.7766 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001601/0.4746, allocations: 1.272 MB / 0.7778 GB, free: 4.262 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.4759, allocations: 341.5 kB / 0.7782 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02425/0.5002, allocations: 21.19 MB / 0.7989 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009506/0.5011, allocations: 0.9545 MB / 0.7998 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008668/0.502, allocations: 314.8 kB / 0.8001 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008936/0.5029, allocations: 0.9445 MB / 0.801 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/0.5029, allocations: 0 / 0.801 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1397/0.6426, allocations: 55.02 MB / 0.8547 GB, free: 5.012 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.798/9.44, allocations: 4.062 kB / 0.8547 GB, free: 5.008 MB / 0.6667 GB " [Timeout remaining time 650] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe >> ../files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --mode=me --timeout=240 --tolerance=1e-05 ../Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC.fmu) > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC.pipe 2>&1) [Timeout 252.0] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_OMSimulator-cs-cvode.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-05 ../Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC_OMSimulator-cs-cvode.fmu) > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_OMSimulator-cs-euler.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_OMSimulator-cs-euler.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --mode=cs --timeout=240 --tolerance=1e-05 ../Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC_OMSimulator-cs-euler.fmu) > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_fmpy.pipe ; mkfifo Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_fmpy.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_fmpy_res.csv --start-time 0 --stop-time 20 --timeout 240 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../Dynawo_Dynawo_Examples_BESS_WECC_BESSCurrentSourceNoPPC.fmu) > Dynawo_Dynawo.Examples.BESS.WECC.BESSCurrentSourceNoPPC_fmpy.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 14.854395607486367]