Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ATProcessControl.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.00139/0.00139, allocations: 108.2 kB / 16.45 MB, free: 6.508 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.001461/0.001461, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.601/1.601, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.06471/0.06471, allocations: 11.33 MB / 320.2 MB, free: 9.445 MB / 254.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package 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) Running command: "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.ATProcessControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_ATProcessControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.ATProcessControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_ATProcessControl",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002529/0.002529, allocations: 63.91 kB / 445.8 MB, free: 13.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1326, allocations: 56.02 MB / 0.4901 GB, free: 5.715 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.ATProcessControl): time 0.008666/0.1413, allocations: 5.619 MB / 0.4955 GB, free: 60 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005651/0.1469, allocations: 2.57 MB / 0.4981 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.1483, allocations: 75.25 kB / 0.4981 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.1494, allocations: 364.9 kB / 0.4985 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.1504, allocations: 357.4 kB / 0.4988 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002475/0.1529, allocations: 1.111 MB / 0.4999 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003025/0.1559, allocations: 2.601 MB / 0.5024 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006438/0.1566, allocations: 370.6 kB / 0.5028 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.1579, allocations: 1.036 MB / 0.5038 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.1592, allocations: 1.003 MB / 0.5048 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003477/0.1596, allocations: 236 kB / 0.505 GB, free: 6.309 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005692/0.1601, allocations: 351.9 kB / 0.5053 GB, free: 5.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003782/0.1605, allocations: 406.3 kB / 0.5057 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.1616, allocations: 1.149 MB / 0.5069 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002993/0.1646, allocations: 2.365 MB / 0.5092 GB, free: 2.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1646, allocations: 0 / 0.5092 GB, free: 2.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1646, allocations: 0 / 0.5092 GB, free: 2.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.473e-05/0.1647, allocations: 0 / 0.5092 GB, free: 2.031 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.2816/0.4462, allocations: 2.764 MB / 0.5119 GB, free: 23.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.351e-05/0.4463, allocations: 10.69 kB / 0.5119 GB, free: 23.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004506/0.4468, allocations: 263.5 kB / 0.5121 GB, free: 23.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006739/0.4474, allocations: 288.1 kB / 0.5124 GB, free: 23.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/0.4498, allocations: 1.239 MB / 0.5136 GB, free: 23.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003272/0.4501, allocations: 365.8 kB / 0.514 GB, free: 23.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003529/0.4505, allocations: 225.6 kB / 0.5142 GB, free: 23.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003723/0.4542, allocations: 2.195 MB / 0.5163 GB, free: 22.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/0.4542, allocations: 11.69 kB / 0.5163 GB, free: 22.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002216/0.4544, allocations: 101.5 kB / 0.5164 GB, free: 22.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/0.4545, allocations: 28.34 kB / 0.5165 GB, free: 22.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.4567, allocations: 1.267 MB / 0.5177 GB, free: 22.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008124/0.4649, allocations: 5.576 MB / 0.5231 GB, free: 19.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/0.4674, allocations: 1.207 MB / 0.5243 GB, free: 18.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.4689, allocations: 0.8945 MB / 0.5252 GB, free: 18.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.28e-05/0.469, allocations: 22.91 kB / 0.5252 GB, free: 18.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003505/0.4725, allocations: 2.904 MB / 0.528 GB, free: 16.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=246): time 3.777e-06/0.4725, allocations: 0 / 0.528 GB, free: 16.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=246): time 0.01127/0.4838, allocations: 6.755 MB / 0.5346 GB, free: 13.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006445/0.4844, allocations: 1.694 MB / 0.5363 GB, free: 12.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002081/0.4865, allocations: 1.212 MB / 0.5375 GB, free: 11.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004149/0.4869, allocations: 118.7 kB / 0.5376 GB, free: 11.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005642/0.4875, allocations: 0.7125 MB / 0.5383 GB, free: 10.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007579/0.4882, allocations: 0.7007 MB / 0.539 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008266/0.4891, allocations: 0.5467 MB / 0.5395 GB, free: 10.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.968e-05/0.4891, allocations: 306.2 kB / 0.5398 GB, free: 9.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.4903, allocations: 0.6201 MB / 0.5404 GB, free: 9.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.4919, allocations: 1.632 MB / 0.542 GB, free: 8.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008174/0.5001, allocations: 5.15 MB / 0.547 GB, free: 3.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.867e-05/0.5002, allocations: 6.344 kB / 0.547 GB, free: 3.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.004613/0.5048, allocations: 3.466 MB / 0.5504 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.5049, allocations: 303.2 kB / 0.5507 GB, free: 416 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.361e-05/0.5049, allocations: 32 kB / 0.5507 GB, free: 384 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.501e-05/0.505, allocations: 44.56 kB / 0.5508 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/0.5066, allocations: 0.4952 MB / 0.5513 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.898e-05/0.5067, allocations: 63.78 kB / 0.5513 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.5083, allocations: 294 kB / 0.5516 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002257/0.5085, allocations: 147.6 kB / 0.5517 GB, free: 15.34 MB / 398.1 MB Warning: Assuming fixed start value for the following 104 variables: R_FO.nOx:DISCRETE(fixed = true protected = true ) type: Integer R_FO.lastToggleUp:DISCRETE(fixed = true protected = true ) type: Real R_FO.rCSmin:DISCRETE(fixed = true protected = true ) type: Real R_FO.rCSmax:DISCRETE(fixed = true protected = true ) type: Real R_FO.rPVmin:DISCRETE(fixed = true protected = true ) type: Real R_FO.rPVmax:DISCRETE(fixed = true protected = true ) type: Real R_FO.Pox:DISCRETE(fixed = true protected = true ) type: Real R_FO.wox:DISCRETE(fixed = true protected = true ) type: Real R_FO.period:DISCRETE(fixed = true protected = true ) type: Real R_FO.UP:DISCRETE(fixed = true protected = true ) type: Boolean R_FOD.nOx:DISCRETE(fixed = true protected = true ) type: Integer R_FOD.lastToggleUp:DISCRETE(fixed = true protected = true ) type: Real R_FOD.rCSmin:DISCRETE(fixed = true protected = true ) type: Real R_FOD.rCSmax:DISCRETE(fixed = true protected = true ) type: Real R_FOD.rPVmin:DISCRETE(fixed = true protected = true ) type: Real R_FOD.rPVmax:DISCRETE(fixed = true protected = true ) type: Real R_FOD.Pox:DISCRETE(fixed = true protected = true ) type: Real R_FOD.wox:DISCRETE(fixed = true protected = true ) type: Real R_FOD.period:DISCRETE(fixed = true protected = true ) type: Real R_FOD.UP:DISCRETE(fixed = true protected = true ) type: Boolean R_i.nOx:DISCRETE(fixed = true protected = true ) type: Integer R_i.lastToggleUp:DISCRETE(fixed = true protected = true ) type: Real R_i.rCSmin:DISCRETE(fixed = true protected = true ) type: Real R_i.rCSmax:DISCRETE(fixed = true protected = true ) type: Real R_i.rPVmin:DISCRETE(fixed = true protected = true ) type: Real R_i.rPVmax:DISCRETE(fixed = true protected = true ) type: Real R_i.Pox:DISCRETE(fixed = true protected = true ) type: Real R_i.wox:DISCRETE(fixed = true protected = true ) type: Real R_i.period:DISCRETE(fixed = true protected = true ) type: Real R_i.UP:DISCRETE(fixed = true protected = true ) type: Boolean R_iD.nOx:DISCRETE(fixed = true protected = true ) type: Integer R_iD.lastToggleUp:DISCRETE(fixed = true protected = true ) type: Real R_iD.rCSmin:DISCRETE(fixed = true protected = true ) type: Real R_iD.rCSmax:DISCRETE(fixed = true protected = true ) type: Real R_iD.rPVmin:DISCRETE(fixed = true protected = true ) type: Real R_iD.rPVmax:DISCRETE(fixed = true protected = true ) type: Real R_iD.Pox:DISCRETE(fixed = true protected = true ) type: Real R_iD.wox:DISCRETE(fixed = true protected = true ) type: Real R_iD.period:DISCRETE(fixed = true protected = true ) type: Real R_iD.UP:DISCRETE(fixed = true protected = true ) type: Boolean R_OS.nOx:DISCRETE(fixed = true protected = true ) type: Integer R_OS.lastToggleUp:DISCRETE(fixed = true protected = true ) type: Real R_OS.rCSmin:DISCRETE(fixed = true protected = true ) type: Real R_OS.rCSmax:DISCRETE(fixed = true protected = true ) type: Real R_OS.rPVmin:DISCRETE(fixed = true protected = true ) type: Real R_OS.rPVmax:DISCRETE(fixed = true protected = true ) type: Real R_OS.Pox:DISCRETE(fixed = true protected = true ) type: Real R_OS.wox:DISCRETE(fixed = true protected = true ) type: Real R_OS.period:DISCRETE(fixed = true protected = true ) type: Real R_OS.UP:DISCRETE(fixed = true protected = true ) type: Boolean R_US.nOx:DISCRETE(fixed = true protected = true ) type: Integer R_US.lastToggleUp:DISCRETE(fixed = true protected = true ) type: Real R_US.rCSmin:DISCRETE(fixed = true protected = true ) type: Real R_US.rCSmax:DISCRETE(fixed = true protected = true ) type: Real R_US.rPVmin:DISCRETE(fixed = true protected = true ) type: Real R_US.rPVmax:DISCRETE(fixed = true protected = true ) type: Real R_US.Pox:DISCRETE(fixed = true protected = true ) type: Real R_US.wox:DISCRETE(fixed = true protected = true ) type: Real R_US.period:DISCRETE(fixed = true protected = true ) type: Real R_US.UP:DISCRETE(fixed = true protected = true ) type: Boolean R_Osc.nOx:DISCRETE(fixed = true protected = true ) type: Integer R_Osc.lastToggleUp:DISCRETE(fixed = true protected = true ) type: Real R_Osc.rCSmin:DISCRETE(fixed = true protected = true ) type: Real R_Osc.rCSmax:DISCRETE(fixed = true protected = true ) type: Real R_Osc.rPVmin:DISCRETE(fixed = true protected = true ) type: Real R_Osc.rPVmax:DISCRETE(fixed = true protected = true ) type: Real R_Osc.Pox:DISCRETE(fixed = true protected = true ) type: Real R_Osc.wox:DISCRETE(fixed = true protected = true ) type: Real R_Osc.period:DISCRETE(fixed = true protected = true ) type: Real R_Osc.UP:DISCRETE(fixed = true protected = true ) type: Boolean R_FS.nOx:DISCRETE(fixed = true protected = true ) type: Integer R_FS.lastToggleUp:DISCRETE(fixed = true protected = true ) type: Real R_FS.rCSmin:DISCRETE(fixed = true protected = true ) type: Real R_FS.rCSmax:DISCRETE(fixed = true protected = true ) type: Real R_FS.rPVmin:DISCRETE(fixed = true protected = true ) type: Real R_FS.rPVmax:DISCRETE(fixed = true protected = true ) type: Real R_FS.Pox:DISCRETE(fixed = true protected = true ) type: Real R_FS.wox:DISCRETE(fixed = true protected = true ) type: Real R_FS.period:DISCRETE(fixed = true protected = true ) type: Real R_FS.UP:DISCRETE(fixed = true protected = true ) type: Boolean R_FO.linFBout:VARIABLE(start = 0.0 fixed = true stateSelect=StateSelect.always protected = true ) type: Real R_FOD.linFBout:VARIABLE(start = 0.0 fixed = true stateSelect=StateSelect.always protected = true ) type: Real R_i.linFBout:VARIABLE(start = 0.0 fixed = true stateSelect=StateSelect.always protected = true ) type: Real R_iD.linFBout:VARIABLE(start = 0.0 fixed = true stateSelect=StateSelect.always protected = true ) type: Real R_OS.linFBout:VARIABLE(start = 0.0 fixed = true stateSelect=StateSelect.always protected = true ) type: Real R_US.linFBout:VARIABLE(start = 0.0 fixed = true stateSelect=StateSelect.always protected = true ) type: Real R_Osc.linFBout:VARIABLE(start = 0.0 fixed = true stateSelect=StateSelect.always protected = true ) type: Real R_FS.linFBout:VARIABLE(start = 0.0 fixed = true stateSelect=StateSelect.always protected = true ) type: Real R_FS.CSat:DISCRETE(fixed = true protected = true ) type: Real R_FS.iMode:DISCRETE(fixed = true ) type: Integer R_Osc.CSat:DISCRETE(fixed = true protected = true ) type: Real R_Osc.iMode:DISCRETE(fixed = true ) type: Integer R_US.CSat:DISCRETE(fixed = true protected = true ) type: Real R_US.iMode:DISCRETE(fixed = true ) type: Integer R_OS.CSat:DISCRETE(fixed = true protected = true ) type: Real R_OS.iMode:DISCRETE(fixed = true ) type: Integer R_iD.CSat:DISCRETE(fixed = true protected = true ) type: Real R_iD.iMode:DISCRETE(fixed = true ) type: Integer R_i.CSat:DISCRETE(fixed = true protected = true ) type: Real R_i.iMode:DISCRETE(fixed = true ) type: Integer R_FOD.CSat:DISCRETE(fixed = true protected = true ) type: Real R_FOD.iMode:DISCRETE(fixed = true ) type: Integer R_FO.CSat:DISCRETE(fixed = true protected = true ) type: Real R_FO.iMode:DISCRETE(fixed = true ) type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 132 * Number of states: 0 () * Number of discrete variables: 317 ($PRE.R_FO.nOx,R_FO.nOx,$PRE.R_FO.lastToggleUp,R_FO.lastToggleUp,$PRE.R_FO.rCSmin,R_FO.rCSmin,$PRE.R_FO.rCSmax,R_FO.rCSmax,$PRE.R_FO.rPVmin,R_FO.rPVmin,$PRE.R_FO.rPVmax,R_FO.rPVmax,$PRE.R_FO.Pox,R_FO.Pox,$PRE.R_FO.wox,R_FO.wox,$PRE.R_FO.period,R_FO.period,$PRE.R_FO.UP,R_FO.UP,$PRE.R_FOD.nOx,R_FOD.nOx,$PRE.R_FOD.lastToggleUp,R_FOD.lastToggleUp,$PRE.R_FOD.rCSmin,R_FOD.rCSmin,$PRE.R_FOD.rCSmax,R_FOD.rCSmax,$PRE.R_FOD.rPVmin,R_FOD.rPVmin,$PRE.R_FOD.rPVmax,R_FOD.rPVmax,$PRE.R_FOD.Pox,R_FOD.Pox,$PRE.R_FOD.wox,R_FOD.wox,$PRE.R_FOD.period,R_FOD.period,$PRE.R_FOD.UP,R_FOD.UP,$PRE.R_i.nOx,R_i.nOx,$PRE.R_i.lastToggleUp,R_i.lastToggleUp,$PRE.R_i.rCSmin,R_i.rCSmin,$PRE.R_i.rCSmax,R_i.rCSmax,$PRE.R_i.rPVmin,R_i.rPVmin,$PRE.R_i.rPVmax,R_i.rPVmax,$PRE.R_i.Pox,R_i.Pox,$PRE.R_i.wox,R_i.wox,$PRE.R_i.period,R_i.period,$PRE.R_i.UP,R_i.UP,$PRE.R_iD.nOx,R_iD.nOx,$PRE.R_iD.lastToggleUp,R_iD.lastToggleUp,$PRE.R_iD.rCSmin,R_iD.rCSmin,$PRE.R_iD.rCSmax,R_iD.rCSmax,$PRE.R_iD.rPVmin,R_iD.rPVmin,$PRE.R_iD.rPVmax,R_iD.rPVmax,$PRE.R_iD.Pox,R_iD.Pox,$PRE.R_iD.wox,R_iD.wox,$PRE.R_iD.period,R_iD.period,$PRE.R_iD.UP,R_iD.UP,$PRE.R_OS.nOx,R_OS.nOx,$PRE.R_OS.lastToggleUp,R_OS.lastToggleUp,$PRE.R_OS.rCSmin,R_OS.rCSmin,$PRE.R_OS.rCSmax,R_OS.rCSmax,$PRE.R_OS.rPVmin,R_OS.rPVmin,$PRE.R_OS.rPVmax,R_OS.rPVmax,$PRE.R_OS.Pox,R_OS.Pox,$PRE.R_OS.wox,R_OS.wox,$PRE.R_OS.period,R_OS.period,$PRE.R_OS.UP,R_OS.UP,$PRE.R_US.nOx,R_US.nOx,$PRE.R_US.lastToggleUp,R_US.lastToggleUp,$PRE.R_US.rCSmin,R_US.rCSmin,$PRE.R_US.rCSmax,R_US.rCSmax,$PRE.R_US.rPVmin,R_US.rPVmin,$PRE.R_US.rPVmax,R_US.rPVmax,$PRE.R_US.Pox,R_US.Pox,$PRE.R_US.wox,R_US.wox,$PRE.R_US.period,R_US.period,$PRE.R_US.UP,R_US.UP,$PRE.R_Osc.nOx,R_Osc.nOx,$PRE.R_Osc.lastToggleUp,R_Osc.lastToggleUp,$PRE.R_Osc.rCSmin,R_Osc.rCSmin,$PRE.R_Osc.rCSmax,R_Osc.rCSmax,$PRE.R_Osc.rPVmin,R_Osc.rPVmin,$PRE.R_Osc.rPVmax,R_Osc.rPVmax,$PRE.R_Osc.Pox,R_Osc.Pox,$PRE.R_Osc.wox,R_Osc.wox,$PRE.R_Osc.period,R_Osc.period,$PRE.R_Osc.UP,R_Osc.UP,$PRE.R_FS.nOx,R_FS.nOx,$PRE.R_FS.lastToggleUp,R_FS.lastToggleUp,$PRE.R_FS.rCSmin,R_FS.rCSmin,$PRE.R_FS.rCSmax,R_FS.rCSmax,$PRE.R_FS.rPVmin,R_FS.rPVmin,$PRE.R_FS.rPVmax,R_FS.rPVmax,$PRE.R_FS.Pox,R_FS.Pox,$PRE.R_FS.wox,R_FS.wox,$PRE.R_FS.period,R_FS.period,$PRE.R_FS.UP,R_FS.UP,$PRE.ATpulse.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.R_FS.AT,$PRE.R_FS.CSat,$PRE.R_FS.TI,$PRE.R_FS.K,$PRE.R_FS.iMode,$PRE.R_Osc.AT,$PRE.R_Osc.CSat,$PRE.R_Osc.TI,$PRE.R_Osc.K,$PRE.R_Osc.iMode,$PRE.R_US.AT,$PRE.R_US.CSat,$PRE.R_US.TI,$PRE.R_US.K,$PRE.R_US.iMode,$PRE.R_OS.AT,$PRE.R_OS.CSat,$PRE.R_OS.TI,$PRE.R_OS.K,$PRE.R_OS.iMode,$PRE.R_iD.AT,$PRE.R_iD.CSat,$PRE.R_iD.TI,$PRE.R_iD.K,$PRE.R_iD.iMode,$PRE.R_i.AT,$PRE.R_i.CSat,$PRE.R_i.TI,$PRE.R_i.K,$PRE.R_i.iMode,$PRE.R_FOD.AT,$PRE.R_FOD.CSat,$PRE.R_FOD.TI,$PRE.R_FOD.K,$PRE.R_FOD.iMode,$PRE.R_FO.AT,$PRE.R_FO.CSat,$PRE.R_FO.TI,$PRE.R_FO.K,$PRE.R_FO.iMode,ATpulse.combiTimeTable.nextTimeEventScaled,$PRE.ATpulse.combiTimeTable.nextTimeEventScaled,ATpulse.combiTimeTable.nextTimeEvent,R_FS.AT,R_FS.CSat,R_FS.TI,R_FS.K,R_FS.iMode,R_FS.at_req,R_Osc.AT,R_Osc.CSat,R_Osc.TI,R_Osc.K,R_Osc.iMode,R_US.AT,R_US.CSat,R_US.TI,R_US.K,R_US.iMode,R_OS.AT,R_OS.CSat,R_OS.TI,R_OS.K,R_OS.iMode,R_iD.AT,R_iD.CSat,R_iD.TI,R_iD.K,R_iD.iMode,R_i.AT,R_i.CSat,R_i.TI,R_i.K,R_i.iMode,R_FOD.AT,R_FOD.CSat,R_FOD.TI,R_FOD.K,R_FOD.iMode,R_FO.AT,R_FO.CSat,R_FO.TI,R_FO.K,R_FO.iMode,step.nextEventScaled,step.nextEvent,$PRE.step.nextEvent,step.last,step.b,step.a,$whenCondition34,$whenCondition33,$whenCondition32,$whenCondition31,$whenCondition30,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition35,$whenCondition36,$whenCondition37,$whenCondition38,$whenCondition39,$whenCondition40,$whenCondition41,$whenCondition42,R_FS.TS_in,R_Osc.TS_in,R_US.TS_in,R_OS.TS_in,R_iD.TS_in,R_i.TS_in,R_FOD.TS_in,R_FO.TS_in,R_FS.satLOW_in,R_FS.satHIGH_in,R_Osc.satLOW_in,R_Osc.satHIGH_in,R_US.satLOW_in,R_US.satHIGH_in,R_OS.satLOW_in,R_OS.satHIGH_in,R_iD.satLOW_in,R_iD.satHIGH_in,R_i.satLOW_in,R_i.satHIGH_in,R_FOD.satLOW_in,R_FOD.satHIGH_in,R_FO.satLOW_in,R_FO.satHIGH_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (396): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002433/0.5109, allocations: 1.232 MB / 0.553 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006586/0.5116, allocations: 286.7 kB / 0.5532 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009415/0.521, allocations: 6.243 MB / 0.5593 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.521, allocations: 12 kB / 0.5593 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.521, allocations: 0 / 0.5593 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.521, allocations: 3.984 kB / 0.5593 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/0.5338, allocations: 8.06 MB / 0.5672 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.5338, allocations: 0 / 0.5672 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/0.5352, allocations: 239.8 kB / 0.5674 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.5352, allocations: 8.438 kB / 0.5674 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003497/0.5356, allocations: 151.9 kB / 0.5676 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.567e-06/0.5356, allocations: 4 kB / 0.5676 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.5356, allocations: 3.188 kB / 0.5676 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/0.5477, allocations: 7.934 MB / 0.5753 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000571/0.5483, allocations: 271.4 kB / 0.5756 GB, free: 6.641 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005512/0.5489, allocations: 148 kB / 0.5757 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002236/0.5511, allocations: 315.7 kB / 0.576 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004578/0.5516, allocations: 172.6 kB / 0.5762 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002919/0.5519, allocations: 155.9 kB / 0.5764 GB, free: 5.871 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001087/0.5529, allocations: 0.7251 MB / 0.5771 GB, free: 5.145 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5529, allocations: 0 / 0.5771 GB, free: 5.145 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002191/0.5551, allocations: 0.6634 MB / 0.5777 GB, free: 4.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 32 (NoControl.firstOrder.y,NoControl.firstOrder1.y,NoControl.integrator.y,NoControl.integrator1.y,NoControl.leadLag.dy,NoControl.firstOrder2.y,NoControl.leadLag1.dy,NoControl.firstOrder3.y,NoControl.complexPoles.y,NoControl.complexPoles.dy,NoControl.leadLag2.dy,NoControl.firstOrder4.y,Controlled.firstOrder.y,Controlled.firstOrder1.y,Controlled.integrator.y,Controlled.integrator1.y,Controlled.leadLag.dy,Controlled.firstOrder2.y,Controlled.leadLag1.dy,Controlled.firstOrder3.y,Controlled.complexPoles.y,Controlled.complexPoles.dy,Controlled.leadLag2.dy,Controlled.firstOrder4.y,R_FO.linFBout,R_FOD.linFBout,R_i.linFBout,R_iD.linFBout,R_OS.linFBout,R_US.linFBout,R_Osc.linFBout,R_FS.linFBout) * Number of discrete variables: 170 ($whenCondition42,$whenCondition41,$whenCondition40,$whenCondition39,$whenCondition38,$whenCondition37,$whenCondition36,$whenCondition35,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition29,$whenCondition30,$whenCondition31,$whenCondition32,$whenCondition33,$whenCondition34,step.a,step.b,step.last,step.nextEvent,step.nextEventScaled,R_FO.iMode,R_FO.K,R_FO.TI,R_FO.CSat,R_FO.AT,R_FO.UP,R_FO.rPVmax,R_FO.rPVmin,R_FO.rCSmax,R_FO.rCSmin,R_FO.lastToggleUp,R_FO.period,R_FO.wox,R_FO.Pox,R_FO.nOx,R_FOD.iMode,R_FOD.K,R_FOD.TI,R_FOD.CSat,R_FOD.AT,R_FOD.UP,R_FOD.rPVmax,R_FOD.rPVmin,R_FOD.rCSmax,R_FOD.rCSmin,R_FOD.lastToggleUp,R_FOD.period,R_FOD.wox,R_FOD.Pox,R_FOD.nOx,R_i.iMode,R_i.K,R_i.TI,R_i.CSat,R_i.AT,R_i.UP,R_i.rPVmax,R_i.rPVmin,R_i.rCSmax,R_i.rCSmin,R_i.lastToggleUp,R_i.period,R_i.wox,R_i.Pox,R_i.nOx,R_iD.iMode,R_iD.K,R_iD.TI,R_iD.CSat,R_iD.AT,R_iD.UP,R_iD.rPVmax,R_iD.rPVmin,R_iD.rCSmax,R_iD.rCSmin,R_iD.lastToggleUp,R_iD.period,R_iD.wox,R_iD.Pox,R_iD.nOx,R_OS.iMode,R_OS.K,R_OS.TI,R_OS.CSat,R_OS.AT,R_OS.UP,R_OS.rPVmax,R_OS.rPVmin,R_OS.rCSmax,R_OS.rCSmin,R_OS.lastToggleUp,R_OS.period,R_OS.wox,R_OS.Pox,R_OS.nOx,R_US.iMode,R_US.K,R_US.TI,R_US.CSat,R_US.AT,R_US.UP,R_US.rPVmax,R_US.rPVmin,R_US.rCSmax,R_US.rCSmin,R_US.lastToggleUp,R_US.period,R_US.wox,R_US.Pox,R_US.nOx,R_Osc.iMode,R_Osc.K,R_Osc.TI,R_Osc.CSat,R_Osc.AT,R_Osc.UP,R_Osc.rPVmax,R_Osc.rPVmin,R_Osc.rCSmax,R_Osc.rCSmin,R_Osc.lastToggleUp,R_Osc.period,R_Osc.wox,R_Osc.Pox,R_Osc.nOx,R_FS.at_req,R_FS.iMode,R_FS.K,R_FS.TI,R_FS.CSat,R_FS.AT,R_FS.UP,R_FS.rPVmax,R_FS.rPVmin,R_FS.rCSmax,R_FS.rCSmin,R_FS.lastToggleUp,R_FS.period,R_FS.wox,R_FS.Pox,R_FS.nOx,ATpulse.combiTimeTable.nextTimeEvent,ATpulse.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 176 (ATpulse.combiTimeTable.nextTimeEvent,step.nextEvent,step.last,step.nextEventScaled,step.b,step.a,$whenCondition34,ATpulse.combiTimeTable.nextTimeEventScaled,$whenCondition5,$whenCondition4,R_FS.nOx,R_FS.lastToggleUp,R_FS.rCSmin,R_FS.rCSmax,R_FS.rPVmin,R_FS.rPVmax,R_FS.Pox,R_FS.wox,R_FS.period,R_FS.UP,R_FS.CSat,$whenCondition3,R_FS.iMode,$whenCondition2,R_FS.AT,R_FS.TI,R_FS.K,R_FS.CSpi,R_FS.PV,$whenCondition9,$whenCondition8,R_Osc.nOx,R_Osc.lastToggleUp,R_Osc.rCSmin,R_Osc.rCSmax,R_Osc.rPVmin,R_Osc.rPVmax,R_Osc.Pox,R_Osc.wox,R_Osc.period,R_Osc.UP,R_Osc.CSat,$whenCondition7,R_Osc.iMode,$whenCondition6,R_Osc.AT,R_Osc.TI,R_Osc.K,R_Osc.CSpi,R_Osc.PV,$whenCondition13,$whenCondition12,R_US.nOx,R_US.lastToggleUp,R_US.rCSmin,R_US.rCSmax,R_US.rPVmin,R_US.rPVmax,R_US.Pox,R_US.wox,R_US.period,R_US.UP,R_US.CSat,$whenCondition11,R_US.iMode,$whenCondition10,R_US.AT,R_US.TI,R_US.K,R_US.CSpi,R_US.PV,$whenCondition17,$whenCondition16,R_OS.nOx,R_OS.lastToggleUp,R_OS.rCSmin,R_OS.rCSmax,R_OS.rPVmin,R_OS.rPVmax,R_OS.Pox,R_OS.wox,R_OS.period,R_OS.UP,R_OS.CSat,$whenCondition15,R_OS.iMode,$whenCondition14,R_OS.AT,R_OS.TI,R_OS.K,R_OS.CSpi,R_OS.PV,$whenCondition21,$whenCondition20,R_iD.nOx,R_iD.lastToggleUp,R_iD.rCSmin,R_iD.rCSmax,R_iD.rPVmin,R_iD.rPVmax,R_iD.Pox,R_iD.wox,R_iD.period,R_iD.UP,R_iD.CSat,$whenCondition19,R_iD.iMode,$whenCondition18,R_iD.AT,R_iD.TI,R_iD.K,R_iD.CSpi,R_iD.PV,$whenCondition25,$whenCondition24,R_i.nOx,R_i.lastToggleUp,R_i.rCSmin,R_i.rCSmax,R_i.rPVmin,R_i.rPVmax,R_i.Pox,R_i.wox,R_i.period,R_i.UP,R_i.CSat,$whenCondition23,R_i.iMode,$whenCondition22,R_i.AT,R_i.TI,R_i.K,R_i.CSpi,R_i.PV,$whenCondition29,$whenCondition28,R_FOD.nOx,R_FOD.lastToggleUp,R_FOD.rCSmin,R_FOD.rCSmax,R_FOD.rPVmin,R_FOD.rPVmax,R_FOD.Pox,R_FOD.wox,R_FOD.period,R_FOD.UP,R_FOD.CSat,$whenCondition27,R_FOD.iMode,$whenCondition26,R_FOD.AT,R_FOD.TI,R_FOD.K,R_FOD.CSpi,R_FOD.PV,$whenCondition33,$whenCondition32,R_FO.nOx,R_FO.lastToggleUp,R_FO.rCSmin,R_FO.rCSmax,R_FO.rPVmin,R_FO.rPVmax,R_FO.Pox,R_FO.wox,R_FO.period,R_FO.UP,R_FO.CSat,$whenCondition31,R_FO.iMode,$whenCondition30,R_FO.AT,R_FO.TI,R_FO.K,R_FO.CSpi,R_FO.PV) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0143/0.5694, allocations: 9.096 MB / 0.5866 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005353/0.5748, allocations: 2.963 MB / 0.5895 GB, free: 8.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/0.5748, allocations: 11.8 kB / 0.5895 GB, free: 8.418 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003284/0.5781, allocations: 1.902 MB / 0.5914 GB, free: 6.406 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.5797, allocations: 346 kB / 0.5917 GB, free: 6.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03378/0.6134, allocations: 18.19 MB / 0.6095 GB, free: 2.758 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.6145, allocations: 1.369 MB / 0.6108 GB, free: 1.359 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008438/0.6153, allocations: 229.3 kB / 0.611 GB, free: 1.129 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.6164, allocations: 0.7514 MB / 0.6117 GB, free: 388 kB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6164, allocations: 0 / 0.6117 GB, free: 388 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09076/0.7072, allocations: 40.41 MB / 0.6512 GB, free: 8.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.59, allocations: 23.53 kB / 0.6512 GB, free: 8.207 MB / 494.1 MB " [Timeout remaining time 647] (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ATProcessControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ATProcessControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ATProcessControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ATProcessControl.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ATProcessControl_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_ATProcessControl.fmu > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ATProcessControl.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.094779726990964] Failed to read output from testmodel.py, exit status != 0: 12.743486096995184 12.757275948 12.589546889 Calling exit ...