Running command: translateModel(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDOe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDOe") Notification: Performance of loadModel(IndustrialControlSystems): time 2.204/2.204, allocations: 216.9 MB / 229 MB, free: 15.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.306e-05/4.323e-05, allocations: 4 kB / 281.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09693/0.097, allocations: 50 MB / 331.9 MB, free: 8.855 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3622/0.4593, allocations: 79.56 MB / 411.5 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.4596, allocations: 82.69 kB / 411.5 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02348/0.4831, allocations: 5.55 MB / 417.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.78e-06/0.4831, allocations: 0 / 417.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.324e-05/0.4832, allocations: 12 kB / 417.1 MB, free: 12 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002125/0.4854, allocations: 0.7568 MB / 417.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.4855, allocations: 15.97 kB / 417.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002918/0.4858, allocations: 67.25 kB / 417.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.4876, allocations: 430.4 kB / 418.4 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-05/0.4878, allocations: 32.28 kB / 418.4 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002161/0.488, allocations: 65.77 kB / 418.5 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.4902, allocations: 0.5384 MB / 419 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.772e-05/0.4902, allocations: 7.938 kB / 419 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.4904, allocations: 34.81 kB / 419 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.4904, allocations: 8 kB / 419 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.4919, allocations: 343.4 kB / 419.4 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005396/0.4974, allocations: 1.359 MB / 420.7 MB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.4991, allocations: 0.7414 MB / 421.5 MB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.5004, allocations: 0.686 MB / 422.2 MB, free: 8.371 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.5004, allocations: 4 kB / 422.2 MB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/0.5015, allocations: 378.4 kB / 422.5 MB, free: 8.051 MB / 346.7 MB Notification: Performance of pre-optimization done (n=51): time 9.717e-06/0.5016, allocations: 3.984 kB / 422.5 MB, free: 8.047 MB / 346.7 MB Notification: Performance of matching and sorting (n=51): time 0.002832/0.5044, allocations: 0.7992 MB / 423.3 MB, free: 7.418 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002733/0.5048, allocations: 232.4 kB / 423.6 MB, free: 7.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.5059, allocations: 402.4 kB / 424 MB, free: 6.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.506, allocations: 44.64 kB / 424 MB, free: 6.801 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.5064, allocations: 252.5 kB / 424.3 MB, free: 6.613 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002848/0.5067, allocations: 154.2 kB / 424.4 MB, free: 6.488 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.5068, allocations: 14.5 kB / 424.4 MB, free: 6.484 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003141/0.5071, allocations: 366.6 kB / 424.8 MB, free: 6.141 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005587/0.5077, allocations: 125.8 kB / 424.9 MB, free: 6.059 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.5088, allocations: 487.9 kB / 425.4 MB, free: 5.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009191/0.5097, allocations: 288.1 kB / 425.7 MB, free: 5.238 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.939e-05/0.5098, allocations: 4 kB / 425.7 MB, free: 5.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003005/0.5128, allocations: 0.8266 MB / 426.5 MB, free: 4.547 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.5129, allocations: 70.67 kB / 426.6 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.518e-05/0.513, allocations: 12 kB / 426.6 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.141e-05/0.5131, allocations: 20 kB / 426.6 MB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.5142, allocations: 154.9 kB / 426.7 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.655e-05/0.5143, allocations: 20.38 kB / 426.8 MB, free: 4.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008781/0.5152, allocations: 96.03 kB / 426.8 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.5153, allocations: 47.19 kB / 426.9 MB, free: 4.156 MB / 346.7 MB Warning: Assuming fixed start value for the following 41 variables: Controller.satLOW:DISCRETE(fixed = false ) "The CS signal saturated at CSmin" type: Boolean Controller.satHI:DISCRETE(fixed = false ) "The CS signal saturated at CSmax" type: Boolean Controller.cs:DISCRETE(fixed = false protected = true ) type: Real Controller.dcs:DISCRETE(fixed = false protected = true ) type: Real Controller.dd:DISCRETE(fixed = false protected = true ) type: Real Controller.d:DISCRETE(fixed = false protected = true ) type: Real Controller.di:DISCRETE(fixed = false protected = true ) type: Real Controller.dp:DISCRETE(fixed = false protected = true ) type: Real Controller.dpv:DISCRETE(fixed = false protected = true ) type: Real Controller.dsp:DISCRETE(fixed = false protected = true ) type: Real Controller.pv:DISCRETE(fixed = false protected = true ) type: Real Controller.sp:DISCRETE(fixed = false protected = true ) type: Real ControllerTDOe.dold:DISCRETE(fixed = false protected = true ) type: Real ControllerTDOe.cso:DISCRETE(fixed = false protected = true ) type: Real ControllerTDOe.pvo:DISCRETE(fixed = false protected = true ) type: Real ControllerTDOe.spo:DISCRETE(fixed = false protected = true ) type: Real ControllerTDOe.satLOW:DISCRETE(fixed = false ) "The CS signal saturated at CSmin" type: Boolean ControllerTDOe.satHI:DISCRETE(fixed = false ) "The CS signal saturated at CSmax" type: Boolean ControllerTDOe.cs:DISCRETE(fixed = false ) type: Real ControllerTDOe.dcs:DISCRETE(fixed = false protected = true ) type: Real ControllerTDOe.dd:DISCRETE(fixed = false protected = true ) type: Real ControllerTDOe.d:DISCRETE(fixed = false protected = true ) type: Real ControllerTDOe.di:DISCRETE(fixed = false protected = true ) type: Real ControllerTDOe.dp:DISCRETE(fixed = false protected = true ) type: Real ControllerTDOe.dpv:DISCRETE(fixed = false protected = true ) type: Real ControllerTDOe.dsp:DISCRETE(fixed = false protected = true ) type: Real ControllerTDOe.pv:DISCRETE(fixed = false protected = true ) type: Real ControllerTDOe.sp:DISCRETE(fixed = false protected = true ) type: Real ControllerTDOe.counter:DISCRETE(fixed = false ) type: Real Process.w:VARIABLE(protected = true ) "proper part of the output" type: Real Process.U[2]:VARIABLE(protected = true ) type: Real [2] ControllerTDOe.CS:DISCRETE(fixed = false ) "Control signal" type: Real ProcessTDOe.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessTDOe.U[2]:VARIABLE(protected = true ) type: Real [2] ProcessTDOe.w:VARIABLE(protected = true ) "proper part of the output" type: Real Controller.CS:DISCRETE(fixed = false ) "Control signal" type: Real Process.Y[3]:VARIABLE(protected = true ) type: Real [3] ControllerTDOe.nextEventTime:DISCRETE(fixed = false protected = true ) type: Real ProcessNoControl.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessNoControl.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessNoControl.U[2]:VARIABLE(protected = true ) type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 75 ($PRE.Controller.satLOW,Controller.satLOW,$PRE.Controller.satHI,Controller.satHI,$PRE.Controller.cs,Controller.cs,$PRE.Controller.dcs,Controller.dcs,$PRE.Controller.dd,Controller.dd,$PRE.Controller.d,Controller.d,$PRE.Controller.di,Controller.di,$PRE.Controller.dp,Controller.dp,$PRE.Controller.dpv,Controller.dpv,$PRE.Controller.dsp,Controller.dsp,$PRE.Controller.pv,Controller.pv,$PRE.Controller.sp,Controller.sp,$PRE.ControllerTDOe.dold,ControllerTDOe.dold,$PRE.ControllerTDOe.cso,ControllerTDOe.cso,$PRE.ControllerTDOe.pvo,ControllerTDOe.pvo,$PRE.ControllerTDOe.spo,ControllerTDOe.spo,$PRE.ControllerTDOe.satLOW,ControllerTDOe.satLOW,$PRE.ControllerTDOe.satHI,ControllerTDOe.satHI,$PRE.ControllerTDOe.cs,ControllerTDOe.cs,$PRE.ControllerTDOe.dcs,ControllerTDOe.dcs,$PRE.ControllerTDOe.dd,ControllerTDOe.dd,$PRE.ControllerTDOe.d,ControllerTDOe.d,$PRE.ControllerTDOe.di,ControllerTDOe.di,$PRE.ControllerTDOe.dp,ControllerTDOe.dp,$PRE.ControllerTDOe.dpv,ControllerTDOe.dpv,$PRE.ControllerTDOe.dsp,ControllerTDOe.dsp,$PRE.ControllerTDOe.pv,ControllerTDOe.pv,$PRE.ControllerTDOe.sp,ControllerTDOe.sp,$PRE.ControllerTDOe.counter,ControllerTDOe.counter,$whenCondition3,$PRE.ControllerTDOe.CS,ControllerTDOe.CS,$PRE.Controller.CS,Controller.CS,$whenCondition1,$whenCondition2,$PRE.ControllerTDOe.nextEventTime,ControllerTDOe.nextEventTime,Controller.Fdec_in,Controller.Finc_in,Controller.MAN_in,Controller.TS_in,ControllerTDOe.Fdec_in,ControllerTDOe.Finc_in,ControllerTDOe.MAN_in,ControllerTDOe.TS_in) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007551/0.5161, allocations: 333.5 kB / 427.2 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.5163, allocations: 70.86 kB / 427.3 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.5165, allocations: 44.5 kB / 427.3 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.5166, allocations: 4 kB / 427.3 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.006e-06/0.5166, allocations: 0 / 427.3 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.74e-06/0.5166, allocations: 0 / 427.3 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.5177, allocations: 0.502 MB / 427.8 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.686e-06/0.5178, allocations: 0 / 427.8 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007233/0.5185, allocations: 55.91 kB / 427.9 MB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.771e-06/0.5185, allocations: 0 / 427.9 MB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/0.5187, allocations: 34.48 kB / 427.9 MB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.603e-06/0.5187, allocations: 0 / 427.9 MB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5187, allocations: 0 / 427.9 MB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00434/0.5231, allocations: 1.232 MB / 429.2 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/0.5234, allocations: 128.3 kB / 429.3 MB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/0.5237, allocations: 38.44 kB / 429.3 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006153/0.5243, allocations: 35.16 kB / 429.4 MB, free: 2.078 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.5245, allocations: 15.05 kB / 429.4 MB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.5246, allocations: 23.17 kB / 429.4 MB, free: 2.047 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007926/0.5254, allocations: 289.3 kB / 429.7 MB, free: 1.816 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.633e-06/0.5254, allocations: 3.938 kB / 429.7 MB, free: 1.812 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001585/0.527, allocations: 128.5 kB / 429.8 MB, free: 1.703 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (ProcessTDOe.Y[3],ProcessTDOe.U[2],ProcessTDOe.w,Process.Y[3],Process.U[2],Process.w,ProcessNoControl.Y[3],ProcessNoControl.U[2],ProcessNoControl.w) * Number of discrete variables: 35 ($whenCondition1,$whenCondition2,$whenCondition3,ControllerTDOe.CS,ControllerTDOe.satHI,ControllerTDOe.satLOW,ControllerTDOe.counter,ControllerTDOe.cs,ControllerTDOe.sp,ControllerTDOe.dsp,ControllerTDOe.pv,ControllerTDOe.dpv,ControllerTDOe.dp,ControllerTDOe.di,ControllerTDOe.d,ControllerTDOe.dd,ControllerTDOe.dcs,ControllerTDOe.spo,ControllerTDOe.pvo,ControllerTDOe.dold,ControllerTDOe.cso,ControllerTDOe.nextEventTime,Controller.CS,Controller.satHI,Controller.satLOW,Controller.sp,Controller.dsp,Controller.pv,Controller.dpv,Controller.dp,Controller.di,Controller.d,Controller.dd,Controller.cs,Controller.dcs) * Number of discrete states: 35 ($whenCondition2,ControllerTDOe.nextEventTime,ControllerTDOe.CS,ControllerTDOe.dold,ControllerTDOe.cso,ControllerTDOe.pvo,ControllerTDOe.spo,ControllerTDOe.satLOW,ControllerTDOe.satHI,ControllerTDOe.cs,ControllerTDOe.dcs,ControllerTDOe.dd,ControllerTDOe.d,ControllerTDOe.di,ControllerTDOe.dp,ControllerTDOe.dpv,ControllerTDOe.dsp,ControllerTDOe.pv,ControllerTDOe.sp,ControllerTDOe.counter,$whenCondition1,Controller.CS,Controller.satLOW,Controller.satHI,Controller.cs,Controller.dcs,Controller.dd,Controller.d,Controller.di,Controller.dp,Controller.dpv,Controller.dsp,Controller.pv,Controller.sp,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004349/0.5275, allocations: 163.9 kB / 430 MB, free: 1.543 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002314/0.5299, allocations: 0.6403 MB / 430.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.5299, allocations: 256 / 430.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002181/0.5321, allocations: 1.459 MB / 432.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.5326, allocations: 31.88 kB / 432.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/0.5358, allocations: 0.8269 MB / 432.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008884/0.5368, allocations: 0.8799 MB / 433.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005283/0.5373, allocations: 84.31 kB / 433.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.5375, allocations: 35.44 kB / 433.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of SimCode: time 2.302e-06/0.5375, allocations: 0 / 433.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of Templates: time 0.01357/0.5511, allocations: 3.984 MB / 437.9 MB, free: 10.78 MB / 362.7 MB