Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode.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.001312/0.001312, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.001397/0.001397, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.509/1.509, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.06568/0.06568, allocations: 11.32 MB / 320.2 MB, free: 9.398 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.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode",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.002563/0.002563, allocations: 67.91 kB / 445.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1413, allocations: 56.01 MB / 0.4901 GB, free: 5.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode): time 0.005699/0.147, allocations: 3.337 MB / 0.4933 GB, free: 2.234 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003044/0.15, allocations: 1.46 MB / 0.4947 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005434/0.1506, allocations: 27.69 kB / 0.4948 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000934/0.1515, allocations: 241.6 kB / 0.495 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007446/0.1522, allocations: 202.8 kB / 0.4952 GB, free: 316 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.1536, allocations: 0.5185 MB / 0.4957 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.1551, allocations: 1.22 MB / 0.4969 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.1554, allocations: 113.3 kB / 0.497 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006558/0.156, allocations: 474.5 kB / 0.4975 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005723/0.1566, allocations: 462 kB / 0.4979 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.1567, allocations: 92 kB / 0.498 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002669/0.157, allocations: 136 kB / 0.4981 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002348/0.1572, allocations: 223.3 kB / 0.4983 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004602/0.1577, allocations: 0.4902 MB / 0.4988 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.1589, allocations: 1.004 MB / 0.4998 GB, free: 11.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1589, allocations: 0 / 0.4998 GB, free: 11.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1589, allocations: 0 / 0.4998 GB, free: 11.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.1589, allocations: 0 / 0.4998 GB, free: 11.58 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002616/0.1615, allocations: 1.41 MB / 0.5012 GB, free: 10.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.1616, allocations: 8.031 kB / 0.5012 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001758/0.1618, allocations: 134.7 kB / 0.5013 GB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/0.162, allocations: 124.3 kB / 0.5014 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.1631, allocations: 0.6415 MB / 0.502 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.1632, allocations: 142.5 kB / 0.5022 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.1634, allocations: 99.95 kB / 0.5023 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.1654, allocations: 1.014 MB / 0.5033 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-05/0.1655, allocations: 8 kB / 0.5033 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.767e-05/0.1656, allocations: 40 kB / 0.5033 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.1656, allocations: 12 kB / 0.5033 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.1671, allocations: 0.6873 MB / 0.504 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004946/0.1721, allocations: 2.844 MB / 0.5068 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.1733, allocations: 0.5036 MB / 0.5073 GB, free: 3.637 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008223/0.1742, allocations: 410.6 kB / 0.5077 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.039e-05/0.1742, allocations: 4 kB / 0.5077 GB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001547/0.1758, allocations: 1.164 MB / 0.5088 GB, free: 1.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 2.675e-06/0.1758, allocations: 0 / 0.5088 GB, free: 1.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=101): time 0.2384/0.4141, allocations: 2.287 MB / 0.511 GB, free: 24.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000251/0.4144, allocations: 0.5555 MB / 0.5116 GB, free: 24.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009179/0.4153, allocations: 0.688 MB / 0.5122 GB, free: 24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.4154, allocations: 62.25 kB / 0.5123 GB, free: 23.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.4157, allocations: 392.4 kB / 0.5127 GB, free: 23.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.4159, allocations: 308.4 kB / 0.513 GB, free: 23.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002826/0.4161, allocations: 251.3 kB / 0.5132 GB, free: 23.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.498e-05/0.4162, allocations: 352.5 kB / 0.5135 GB, free: 23.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005028/0.4167, allocations: 299.6 kB / 0.5138 GB, free: 23.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007261/0.4175, allocations: 0.7819 MB / 0.5146 GB, free: 22.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003225/0.4207, allocations: 2.242 MB / 0.5168 GB, free: 21.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-05/0.4207, allocations: 5.344 kB / 0.5168 GB, free: 21.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.002381/0.4231, allocations: 1.56 MB / 0.5183 GB, free: 21.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.519e-05/0.4232, allocations: 109.3 kB / 0.5184 GB, free: 21.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.4232, allocations: 21.22 kB / 0.5184 GB, free: 21.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.568e-05/0.4232, allocations: 24.34 kB / 0.5185 GB, free: 21.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000756/0.424, allocations: 253.6 kB / 0.5187 GB, free: 21.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.121e-05/0.424, allocations: 31.22 kB / 0.5187 GB, free: 21.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005422/0.4246, allocations: 149.9 kB / 0.5189 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-05/0.4246, allocations: 69.97 kB / 0.5189 GB, free: 21.29 MB / 382.1 MB Warning: Assuming fixed start value for the following 54 variables: ControllerPm70.nOx:DISCRETE(fixed = true protected = true ) type: Integer ControllerPm70.lastToggleUp:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.rCSmin:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.rCSmax:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.rPVmin:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.rPVmax:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.Pox:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.wox:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.period:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.UP:DISCRETE(fixed = true protected = true ) type: Boolean ControllerPm60.nOx:DISCRETE(fixed = true protected = true ) type: Integer ControllerPm60.lastToggleUp:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.rCSmin:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.rCSmax:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.rPVmin:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.rPVmax:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.Pox:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.wox:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.period:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.UP:DISCRETE(fixed = true protected = true ) type: Boolean ControllerPm45.nOx:DISCRETE(fixed = true protected = true ) type: Integer ControllerPm45.lastToggleUp:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.rCSmin:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.rCSmax:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.rPVmin:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.rPVmax:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.Pox:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.wox:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.period:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.UP:DISCRETE(fixed = true protected = true ) type: Boolean ProcessPm70.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm60.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm45.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ControllerPm45.linFBout:VARIABLE(start = 0.0 fixed = true stateSelect=StateSelect.always protected = true ) type: Real ControllerPm60.linFBout:VARIABLE(start = 0.0 fixed = true stateSelect=StateSelect.always protected = true ) type: Real ControllerPm70.linFBout:VARIABLE(start = 0.0 fixed = true stateSelect=StateSelect.always protected = true ) type: Real ProcessPm70.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessPm70.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm70.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm70.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ControllerPm70.CSat:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.iMode:DISCRETE(fixed = true ) type: Integer ProcessPm60.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessPm60.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm60.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm60.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ControllerPm60.CSat:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.iMode:DISCRETE(fixed = true ) type: Integer ProcessPm45.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessPm45.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm45.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm45.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ControllerPm45.CSat:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.iMode:DISCRETE(fixed = true ) type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 120 ($PRE.ControllerPm70.nOx,ControllerPm70.nOx,$PRE.ControllerPm70.lastToggleUp,ControllerPm70.lastToggleUp,$PRE.ControllerPm70.rCSmin,ControllerPm70.rCSmin,$PRE.ControllerPm70.rCSmax,ControllerPm70.rCSmax,$PRE.ControllerPm70.rPVmin,ControllerPm70.rPVmin,$PRE.ControllerPm70.rPVmax,ControllerPm70.rPVmax,$PRE.ControllerPm70.Pox,ControllerPm70.Pox,$PRE.ControllerPm70.wox,ControllerPm70.wox,$PRE.ControllerPm70.period,ControllerPm70.period,$PRE.ControllerPm70.UP,ControllerPm70.UP,$PRE.ControllerPm60.nOx,ControllerPm60.nOx,$PRE.ControllerPm60.lastToggleUp,ControllerPm60.lastToggleUp,$PRE.ControllerPm60.rCSmin,ControllerPm60.rCSmin,$PRE.ControllerPm60.rCSmax,ControllerPm60.rCSmax,$PRE.ControllerPm60.rPVmin,ControllerPm60.rPVmin,$PRE.ControllerPm60.rPVmax,ControllerPm60.rPVmax,$PRE.ControllerPm60.Pox,ControllerPm60.Pox,$PRE.ControllerPm60.wox,ControllerPm60.wox,$PRE.ControllerPm60.period,ControllerPm60.period,$PRE.ControllerPm60.UP,ControllerPm60.UP,$PRE.ControllerPm45.nOx,ControllerPm45.nOx,$PRE.ControllerPm45.lastToggleUp,ControllerPm45.lastToggleUp,$PRE.ControllerPm45.rCSmin,ControllerPm45.rCSmin,$PRE.ControllerPm45.rCSmax,ControllerPm45.rCSmax,$PRE.ControllerPm45.rPVmin,ControllerPm45.rPVmin,$PRE.ControllerPm45.rPVmax,ControllerPm45.rPVmax,$PRE.ControllerPm45.Pox,ControllerPm45.Pox,$PRE.ControllerPm45.wox,ControllerPm45.wox,$PRE.ControllerPm45.period,ControllerPm45.period,$PRE.ControllerPm45.UP,ControllerPm45.UP,$PRE.ATpulse.combiTimeTable.nextTimeEvent,$whenCondition13,$PRE.ControllerPm70.AT,$PRE.ControllerPm70.CSat,$PRE.ControllerPm70.TI,$PRE.ControllerPm70.K,$PRE.ControllerPm70.iMode,$PRE.ControllerPm60.AT,$PRE.ControllerPm60.CSat,$PRE.ControllerPm60.TI,$PRE.ControllerPm60.K,$PRE.ControllerPm60.iMode,$PRE.ControllerPm45.AT,$PRE.ControllerPm45.CSat,$PRE.ControllerPm45.TI,$PRE.ControllerPm45.K,$PRE.ControllerPm45.iMode,ControllerPm70.AT,ControllerPm70.CSat,ControllerPm70.TI,ControllerPm70.K,ControllerPm70.iMode,ControllerPm70.at_req,ControllerPm60.AT,ControllerPm60.CSat,ControllerPm60.TI,ControllerPm60.K,ControllerPm60.iMode,ATpulse.combiTimeTable.nextTimeEventScaled,$PRE.ATpulse.combiTimeTable.nextTimeEventScaled,ATpulse.combiTimeTable.nextTimeEvent,ControllerPm45.AT,ControllerPm45.CSat,ControllerPm45.TI,ControllerPm45.K,ControllerPm45.iMode,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition14,$whenCondition15,$whenCondition16,ControllerPm70.TS_in,ControllerPm60.TS_in,ControllerPm45.TS_in,ControllerPm70.satLOW_in,ControllerPm70.satHIGH_in,ControllerPm60.satLOW_in,ControllerPm60.satHIGH_in,ControllerPm45.satLOW_in,ControllerPm45.satHIGH_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 3 * 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.0009752/0.4256, allocations: 0.5998 MB / 0.5195 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/0.4259, allocations: 121.4 kB / 0.5196 GB, free: 20.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.426, allocations: 91.22 kB / 0.5197 GB, free: 20.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.4261, allocations: 6.594 kB / 0.5197 GB, free: 20.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/0.4261, allocations: 0 / 0.5197 GB, free: 20.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.4261, allocations: 2.531 kB / 0.5197 GB, free: 20.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00435/0.4304, allocations: 2.893 MB / 0.5226 GB, free: 19.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4304, allocations: 0 / 0.5226 GB, free: 19.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.431, allocations: 98.94 kB / 0.5227 GB, free: 19.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.431, allocations: 6.188 kB / 0.5227 GB, free: 19.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.4311, allocations: 62.5 kB / 0.5227 GB, free: 19.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.4311, allocations: 5.312 kB / 0.5227 GB, free: 19.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4311, allocations: 1.344 kB / 0.5227 GB, free: 19.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004302/0.4354, allocations: 2.767 MB / 0.5254 GB, free: 18.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.4357, allocations: 163.3 kB / 0.5256 GB, free: 18.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/0.4359, allocations: 64.34 kB / 0.5257 GB, free: 18.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008944/0.4368, allocations: 121.2 kB / 0.5258 GB, free: 18.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/0.4371, allocations: 74.58 kB / 0.5258 GB, free: 18.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/0.4372, allocations: 59.02 kB / 0.5259 GB, free: 18.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006938/0.4379, allocations: 453.4 kB / 0.5263 GB, free: 18.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4379, allocations: 0 / 0.5263 GB, free: 18.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00131/0.4392, allocations: 277.7 kB / 0.5266 GB, free: 18.11 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (ControllerPm45.linFBout,ProcessPm45.Y[3],ProcessPm45.Y[4],ProcessPm45.U[2],ProcessPm45.U[3],ProcessPm45.w,ControllerPm60.linFBout,ProcessPm60.Y[3],ProcessPm60.Y[4],ProcessPm60.U[2],ProcessPm60.U[3],ProcessPm60.w,ControllerPm70.linFBout,ProcessPm70.Y[3],ProcessPm70.Y[4],ProcessPm70.U[2],ProcessPm70.U[3],ProcessPm70.w) * Number of discrete variables: 64 ($whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,ControllerPm45.iMode,ControllerPm45.K,ControllerPm45.TI,ControllerPm45.CSat,ControllerPm45.AT,ControllerPm45.UP,ControllerPm45.rPVmax,ControllerPm45.rPVmin,ControllerPm45.rCSmax,ControllerPm45.rCSmin,ControllerPm45.lastToggleUp,ControllerPm45.period,ControllerPm45.wox,ControllerPm45.Pox,ControllerPm45.nOx,ATpulse.combiTimeTable.nextTimeEvent,ATpulse.combiTimeTable.nextTimeEventScaled,ControllerPm60.iMode,ControllerPm60.K,ControllerPm60.TI,ControllerPm60.CSat,ControllerPm60.AT,ControllerPm60.UP,ControllerPm60.rPVmax,ControllerPm60.rPVmin,ControllerPm60.rCSmax,ControllerPm60.rCSmin,ControllerPm60.lastToggleUp,ControllerPm60.period,ControllerPm60.wox,ControllerPm60.Pox,ControllerPm60.nOx,ControllerPm70.at_req,ControllerPm70.iMode,ControllerPm70.K,ControllerPm70.TI,ControllerPm70.CSat,ControllerPm70.AT,ControllerPm70.UP,ControllerPm70.rPVmax,ControllerPm70.rPVmin,ControllerPm70.rCSmax,ControllerPm70.rCSmin,ControllerPm70.lastToggleUp,ControllerPm70.period,ControllerPm70.wox,ControllerPm70.Pox,ControllerPm70.nOx) * Number of discrete states: 65 (ATpulse.combiTimeTable.nextTimeEvent,ATpulse.combiTimeTable.nextTimeEventScaled,$whenCondition12,$whenCondition11,ControllerPm70.nOx,ControllerPm70.lastToggleUp,ControllerPm70.rCSmin,ControllerPm70.rCSmax,ControllerPm70.rPVmin,ControllerPm70.rPVmax,ControllerPm70.Pox,ControllerPm70.wox,ControllerPm70.period,ControllerPm70.UP,ControllerPm70.CSat,$whenCondition10,ControllerPm70.iMode,$whenCondition9,ControllerPm70.AT,ControllerPm70.TI,ControllerPm70.K,ControllerPm70.CSpi,ControllerPm70.PV,$whenCondition8,$whenCondition7,ControllerPm60.nOx,ControllerPm60.lastToggleUp,ControllerPm60.rCSmin,ControllerPm60.rCSmax,ControllerPm60.rPVmin,ControllerPm60.rPVmax,ControllerPm60.Pox,ControllerPm60.wox,ControllerPm60.period,ControllerPm60.UP,ControllerPm60.CSat,$whenCondition6,ControllerPm60.iMode,$whenCondition5,ControllerPm60.AT,ControllerPm60.TI,ControllerPm60.K,ControllerPm60.CSpi,ControllerPm60.PV,$whenCondition4,$whenCondition3,ControllerPm45.nOx,ControllerPm45.lastToggleUp,ControllerPm45.rCSmin,ControllerPm45.rCSmax,ControllerPm45.rPVmin,ControllerPm45.rPVmax,ControllerPm45.Pox,ControllerPm45.wox,ControllerPm45.period,ControllerPm45.UP,ControllerPm45.CSat,$whenCondition2,ControllerPm45.iMode,$whenCondition1,ControllerPm45.AT,ControllerPm45.TI,ControllerPm45.K,ControllerPm45.CSpi,ControllerPm45.PV) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 3 * 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.006239/0.4454, allocations: 3.741 MB / 0.5302 GB, free: 16.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002431/0.4479, allocations: 1.263 MB / 0.5315 GB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.4479, allocations: 0 / 0.5315 GB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.449, allocations: 0.7375 MB / 0.5322 GB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009018/0.4499, allocations: 162.5 kB / 0.5324 GB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.4614, allocations: 8.688 MB / 0.5408 GB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005167/0.4619, allocations: 1.011 MB / 0.5418 GB, free: 9.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004618/0.4623, allocations: 166.1 kB / 0.542 GB, free: 9.457 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.4627, allocations: 318.2 kB / 0.5423 GB, free: 9.223 MB / 382.1 MB Notification: Performance of SimCode: time 1.653e-06/0.4627, allocations: 0 / 0.5423 GB, free: 9.223 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05442/0.5171, allocations: 18.54 MB / 0.5604 GB, free: 8.379 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.822/10.34, allocations: 10.48 kB / 0.5604 GB, free: 8.375 MB / 398.1 MB " [Timeout remaining time 650] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode_res.csv --start-time 0 --stop-time 240 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.096 IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCmixedMode.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.338159109000117] Failed to read output from testmodel.py, exit status != 0: 10.478860244009411 10.493516093 10.331269936 Calling exit ...