Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital.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.001715/0.001715, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.0021/0.0021, allocations: 219.2 kB / 22.26 MB, free: 5.125 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.984 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.06601/0.06601, allocations: 11.34 MB / 323.8 MB, free: 8.23 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_ATPIrelayNCdigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_AutoTuning_Examples_Test_ATPIrelayNCdigital",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.001986/0.001986, allocations: 67.89 kB / 451.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1148, allocations: 56.06 MB / 0.4952 GB, free: 2.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital): time 0.005137/0.12, allocations: 3.324 MB / 0.4985 GB, free: 15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002856/0.1228, allocations: 1.452 MB / 0.4999 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003128/0.1231, allocations: 27.69 kB / 0.4999 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008291/0.124, allocations: 238.6 kB / 0.5001 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005722/0.1246, allocations: 205.6 kB / 0.5003 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.1259, allocations: 0.5418 MB / 0.5009 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001515/0.1274, allocations: 1.254 MB / 0.5021 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/0.1276, allocations: 109.7 kB / 0.5022 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007122/0.1283, allocations: 462.6 kB / 0.5026 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006302/0.129, allocations: 454.1 kB / 0.5031 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.1291, allocations: 88 kB / 0.5032 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002939/0.1294, allocations: 143.9 kB / 0.5033 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.1296, allocations: 207.3 kB / 0.5035 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005239/0.1302, allocations: 0.4942 MB / 0.504 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.1313, allocations: 0.9803 MB / 0.5049 GB, free: 8.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1313, allocations: 4 kB / 0.5049 GB, free: 8.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1313, allocations: 0 / 0.5049 GB, free: 8.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.1313, allocations: 0 / 0.5049 GB, free: 8.348 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002183/0.1335, allocations: 1.292 MB / 0.5062 GB, free: 6.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1335, allocations: 12.02 kB / 0.5062 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001719/0.1337, allocations: 130.7 kB / 0.5063 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.1339, allocations: 124.3 kB / 0.5065 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.135, allocations: 0.565 MB / 0.507 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.859e-05/0.135, allocations: 65.12 kB / 0.5071 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.1352, allocations: 95.98 kB / 0.5072 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/0.1369, allocations: 0.9886 MB / 0.5081 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/0.1369, allocations: 19.94 kB / 0.5081 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.137, allocations: 40 kB / 0.5082 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.137, allocations: 12 kB / 0.5082 GB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.1382, allocations: 0.6599 MB / 0.5088 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004552/0.1428, allocations: 2.821 MB / 0.5116 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.144, allocations: 0.6966 MB / 0.5123 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2421/0.3862, allocations: 0.5932 MB / 0.5128 GB, free: 23.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-05/0.3862, allocations: 3.906 kB / 0.5129 GB, free: 23.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001361/0.3876, allocations: 0.861 MB / 0.5137 GB, free: 23.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 3.556e-06/0.3876, allocations: 0 / 0.5137 GB, free: 23.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=86): time 0.003098/0.3907, allocations: 2.312 MB / 0.516 GB, free: 22.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/0.3909, allocations: 415.2 kB / 0.5163 GB, free: 22.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007817/0.3916, allocations: 0.6914 MB / 0.517 GB, free: 22.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.456e-05/0.3917, allocations: 59.53 kB / 0.5171 GB, free: 22.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.392, allocations: 390.2 kB / 0.5175 GB, free: 22.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.3921, allocations: 262.5 kB / 0.5177 GB, free: 22.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/0.3924, allocations: 237.3 kB / 0.5179 GB, free: 22.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.3925, allocations: 351.1 kB / 0.5183 GB, free: 21.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003858/0.3928, allocations: 242.1 kB / 0.5185 GB, free: 21.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006213/0.3935, allocations: 0.8102 MB / 0.5193 GB, free: 21.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/0.3958, allocations: 1.878 MB / 0.5211 GB, free: 20.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.239e-05/0.3958, allocations: 5.812 kB / 0.5211 GB, free: 20.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.002193/0.398, allocations: 1.451 MB / 0.5225 GB, free: 19.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.175e-05/0.3981, allocations: 106.4 kB / 0.5226 GB, free: 19.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/0.3981, allocations: 20.91 kB / 0.5227 GB, free: 19.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.394e-05/0.3982, allocations: 27.5 kB / 0.5227 GB, free: 19.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006838/0.3988, allocations: 245.2 kB / 0.5229 GB, free: 19.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.302e-05/0.3989, allocations: 37.61 kB / 0.523 GB, free: 19.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005356/0.3994, allocations: 144.7 kB / 0.5231 GB, free: 19.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-05/0.3995, allocations: 69.41 kB / 0.5232 GB, free: 19.39 MB / 382.1 MB Warning: Assuming fixed start value for the following 57 variables: ControllerPm70.period:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.UP:DISCRETE(fixed = true protected = true ) type: Boolean 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.CSi:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.CSp:DISCRETE(fixed = true protected = true ) type: Real ControllerPm70.e: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 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.CSi:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.CSp:DISCRETE(fixed = true protected = true ) type: Real ControllerPm60.e: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 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.CSi:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.CSp:DISCRETE(fixed = true protected = true ) type: Real ControllerPm45.e:DISCRETE(fixed = true protected = true ) type: Real ProcessPm70.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] 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] ProcessPm60.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] 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] ProcessPm45.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ControllerPm70.CS:DISCRETE(flow=false fixed = true ) \"Control signal\" type: Real ControllerPm60.CS:DISCRETE(flow=false fixed = true ) \"Control signal\" type: Real ControllerPm45.CS:DISCRETE(flow=false fixed = true ) \"Control signal\" type: Real 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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 123 ($PRE.ControllerPm70.period,ControllerPm70.period,$PRE.ControllerPm70.UP,ControllerPm70.UP,$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.CSi,ControllerPm70.CSi,$PRE.ControllerPm70.CSp,ControllerPm70.CSp,$PRE.ControllerPm70.e,ControllerPm70.e,$PRE.ControllerPm60.period,ControllerPm60.period,$PRE.ControllerPm60.UP,ControllerPm60.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.CSi,ControllerPm60.CSi,$PRE.ControllerPm60.CSp,ControllerPm60.CSp,$PRE.ControllerPm60.e,ControllerPm60.e,$PRE.ControllerPm45.period,ControllerPm45.period,$PRE.ControllerPm45.UP,ControllerPm45.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.CSi,ControllerPm45.CSi,$PRE.ControllerPm45.CSp,ControllerPm45.CSp,$PRE.ControllerPm45.e,ControllerPm45.e,$PRE.ATpulse.combiTimeTable.nextTimeEvent,$whenCondition7,$PRE.ControllerPm70.CS,$PRE.ControllerPm60.CS,$PRE.ControllerPm45.CS,ControllerPm70.CS,ControllerPm60.CS,ControllerPm45.CS,ControllerPm70.iMode,$PRE.ControllerPm70.iMode,ControllerPm70.TI,$PRE.ControllerPm70.TI,ControllerPm70.K,$PRE.ControllerPm70.K,ControllerPm70.at_req,ControllerPm60.iMode,$PRE.ControllerPm60.iMode,ControllerPm60.TI,$PRE.ControllerPm60.TI,ControllerPm60.K,$PRE.ControllerPm60.K,ATpulse.combiTimeTable.nextTimeEventScaled,$PRE.ATpulse.combiTimeTable.nextTimeEventScaled,ATpulse.combiTimeTable.nextTimeEvent,ControllerPm45.iMode,$PRE.ControllerPm45.iMode,ControllerPm45.TI,$PRE.ControllerPm45.TI,ControllerPm45.K,$PRE.ControllerPm45.K,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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 (178): * Single equations (assignments): 175 * 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.0009187/0.4004, allocations: 0.6151 MB / 0.5238 GB, free: 18.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.4006, allocations: 118.2 kB / 0.5239 GB, free: 18.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/0.4034, allocations: 2.075 MB / 0.5259 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.4034, allocations: 2.969 kB / 0.5259 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-05/0.4034, allocations: 8.438 kB / 0.5259 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.4034, allocations: 3.094 kB / 0.5259 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008746/0.4043, allocations: 0.7332 MB / 0.5266 GB, free: 17.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4043, allocations: 0.7031 kB / 0.5266 GB, free: 17.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000388/0.4047, allocations: 63.22 kB / 0.5267 GB, free: 17.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.4047, allocations: 1.906 kB / 0.5267 GB, free: 17.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.4048, allocations: 57.36 kB / 0.5267 GB, free: 17.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.4048, allocations: 4.891 kB / 0.5268 GB, free: 17.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.4048, allocations: 1.875 kB / 0.5268 GB, free: 17.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003809/0.4086, allocations: 2.675 MB / 0.5294 GB, free: 16.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.4088, allocations: 81.08 kB / 0.5294 GB, free: 16.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.409, allocations: 60.58 kB / 0.5295 GB, free: 16.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008542/0.4098, allocations: 122.4 kB / 0.5296 GB, free: 16.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.4099, allocations: 35.09 kB / 0.5297 GB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.41, allocations: 55.94 kB / 0.5297 GB, free: 16.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006589/0.4107, allocations: 449.2 kB / 0.5301 GB, free: 16.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4107, allocations: 0 / 0.5301 GB, free: 16.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001229/0.4119, allocations: 270.6 kB / 0.5304 GB, free: 16.36 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (ProcessPm45.Y[3],ProcessPm45.Y[4],ProcessPm45.U[2],ProcessPm45.U[3],ProcessPm45.w,ProcessPm60.Y[3],ProcessPm60.Y[4],ProcessPm60.U[2],ProcessPm60.U[3],ProcessPm60.w,ProcessPm70.Y[3],ProcessPm70.Y[4],ProcessPm70.U[2],ProcessPm70.U[3],ProcessPm70.w) * Number of discrete variables: 61 ($whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,ControllerPm45.CS,ControllerPm45.K,ControllerPm45.TI,ControllerPm45.iMode,ControllerPm45.UP,ControllerPm45.lastToggleUp,ControllerPm45.period,ControllerPm45.wox,ControllerPm45.Pox,ControllerPm45.rPVmax,ControllerPm45.rPVmin,ControllerPm45.rCSmax,ControllerPm45.rCSmin,ControllerPm45.e,ControllerPm45.CSp,ControllerPm45.CSi,ControllerPm45.nOx,ATpulse.combiTimeTable.nextTimeEvent,ATpulse.combiTimeTable.nextTimeEventScaled,ControllerPm60.CS,ControllerPm60.K,ControllerPm60.TI,ControllerPm60.iMode,ControllerPm60.UP,ControllerPm60.lastToggleUp,ControllerPm60.period,ControllerPm60.wox,ControllerPm60.Pox,ControllerPm60.rPVmax,ControllerPm60.rPVmin,ControllerPm60.rCSmax,ControllerPm60.rCSmin,ControllerPm60.e,ControllerPm60.CSp,ControllerPm60.CSi,ControllerPm60.nOx,ControllerPm70.at_req,ControllerPm70.CS,ControllerPm70.K,ControllerPm70.TI,ControllerPm70.iMode,ControllerPm70.UP,ControllerPm70.lastToggleUp,ControllerPm70.period,ControllerPm70.wox,ControllerPm70.Pox,ControllerPm70.rPVmax,ControllerPm70.rPVmin,ControllerPm70.rCSmax,ControllerPm70.rCSmin,ControllerPm70.e,ControllerPm70.CSp,ControllerPm70.CSi,ControllerPm70.nOx) * Number of discrete states: 59 (ControllerPm45.period,ControllerPm45.UP,ControllerPm45.nOx,ControllerPm45.lastToggleUp,ControllerPm45.rCSmin,ControllerPm45.rCSmax,ControllerPm45.rPVmin,ControllerPm45.rPVmax,ControllerPm45.Pox,ControllerPm45.wox,ControllerPm45.CS,ControllerPm45.CSi,ControllerPm45.CSp,ControllerPm45.e,$whenCondition2,$whenCondition1,ControllerPm45.TI,ControllerPm45.K,ControllerPm45.iMode,ControllerPm60.period,ControllerPm60.UP,ControllerPm60.nOx,ControllerPm60.lastToggleUp,ControllerPm60.rCSmin,ControllerPm60.rCSmax,ControllerPm60.rPVmin,ControllerPm60.rPVmax,ControllerPm60.Pox,ControllerPm60.wox,ControllerPm60.CS,ControllerPm60.CSi,ControllerPm60.CSp,ControllerPm60.e,$whenCondition4,$whenCondition3,ControllerPm60.TI,ControllerPm60.K,ControllerPm60.iMode,ControllerPm70.period,ControllerPm70.UP,ControllerPm70.nOx,ControllerPm70.lastToggleUp,ControllerPm70.rCSmin,ControllerPm70.rCSmax,ControllerPm70.rPVmin,ControllerPm70.rPVmax,ControllerPm70.Pox,ControllerPm70.wox,ControllerPm70.CS,ControllerPm70.CSi,ControllerPm70.CSp,ControllerPm70.e,$whenCondition6,$whenCondition5,ControllerPm70.TI,ControllerPm70.K,ControllerPm70.iMode,ATpulse.combiTimeTable.nextTimeEvent,ATpulse.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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.005346/0.4173, allocations: 3.638 MB / 0.5339 GB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002009/0.4193, allocations: 1.194 MB / 0.5351 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4193, allocations: 0 / 0.5351 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.4204, allocations: 0.997 MB / 0.5361 GB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006698/0.421, allocations: 163 kB / 0.5362 GB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.4319, allocations: 8.398 MB / 0.5444 GB, free: 8.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.4323, allocations: 0.9913 MB / 0.5454 GB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004177/0.4327, allocations: 170.8 kB / 0.5456 GB, free: 7.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/0.4331, allocations: 300.2 kB / 0.5459 GB, free: 7.316 MB / 382.1 MB Notification: Performance of SimCode: time 1.493e-06/0.4331, allocations: 0 / 0.5459 GB, free: 7.316 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05621/0.4893, allocations: 18.95 MB / 0.5644 GB, free: 5.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.29, allocations: 3.938 kB / 0.5644 GB, free: 5.688 MB / 398.1 MB " [Timeout remaining time 647] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital_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_ATPIrelayNCdigital.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCdigital.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.35928350600443] Failed to read output from testmodel.py, exit status != 0: 13.465993630001321 13.488746655 13.353938057 Calling exit ...