Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking") Notification: Performance of loadModel(IndustrialControlSystems): time 2.254/2.254, allocations: 216.8 MB / 229 MB, free: 15.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.404e-05/6.431e-05, allocations: 5.25 kB / 281.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09266/0.09278, allocations: 50 MB / 331.9 MB, free: 8.863 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4026/0.4954, allocations: 83.67 MB / 415.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.4957, allocations: 78.58 kB / 415.6 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04815/0.5439, allocations: 10.71 MB / 426.4 MB, free: 3.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.101e-06/0.5439, allocations: 0 / 426.4 MB, free: 3.793 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.534e-05/0.544, allocations: 12 kB / 426.4 MB, free: 3.781 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001533/0.5455, allocations: 0.7791 MB / 427.1 MB, free: 2.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.5456, allocations: 8.031 kB / 427.2 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.5458, allocations: 63.2 kB / 427.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.5469, allocations: 456.1 kB / 427.7 MB, free: 2.465 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.328e-05/0.5469, allocations: 24.03 kB / 427.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.616e-05/0.547, allocations: 43.34 kB / 427.7 MB, free: 2.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000893/0.548, allocations: 440.9 kB / 428.2 MB, free: 2.066 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.548, allocations: 4 kB / 428.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.434e-05/0.5481, allocations: 15.75 kB / 428.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.5481, allocations: 15.95 kB / 428.2 MB, free: 2.043 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006851/0.5488, allocations: 293 kB / 428.5 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003276/0.5521, allocations: 1.607 MB / 430.1 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004996/0.5526, allocations: 232.3 kB / 430.3 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.5529, allocations: 150.3 kB / 430.5 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.553, allocations: 4.234 kB / 430.5 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004893/0.5535, allocations: 237 kB / 430.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 4.038e-06/0.5535, allocations: 7.938 kB / 430.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001024/0.5545, allocations: 439 kB / 431.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.984e-05/0.5546, allocations: 111 kB / 431.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007709/0.5554, allocations: 467.3 kB / 431.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.943e-05/0.5555, allocations: 33.52 kB / 431.7 MB, free: 15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.5558, allocations: 276.6 kB / 432 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.5559, allocations: 115.1 kB / 432.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.556, allocations: 10.5 kB / 432.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.5562, allocations: 370.7 kB / 432.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.5565, allocations: 140.5 kB / 432.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/0.557, allocations: 286.3 kB / 432.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.5575, allocations: 219.7 kB / 433.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.394e-06/0.5575, allocations: 0 / 433.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001325/0.5588, allocations: 0.6116 MB / 433.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.555e-05/0.5589, allocations: 37.69 kB / 433.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.5589, allocations: 7.984 kB / 433.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.559, allocations: 8.531 kB / 433.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.5596, allocations: 115.4 kB / 433.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/0.5597, allocations: 8 kB / 433.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.56, allocations: 56.77 kB / 434 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.131e-05/0.5601, allocations: 23.25 kB / 434 MB, free: 13.07 MB / 362.7 MB Warning: Assuming fixed start value for the following 10 variables: processTrack.w:VARIABLE(protected = true ) "proper part of the output" type: Real processTrack.U[3]:VARIABLE(protected = true ) type: Real [3] processTrack.U[2]:VARIABLE(protected = true ) type: Real [3] processTrack.Y[4]:VARIABLE(protected = true ) type: Real [4] process.Y[3]:VARIABLE(protected = true ) type: Real [4] process.Y[4]:VARIABLE(protected = true ) type: Real [4] process.U[2]:VARIABLE(protected = true ) type: Real [3] process.U[3]:VARIABLE(protected = true ) type: Real [3] process.w:VARIABLE(protected = true ) "proper part of the output" type: Real processTrack.Y[3]:VARIABLE(protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition1,R_track.TS,TSsignal.combiTimeTable.nextTimeEvent,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,$PRE.TrackRef.nextEvent,TrackRef.nextEvent,TrackRef.nextEventScaled,R.TS_in,R_track.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 1 * 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.000275/0.5604, allocations: 185.6 kB / 434.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.5605, allocations: 51.34 kB / 434.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.5617, allocations: 0.5043 MB / 434.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.61e-06/0.5617, allocations: 4 kB / 434.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7e-06/0.5617, allocations: 0 / 434.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.731e-06/0.5617, allocations: 3.938 kB / 434.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006993/0.5625, allocations: 469.5 kB / 435.2 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.019e-06/0.5625, allocations: 0 / 435.2 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005782/0.5631, allocations: 67.39 kB / 435.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.5631, allocations: 4 kB / 435.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.913e-05/0.5632, allocations: 19.48 kB / 435.3 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.962e-06/0.5632, allocations: 0 / 435.3 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.055e-06/0.5632, allocations: 0 / 435.3 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.5646, allocations: 0.6705 MB / 435.9 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.5648, allocations: 140 kB / 436.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.5649, allocations: 17.92 kB / 436.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.5652, allocations: 26.98 kB / 436.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.923e-05/0.5653, allocations: 22.16 kB / 436.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/0.5654, allocations: 12 kB / 436.1 MB, free: 11.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005679/0.5659, allocations: 359.6 kB / 436.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.16e-07/0.566, allocations: 4 kB / 436.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006612/0.5666, allocations: 133.6 kB / 436.6 MB, free: 10.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (R.Fin,R_track.Fin,process.Y[3],process.Y[4],process.U[2],process.U[3],process.w,processTrack.Y[3],processTrack.Y[4],processTrack.U[2],processTrack.U[3],processTrack.w) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,R_track.TS,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,TrackRef.nextEvent,TrackRef.nextEventScaled) * Number of discrete states: 8 (TrackRef.nextEvent,TrackRef.last,TrackRef.nextEventScaled,TrackRef.b,TrackRef.a,$whenCondition1,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.001535/0.5682, allocations: 449.2 kB / 437.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009569/0.5692, allocations: 468.1 kB / 437.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5692, allocations: 4.125 kB / 437.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004149/0.5696, allocations: 245.3 kB / 437.8 MB, free: 9.855 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.5701, allocations: 67 kB / 437.8 MB, free: 9.809 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.5718, allocations: 0.8156 MB / 438.7 MB, free: 9.059 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006696/0.5725, allocations: 0.8964 MB / 439.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003984/0.5729, allocations: 95.39 kB / 439.6 MB, free: 8.047 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.573, allocations: 38.69 kB / 439.7 MB, free: 8.012 MB / 362.7 MB Notification: Performance of SimCode: time 1.698e-06/0.5731, allocations: 0 / 439.7 MB, free: 8.012 MB / 362.7 MB Notification: Performance of Templates: time 0.01545/0.5885, allocations: 4.746 MB / 444.4 MB, free: 3.289 MB / 362.7 MB