Running command: translateModel(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO") Notification: Performance of loadModel(IndustrialControlSystems): time 2.128/2.128, allocations: 216.8 MB / 229 MB, free: 15.1 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.035e-05/3.045e-05, allocations: 4 kB / 281.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09477/0.09482, allocations: 50 MB / 331.9 MB, free: 8.859 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3559/0.4507, allocations: 79.45 MB / 411.3 MB, free: 1.039 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.451, allocations: 76.83 kB / 411.4 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02275/0.4738, allocations: 5.487 MB / 416.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.422e-06/0.4739, allocations: 0 / 416.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.368e-05/0.4739, allocations: 16 kB / 416.9 MB, free: 12.14 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.001392/0.4753, allocations: 0.7535 MB / 417.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.4754, allocations: 8.031 kB / 417.7 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.4756, allocations: 71.25 kB / 417.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.4767, allocations: 433.4 kB / 418.2 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.639e-05/0.4768, allocations: 31.59 kB / 418.2 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.477, allocations: 54.66 kB / 418.3 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.4781, allocations: 0.5425 MB / 418.8 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.4782, allocations: 4 kB / 418.8 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.993e-05/0.4783, allocations: 27.89 kB / 418.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.4783, allocations: 8 kB / 418.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008058/0.4791, allocations: 338.4 kB / 419.2 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003242/0.4824, allocations: 1.352 MB / 420.5 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000903/0.4833, allocations: 0.6265 MB / 421.1 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006444/0.484, allocations: 0.579 MB / 421.7 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.484, allocations: 0 / 421.7 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006273/0.4847, allocations: 339.1 kB / 422.1 MB, free: 8.305 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 3.68e-06/0.4847, allocations: 0 / 422.1 MB, free: 8.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.001689/0.4864, allocations: 0.7758 MB / 422.8 MB, free: 7.684 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001691/0.4866, allocations: 204.7 kB / 423 MB, free: 7.457 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006235/0.4872, allocations: 393.5 kB / 423.4 MB, free: 7.145 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.619e-05/0.4873, allocations: 47.5 kB / 423.5 MB, free: 7.102 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.4875, allocations: 260 kB / 423.7 MB, free: 6.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.4877, allocations: 147.4 kB / 423.9 MB, free: 6.789 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.4878, allocations: 14.56 kB / 423.9 MB, free: 6.785 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002218/0.488, allocations: 374.3 kB / 424.2 MB, free: 6.434 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.4883, allocations: 126.8 kB / 424.4 MB, free: 6.352 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/0.4889, allocations: 483.2 kB / 424.8 MB, free: 5.777 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/0.4895, allocations: 292.3 kB / 425.1 MB, free: 5.531 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.4895, allocations: 4 kB / 425.1 MB, free: 5.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001723/0.4913, allocations: 0.8124 MB / 425.9 MB, free: 4.852 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.451e-05/0.4913, allocations: 67.34 kB / 426 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.4914, allocations: 12 kB / 426 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.215e-05/0.4914, allocations: 20 kB / 426 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000711/0.4922, allocations: 155.4 kB / 426.2 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.39e-05/0.4922, allocations: 23.92 kB / 426.2 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004848/0.4927, allocations: 90.45 kB / 426.3 MB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.124e-05/0.4928, allocations: 47.5 kB / 426.3 MB, free: 4.461 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 ControllerTDO.StepsUp:DISCRETE(fixed = false protected = true ) type: Real ControllerTDO.dold:DISCRETE(fixed = false protected = true ) type: Real ControllerTDO.cso:DISCRETE(fixed = false protected = true ) type: Real ControllerTDO.pvo:DISCRETE(fixed = false protected = true ) type: Real ControllerTDO.spo:DISCRETE(fixed = false protected = true ) type: Real ControllerTDO.satLOW:DISCRETE(fixed = false ) "The CS signal saturated at CSmin" type: Boolean ControllerTDO.satHI:DISCRETE(fixed = false ) "The CS signal saturated at CSmax" type: Boolean ControllerTDO.cs:DISCRETE(fixed = false ) type: Real ControllerTDO.dcs:DISCRETE(fixed = false protected = true ) type: Real ControllerTDO.dd:DISCRETE(fixed = false protected = true ) type: Real ControllerTDO.d:DISCRETE(fixed = false protected = true ) type: Real ControllerTDO.di:DISCRETE(fixed = false protected = true ) type: Real ControllerTDO.dp:DISCRETE(fixed = false protected = true ) type: Real ControllerTDO.dpv:DISCRETE(fixed = false protected = true ) type: Real ControllerTDO.dsp:DISCRETE(fixed = false protected = true ) type: Real ControllerTDO.pv:DISCRETE(fixed = false protected = true ) type: Real ControllerTDO.sp:DISCRETE(fixed = false protected = true ) type: Real ControllerTDO.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] ControllerTDO.CS:DISCRETE(fixed = false ) "Control signal" type: Real ProcessTDO.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessTDO.U[2]:VARIABLE(protected = true ) type: Real [2] ProcessTDO.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] 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: 56 * Number of states: 0 () * Number of discrete variables: 74 ($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.ControllerTDO.StepsUp,ControllerTDO.StepsUp,$PRE.ControllerTDO.dold,ControllerTDO.dold,$PRE.ControllerTDO.cso,ControllerTDO.cso,$PRE.ControllerTDO.pvo,ControllerTDO.pvo,$PRE.ControllerTDO.spo,ControllerTDO.spo,$PRE.ControllerTDO.satLOW,ControllerTDO.satLOW,$PRE.ControllerTDO.satHI,ControllerTDO.satHI,$PRE.ControllerTDO.cs,ControllerTDO.cs,$PRE.ControllerTDO.dcs,ControllerTDO.dcs,$PRE.ControllerTDO.dd,ControllerTDO.dd,$PRE.ControllerTDO.d,ControllerTDO.d,$PRE.ControllerTDO.di,ControllerTDO.di,$PRE.ControllerTDO.dp,ControllerTDO.dp,$PRE.ControllerTDO.dpv,ControllerTDO.dpv,$PRE.ControllerTDO.dsp,ControllerTDO.dsp,$PRE.ControllerTDO.pv,ControllerTDO.pv,$PRE.ControllerTDO.sp,ControllerTDO.sp,$PRE.ControllerTDO.counter,ControllerTDO.counter,$whenCondition2,$PRE.ControllerTDO.CS,ControllerTDO.CS,$PRE.Controller.CS,Controller.CS,$whenCondition1,Controller.Fdec_in,Controller.Finc_in,Controller.MAN_in,Controller.TS_in,ControllerTDO.Fdec_in,ControllerTDO.Finc_in,ControllerTDO.MAN_in,ControllerTDO.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.0005339/0.4934, allocations: 348.9 kB / 426.7 MB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.4935, allocations: 71.3 kB / 426.8 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.4936, allocations: 48.06 kB / 426.8 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.224e-06/0.4937, allocations: 4 kB / 426.8 MB, free: 4.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.4937, allocations: 0 / 426.8 MB, free: 4.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.4937, allocations: 0 / 426.8 MB, free: 4.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006698/0.4944, allocations: 485.4 kB / 427.3 MB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.455e-06/0.4944, allocations: 0 / 427.3 MB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004483/0.4949, allocations: 51.95 kB / 427.3 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.186e-06/0.4949, allocations: 3.938 kB / 427.3 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.55e-05/0.495, allocations: 35.75 kB / 427.4 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.495, allocations: 0 / 427.4 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.495, allocations: 0 / 427.4 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.4975, allocations: 1.198 MB / 428.6 MB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.4976, allocations: 128.3 kB / 428.7 MB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.4978, allocations: 35.56 kB / 428.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/0.4982, allocations: 35.8 kB / 428.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/0.4983, allocations: 19.91 kB / 428.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.383e-05/0.4983, allocations: 23.86 kB / 428.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004439/0.4988, allocations: 290.2 kB / 429.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.93e-07/0.4988, allocations: 3.938 kB / 429.1 MB, free: 2.145 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007931/0.4996, allocations: 123.2 kB / 429.2 MB, free: 2.039 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (ProcessTDO.Y[3],ProcessTDO.U[2],ProcessTDO.w,Process.Y[3],Process.U[2],Process.w,ProcessNoControl.Y[3],ProcessNoControl.U[2],ProcessNoControl.w) * Number of discrete variables: 34 ($whenCondition1,$whenCondition2,ControllerTDO.CS,ControllerTDO.satHI,ControllerTDO.satLOW,ControllerTDO.counter,ControllerTDO.cs,ControllerTDO.sp,ControllerTDO.dsp,ControllerTDO.pv,ControllerTDO.dpv,ControllerTDO.dp,ControllerTDO.di,ControllerTDO.d,ControllerTDO.dd,ControllerTDO.dcs,ControllerTDO.spo,ControllerTDO.pvo,ControllerTDO.dold,ControllerTDO.cso,ControllerTDO.StepsUp,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: 34 (ControllerTDO.CS,ControllerTDO.StepsUp,ControllerTDO.dold,ControllerTDO.cso,ControllerTDO.pvo,ControllerTDO.spo,ControllerTDO.satLOW,ControllerTDO.satHI,ControllerTDO.cs,ControllerTDO.dcs,ControllerTDO.dd,ControllerTDO.d,ControllerTDO.di,ControllerTDO.dp,ControllerTDO.dpv,ControllerTDO.dsp,ControllerTDO.pv,ControllerTDO.sp,ControllerTDO.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,$whenCondition2) * 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.0002736/0.4999, allocations: 168.4 kB / 429.4 MB, free: 1.875 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.5012, allocations: 0.6273 MB / 430 MB, free: 1.367 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.291e-06/0.5012, allocations: 1.312 kB / 430 MB, free: 1.367 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.5025, allocations: 1.271 MB / 431.3 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.5027, allocations: 38.38 kB / 431.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.5047, allocations: 0.8199 MB / 432.1 MB, free: 168 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006607/0.5054, allocations: 0.8775 MB / 433 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003143/0.5057, allocations: 84.31 kB / 433.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.5058, allocations: 35.44 kB / 433.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of SimCode: time 1.787e-06/0.5058, allocations: 0 / 433.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of Templates: time 0.01257/0.5184, allocations: 3.855 MB / 437 MB, free: 11.3 MB / 362.7 MB