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.001329/0.001329, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001475/0.001475, allocations: 215.6 kB / 22.25 MB, free: 5.074 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 8.012 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.06768/0.06768, allocations: 11.34 MB / 323.8 MB, free: 8.238 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.002/0.002, allocations: 71.91 kB / 451 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1133, allocations: 56.06 MB / 0.4952 GB, free: 2.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.AutoTuning.Examples.Test_ATPIrelayNCmixedMode): time 0.00551/0.1188, allocations: 3.355 MB / 0.4985 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003723/0.1226, allocations: 1.476 MB / 0.4999 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004296/0.123, allocations: 27.69 kB / 0.5 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008864/0.1239, allocations: 246.5 kB / 0.5002 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005794/0.1245, allocations: 198.8 kB / 0.5004 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.1257, allocations: 0.5598 MB / 0.5009 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.1273, allocations: 1.274 MB / 0.5022 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002545/0.1275, allocations: 113.8 kB / 0.5023 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006486/0.1282, allocations: 470.5 kB / 0.5027 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006109/0.1288, allocations: 458.1 kB / 0.5032 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.1289, allocations: 95.94 kB / 0.5033 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.1292, allocations: 140 kB / 0.5034 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.1294, allocations: 235.2 kB / 0.5036 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004818/0.1299, allocations: 494 kB / 0.5041 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.1311, allocations: 1.019 MB / 0.5051 GB, free: 8.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1311, allocations: 0 / 0.5051 GB, free: 8.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1311, allocations: 0 / 0.5051 GB, free: 8.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.1311, allocations: 0 / 0.5051 GB, free: 8.18 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.002529/0.1336, allocations: 1.529 MB / 0.5066 GB, free: 6.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1336, allocations: 8.031 kB / 0.5066 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001747/0.1338, allocations: 134.6 kB / 0.5067 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.134, allocations: 128.3 kB / 0.5068 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.1351, allocations: 0.5693 MB / 0.5074 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002041/0.1353, allocations: 223.7 kB / 0.5076 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.1355, allocations: 99.95 kB / 0.5077 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.1372, allocations: 1.014 MB / 0.5087 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/0.1372, allocations: 7.938 kB / 0.5087 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.734e-05/0.1373, allocations: 47.98 kB / 0.5088 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.1373, allocations: 16 kB / 0.5088 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.1386, allocations: 0.6795 MB / 0.5094 GB, free: 3.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004477/0.1431, allocations: 2.804 MB / 0.5122 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.1441, allocations: 0.5071 MB / 0.5127 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2384/0.3826, allocations: 402.8 kB / 0.513 GB, free: 23.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.148e-05/0.3826, allocations: 2.094 kB / 0.5131 GB, free: 23.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/0.3838, allocations: 1.161 MB / 0.5142 GB, free: 22.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 2.745e-06/0.3838, allocations: 0 / 0.5142 GB, free: 22.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=101): time 0.003036/0.3869, allocations: 2.286 MB / 0.5164 GB, free: 22.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001876/0.3871, allocations: 0.56 MB / 0.517 GB, free: 22.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000707/0.3878, allocations: 0.6899 MB / 0.5176 GB, free: 21.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.104e-05/0.3878, allocations: 59.33 kB / 0.5177 GB, free: 21.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.388, allocations: 391 kB / 0.5181 GB, free: 21.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.3882, allocations: 318.8 kB / 0.5184 GB, free: 21.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/0.3885, allocations: 246.7 kB / 0.5186 GB, free: 21.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.973e-05/0.3885, allocations: 351.4 kB / 0.5189 GB, free: 21.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004471/0.389, allocations: 295.6 kB / 0.5192 GB, free: 21.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006557/0.3896, allocations: 0.7851 MB / 0.52 GB, free: 20.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002786/0.3924, allocations: 2.242 MB / 0.5222 GB, free: 19.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.829e-05/0.3924, allocations: 9.5 kB / 0.5222 GB, free: 19.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.002182/0.3946, allocations: 1.557 MB / 0.5237 GB, free: 18.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.596e-05/0.3947, allocations: 109.4 kB / 0.5238 GB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.3947, allocations: 17.09 kB / 0.5238 GB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.921e-05/0.3947, allocations: 24.22 kB / 0.5239 GB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007451/0.3955, allocations: 254 kB / 0.5241 GB, free: 18.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.28e-05/0.3955, allocations: 34.69 kB / 0.5241 GB, free: 18.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.396, allocations: 149.6 kB / 0.5243 GB, free: 18.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-05/0.3961, allocations: 69.94 kB / 0.5243 GB, free: 18.6 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] ControllerPm70.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 ControllerPm45.linFBout:VARIABLE(start = 0.0 fixed = true stateSelect=StateSelect.always protected = true ) type: Real ControllerPm45.iMode:DISCRETE(fixed = true ) type: Integer ControllerPm45.CSat:DISCRETE(fixed = true protected = true ) type: Real ProcessPm45.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm45.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm45.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm45.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ControllerPm60.iMode:DISCRETE(fixed = true ) type: Integer ControllerPm60.CSat:DISCRETE(fixed = true protected = true ) type: Real ProcessPm60.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm60.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm60.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm60.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ControllerPm70.iMode:DISCRETE(fixed = true ) type: Integer ControllerPm70.CSat:DISCRETE(fixed = true protected = true ) type: Real ProcessPm70.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm70.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessPm70.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessPm70.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real 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.ControllerPm45.iMode,$PRE.ControllerPm45.K,$PRE.ControllerPm45.TI,$PRE.ControllerPm45.CSat,$PRE.ControllerPm45.AT,$PRE.ControllerPm60.iMode,$PRE.ControllerPm60.K,$PRE.ControllerPm60.TI,$PRE.ControllerPm60.CSat,$PRE.ControllerPm60.AT,$PRE.ControllerPm70.iMode,$PRE.ControllerPm70.K,$PRE.ControllerPm70.TI,$PRE.ControllerPm70.CSat,$PRE.ControllerPm70.AT,ControllerPm45.iMode,ControllerPm45.K,ControllerPm45.TI,ControllerPm45.CSat,ControllerPm45.AT,ATpulse.combiTimeTable.nextTimeEvent,ATpulse.combiTimeTable.nextTimeEventScaled,$PRE.ATpulse.combiTimeTable.nextTimeEventScaled,ControllerPm60.iMode,ControllerPm60.K,ControllerPm60.TI,ControllerPm60.CSat,ControllerPm60.AT,ControllerPm70.at_req,ControllerPm70.iMode,ControllerPm70.K,ControllerPm70.TI,ControllerPm70.CSat,ControllerPm70.AT,$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.0008119/0.3969, allocations: 0.609 MB / 0.5249 GB, free: 18.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.3971, allocations: 123.3 kB / 0.5251 GB, free: 18.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002836/0.3999, allocations: 2.053 MB / 0.5271 GB, free: 17.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.3999, allocations: 4.75 kB / 0.5271 GB, free: 17.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.3999, allocations: 1.984 kB / 0.5271 GB, free: 17.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.956e-06/0.3999, allocations: 2.156 kB / 0.5271 GB, free: 17.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003842/0.4038, allocations: 2.862 MB / 0.5299 GB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.4038, allocations: 0.625 kB / 0.5299 GB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005712/0.4043, allocations: 98.12 kB / 0.53 GB, free: 16.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/0.4044, allocations: 7.906 kB / 0.53 GB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.4045, allocations: 62.31 kB / 0.53 GB, free: 16.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.216e-06/0.4045, allocations: 3.25 kB / 0.53 GB, free: 16.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4045, allocations: 0.7031 kB / 0.53 GB, free: 16.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004325/0.4088, allocations: 2.75 MB / 0.5327 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.409, allocations: 93.89 kB / 0.5328 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/0.4092, allocations: 68.06 kB / 0.5329 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008458/0.4101, allocations: 122.3 kB / 0.533 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.4103, allocations: 69.19 kB / 0.533 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.4104, allocations: 64.03 kB / 0.5331 GB, free: 14.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006254/0.411, allocations: 453.2 kB / 0.5335 GB, free: 14.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.411, allocations: 0 / 0.5335 GB, free: 14.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001174/0.4122, allocations: 277.3 kB / 0.5338 GB, free: 14.56 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (ProcessPm70.w,ProcessPm70.U[3],ProcessPm70.U[2],ProcessPm70.Y[4],ProcessPm70.Y[3],ControllerPm70.linFBout,ProcessPm60.w,ProcessPm60.U[3],ProcessPm60.U[2],ProcessPm60.Y[4],ProcessPm60.Y[3],ControllerPm60.linFBout,ProcessPm45.w,ProcessPm45.U[3],ProcessPm45.U[2],ProcessPm45.Y[4],ProcessPm45.Y[3],ControllerPm45.linFBout) * Number of discrete variables: 64 ($whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,ControllerPm70.nOx,ControllerPm70.Pox,ControllerPm70.wox,ControllerPm70.period,ControllerPm70.lastToggleUp,ControllerPm70.rCSmin,ControllerPm70.rCSmax,ControllerPm70.rPVmin,ControllerPm70.rPVmax,ControllerPm70.UP,ControllerPm70.AT,ControllerPm70.CSat,ControllerPm70.TI,ControllerPm70.K,ControllerPm70.iMode,ControllerPm70.at_req,ControllerPm60.nOx,ControllerPm60.Pox,ControllerPm60.wox,ControllerPm60.period,ControllerPm60.lastToggleUp,ControllerPm60.rCSmin,ControllerPm60.rCSmax,ControllerPm60.rPVmin,ControllerPm60.rPVmax,ControllerPm60.UP,ControllerPm60.AT,ControllerPm60.CSat,ControllerPm60.TI,ControllerPm60.K,ControllerPm60.iMode,ATpulse.combiTimeTable.nextTimeEventScaled,ATpulse.combiTimeTable.nextTimeEvent,ControllerPm45.nOx,ControllerPm45.Pox,ControllerPm45.wox,ControllerPm45.period,ControllerPm45.lastToggleUp,ControllerPm45.rCSmin,ControllerPm45.rCSmax,ControllerPm45.rPVmin,ControllerPm45.rPVmax,ControllerPm45.UP,ControllerPm45.AT,ControllerPm45.CSat,ControllerPm45.TI,ControllerPm45.K,ControllerPm45.iMode) * 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.006055/0.4183, allocations: 3.718 MB / 0.5374 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002478/0.4207, allocations: 1.266 MB / 0.5387 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.4207, allocations: 1.156 kB / 0.5387 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.4218, allocations: 0.7284 MB / 0.5394 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008615/0.4227, allocations: 158.4 kB / 0.5395 GB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.435, allocations: 8.707 MB / 0.548 GB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.4355, allocations: 1.013 MB / 0.549 GB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004789/0.436, allocations: 172.8 kB / 0.5492 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/0.4364, allocations: 317.8 kB / 0.5495 GB, free: 4.5 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4364, allocations: 0 / 0.5495 GB, free: 4.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08854/0.5249, allocations: 19.53 MB / 0.5686 GB, free: 1.379 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.24, allocations: 7.844 kB / 0.5686 GB, free: 1.371 MB / 398.1 MB " [Timeout remaining time 647] (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: 16.211242746998323] Failed to read output from testmodel.py, exit status != 0: 13.411012329001096 13.427235898 13.292624169 Calling exit ...