Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking") Notification: Performance of loadModel(IndustrialControlSystems): time 2.09/2.09, allocations: 216.8 MB / 229 MB, free: 15.11 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.216e-05, allocations: 8 kB / 281.9 MB, free: 10.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1228, allocations: 50 MB / 331.9 MB, free: 8.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.397/0.5198, allocations: 83.68 MB / 415.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.52, allocations: 78.95 kB / 415.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04498/0.565, allocations: 10.66 MB / 426.3 MB, free: 3.816 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.202e-06/0.5651, allocations: 0 / 426.3 MB, free: 3.816 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.035e-05/0.5652, allocations: 19.98 kB / 426.3 MB, free: 3.797 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.001508/0.5667, allocations: 0.7727 MB / 427.1 MB, free: 3.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.5667, allocations: 8.031 kB / 427.1 MB, free: 2.996 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.5669, allocations: 71.2 kB / 427.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.568, allocations: 448 kB / 427.6 MB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.632e-05/0.5681, allocations: 27.59 kB / 427.6 MB, free: 2.473 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.054e-05/0.5682, allocations: 42.59 kB / 427.7 MB, free: 2.441 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009101/0.5691, allocations: 437.5 kB / 428.1 MB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.5691, allocations: 0 / 428.1 MB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-05/0.5692, allocations: 17.36 kB / 428.1 MB, free: 2.082 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.5692, allocations: 11.95 kB / 428.1 MB, free: 2.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000733/0.57, allocations: 302.7 kB / 428.4 MB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00328/0.5733, allocations: 1.6 MB / 430 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005013/0.5738, allocations: 227 kB / 430.2 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/0.5741, allocations: 151.5 kB / 430.4 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.5742, allocations: 8.266 kB / 430.4 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000498/0.5747, allocations: 239.4 kB / 430.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 3.942e-06/0.5747, allocations: 0 / 430.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.00103/0.5758, allocations: 446 kB / 431.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.5759, allocations: 111 kB / 431.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007677/0.5766, allocations: 461.8 kB / 431.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.286e-05/0.5767, allocations: 33.39 kB / 431.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.577, allocations: 275.4 kB / 431.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.5771, allocations: 110 kB / 432 MB, free: 14.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.5772, allocations: 11.75 kB / 432 MB, free: 14.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.5774, allocations: 373.8 kB / 432.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.5777, allocations: 138.6 kB / 432.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/0.5782, allocations: 288.9 kB / 432.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.5786, allocations: 216.2 kB / 433 MB, free: 13.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.836e-06/0.5786, allocations: 0 / 433 MB, free: 13.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001299/0.5799, allocations: 0.612 MB / 433.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.647e-05/0.58, allocations: 44.91 kB / 433.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.58, allocations: 4 kB / 433.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.5801, allocations: 8 kB / 433.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006847/0.5808, allocations: 116.3 kB / 433.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.5808, allocations: 4 kB / 433.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.5812, allocations: 59.14 kB / 433.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.021e-05/0.5813, allocations: 23.88 kB / 433.9 MB, free: 13.11 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.0002828/0.5816, allocations: 188.2 kB / 434.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.5817, allocations: 51.34 kB / 434.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.5829, allocations: 0.4987 MB / 434.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.5829, allocations: 4 kB / 434.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.192e-06/0.5829, allocations: 7.938 kB / 434.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.081e-06/0.5829, allocations: 3.938 kB / 434.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006823/0.5836, allocations: 468.9 kB / 435.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.5837, allocations: 4 kB / 435.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006208/0.5843, allocations: 63.95 kB / 435.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.5843, allocations: 4 kB / 435.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-05/0.5844, allocations: 19.86 kB / 435.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.373e-06/0.5844, allocations: 0 / 435.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.051e-06/0.5844, allocations: 0 / 435.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.5859, allocations: 0.6724 MB / 435.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.5861, allocations: 140.2 kB / 436 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.5862, allocations: 15.8 kB / 436 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/0.5866, allocations: 15.86 kB / 436 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-05/0.5867, allocations: 23.84 kB / 436.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.188e-05/0.5867, allocations: 14.69 kB / 436.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005932/0.5873, allocations: 358.3 kB / 436.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.13e-07/0.5874, allocations: 0 / 436.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000655/0.588, allocations: 133.3 kB / 436.6 MB, free: 10.82 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.001559/0.5896, allocations: 450.3 kB / 437 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009984/0.5906, allocations: 463.1 kB / 437.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.133e-06/0.5906, allocations: 8.062 kB / 437.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004187/0.5911, allocations: 246.1 kB / 437.7 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.5916, allocations: 66.06 kB / 437.8 MB, free: 9.848 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.5934, allocations: 0.8195 MB / 438.6 MB, free: 9.094 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006455/0.594, allocations: 0.8864 MB / 439.5 MB, free: 8.188 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000413/0.5945, allocations: 103.4 kB / 439.6 MB, free: 8.082 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.5946, allocations: 39.06 kB / 439.6 MB, free: 8.047 MB / 362.7 MB Notification: Performance of SimCode: time 2.083e-06/0.5946, allocations: 0 / 439.6 MB, free: 8.047 MB / 362.7 MB Notification: Performance of Templates: time 0.02022/0.6149, allocations: 4.72 MB / 444.3 MB, free: 3.348 MB / 362.7 MB