Running command: translateModel(IndustrialControlSystems.Applications.ControlProblems.CascadeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.CascadeControl") Notification: Performance of loadModel(IndustrialControlSystems): time 2.167/2.167, allocations: 216.8 MB / 229 MB, free: 15.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.495e-05/2.505e-05, allocations: 0 / 281.9 MB, free: 10.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0887/0.08875, allocations: 50 MB / 331.9 MB, free: 8.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3502/0.4391, allocations: 78.96 MB / 410.9 MB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.4393, allocations: 72.08 kB / 410.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02599/0.4653, allocations: 6.098 MB / 417 MB, free: 12.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.905e-06/0.4654, allocations: 0 / 417 MB, free: 12.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.726e-05/0.4654, allocations: 19.98 kB / 417 MB, free: 12.21 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001617/0.4671, allocations: 0.7053 MB / 417.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.4671, allocations: 8.031 kB / 417.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.4673, allocations: 63.25 kB / 417.8 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.4685, allocations: 465 kB / 418.3 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/0.4685, allocations: 34.42 kB / 418.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.4686, allocations: 39.88 kB / 418.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.4697, allocations: 0.4913 MB / 418.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/0.4697, allocations: 3.906 kB / 418.8 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-05/0.4698, allocations: 18.69 kB / 418.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.4698, allocations: 12 kB / 418.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006779/0.4705, allocations: 285.1 kB / 419.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003391/0.4739, allocations: 1.609 MB / 420.8 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006393/0.4746, allocations: 243.6 kB / 421 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.4748, allocations: 95.8 kB / 421.1 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.4748, allocations: 4.234 kB / 421.1 MB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004295/0.4753, allocations: 201.1 kB / 421.3 MB, free: 8.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 3.817e-06/0.4753, allocations: 0 / 421.3 MB, free: 8.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008923/0.4762, allocations: 350.8 kB / 421.6 MB, free: 8.121 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.4763, allocations: 63.16 kB / 421.7 MB, free: 8.051 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006848/0.477, allocations: 431.5 kB / 422.1 MB, free: 7.703 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.4771, allocations: 37.39 kB / 422.1 MB, free: 7.664 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.4774, allocations: 307 kB / 422.4 MB, free: 7.434 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.4775, allocations: 97.84 kB / 422.5 MB, free: 7.352 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.4775, allocations: 7.625 kB / 422.6 MB, free: 7.352 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.4777, allocations: 373.7 kB / 422.9 MB, free: 7.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.478, allocations: 104.2 kB / 423 MB, free: 6.934 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/0.4785, allocations: 409.3 kB / 423.4 MB, free: 6.438 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/0.479, allocations: 178 kB / 423.6 MB, free: 6.305 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-05/0.479, allocations: 7.953 kB / 423.6 MB, free: 6.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001268/0.4803, allocations: 0.5825 MB / 424.2 MB, free: 5.812 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.4803, allocations: 11.44 kB / 424.2 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.266e-05/0.4804, allocations: 12 kB / 424.2 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.719e-05/0.4804, allocations: 20.06 kB / 424.2 MB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/0.481, allocations: 131.6 kB / 424.4 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3e-05/0.4811, allocations: 19.88 kB / 424.4 MB, free: 5.629 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004237/0.4815, allocations: 74.73 kB / 424.4 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.456e-05/0.4816, allocations: 31.61 kB / 424.5 MB, free: 5.539 MB / 346.7 MB Warning: Assuming fixed start value for the following 17 variables: R.cs:DISCRETE(fixed = false ) "Pre-biased Control Signal" type: Real R.satin:DISCRETE(fixed = false ) "input of the saturation block" type: Real R_outer.CS:DISCRETE(fixed = false ) "Control signal" type: Real R_outer.cs:DISCRETE(fixed = false ) "Pre-biased Control Signal" type: Real R_outer.satin:DISCRETE(fixed = false ) "input of the saturation block" type: Real R_inner.cs:DISCRETE(fixed = false ) "Pre-biased Control Signal" type: Real R_inner.satin:DISCRETE(fixed = false ) "input of the saturation block" type: Real P_outer.Y[3]:VARIABLE(protected = true ) type: Real [3] P_outer.U[2]:VARIABLE(protected = true ) type: Real [2] P_outer.w:VARIABLE(protected = true ) "proper part of the output" type: Real P2.Y[3]:VARIABLE(protected = true ) type: Real [3] P2.U[2]:VARIABLE(protected = true ) type: Real [2] P2.w:VARIABLE(protected = true ) "proper part of the output" type: Real R_inner.CS:DISCRETE(fixed = false ) "Control signal" type: Real P_inner.w:VARIABLE(protected = true ) "proper part of the output" type: Real R.CS:DISCRETE(fixed = false ) "Control signal" type: Real P1.w:VARIABLE(protected = true ) "proper part of the output" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.R.FBout,R.FBout,$PRE.R.cs,R.cs,$PRE.R.satin,R.satin,$PRE.R_outer.CS,R_outer.CS,$PRE.R_outer.FBout,R_outer.FBout,$PRE.R_outer.cs,R_outer.cs,$PRE.R_outer.satin,R_outer.satin,$PRE.R_inner.FBout,R_inner.FBout,$PRE.R_inner.cs,R_inner.cs,$PRE.R_inner.satin,R_inner.satin,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.R.CS,R.CS,$PRE.R_inner.CS,R_inner.CS,R_inner.TS_in,R_outer.TS_in,R.TS_in,R_inner.ATreq_in,R_outer.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * 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.0002986/0.4819, allocations: 189.6 kB / 424.7 MB, free: 5.367 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.932e-05/0.482, allocations: 51.39 kB / 424.7 MB, free: 5.316 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.4822, allocations: 56.05 kB / 424.8 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.98e-06/0.4822, allocations: 4 kB / 424.8 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.479e-06/0.4822, allocations: 0 / 424.8 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.878e-06/0.4822, allocations: 0 / 424.8 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006237/0.4828, allocations: 429.8 kB / 425.2 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.723e-06/0.4829, allocations: 0 / 425.2 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.4833, allocations: 51.92 kB / 425.2 MB, free: 4.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/0.4833, allocations: 0 / 425.2 MB, free: 4.836 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.656e-05/0.4834, allocations: 19.92 kB / 425.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.931e-06/0.4834, allocations: 0 / 425.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.96e-06/0.4834, allocations: 0 / 425.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.4845, allocations: 0.5197 MB / 425.8 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.4847, allocations: 120.5 kB / 425.9 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.471e-05/0.4848, allocations: 19.75 kB / 425.9 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.485, allocations: 7.875 kB / 425.9 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/0.4851, allocations: 27.47 kB / 426 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/0.4851, allocations: 11.98 kB / 426 MB, free: 4.203 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004804/0.4856, allocations: 317 kB / 426.3 MB, free: 3.957 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.4856, allocations: 0 / 426.3 MB, free: 3.957 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006596/0.4863, allocations: 92.53 kB / 426.4 MB, free: 3.879 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (P1.w,P2.Y[3],P2.U[2],P2.w,P_inner.w,P_outer.Y[3],P_outer.U[2],P_outer.w) * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,R.CS,R.FBout,R.cs,R.satin,R_outer.CS,R_outer.FBout,R_outer.cs,R_outer.satin,R_inner.CS,R_inner.FBout,R_inner.cs,R_inner.satin) * Number of discrete states: 6 (R_inner.FBout,R_inner.cs,R_outer.FBout,R_outer.cs,R.FBout,R.cs) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.000239/0.4866, allocations: 142 kB / 426.5 MB, free: 3.738 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008114/0.4874, allocations: 361.2 kB / 426.9 MB, free: 3.465 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.906e-06/0.4874, allocations: 0 / 426.9 MB, free: 3.465 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002779/0.4877, allocations: 130.3 kB / 427 MB, free: 3.371 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006393/0.4884, allocations: 64.25 kB / 427 MB, free: 3.332 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.4899, allocations: 0.6807 MB / 427.7 MB, free: 2.691 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006291/0.4905, allocations: 0.8765 MB / 428.6 MB, free: 1.797 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003888/0.4909, allocations: 92.5 kB / 428.7 MB, free: 1.707 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.4911, allocations: 35.44 kB / 428.7 MB, free: 1.672 MB / 346.7 MB Notification: Performance of SimCode: time 1.73e-06/0.4911, allocations: 0 / 428.7 MB, free: 1.672 MB / 346.7 MB Notification: Performance of Templates: time 0.02198/0.5131, allocations: 2.963 MB / 431.7 MB, free: 14.72 MB / 362.7 MB