Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") Notification: Performance of loadModel(IndustrialControlSystems): time 2.111/2.111, allocations: 216.8 MB / 229 MB, free: 15.09 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.647e-05/4.672e-05, allocations: 7.984 kB / 281.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 49.99 MB / 331.9 MB, free: 8.863 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4074/0.5186, allocations: 83.72 MB / 415.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.5189, allocations: 76.08 kB / 415.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04446/0.5634, allocations: 10.45 MB / 426.1 MB, free: 3.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.296e-06/0.5635, allocations: 0 / 426.1 MB, free: 3.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.916e-05/0.5635, allocations: 12 kB / 426.1 MB, free: 3.953 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001444/0.565, allocations: 0.7466 MB / 426.9 MB, free: 3.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.565, allocations: 16.02 kB / 426.9 MB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.5652, allocations: 55.3 kB / 427 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.5666, allocations: 451.7 kB / 427.4 MB, free: 2.668 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.5668, allocations: 76.77 kB / 427.5 MB, free: 2.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.5669, allocations: 36.12 kB / 427.5 MB, free: 2.566 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.5681, allocations: 398.9 kB / 427.9 MB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.5681, allocations: 0 / 427.9 MB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.977e-05/0.5682, allocations: 17.14 kB / 427.9 MB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.5682, allocations: 8 kB / 427.9 MB, free: 2.223 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006198/0.5689, allocations: 253.6 kB / 428.2 MB, free: 2.047 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003145/0.572, allocations: 1.507 MB / 429.7 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005563/0.5726, allocations: 182.2 kB / 429.9 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.5729, allocations: 129.5 kB / 430 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.573, allocations: 16.09 kB / 430 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004443/0.5734, allocations: 215.5 kB / 430.2 MB, free: 272 kB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 3.791e-06/0.5734, allocations: 0 / 430.2 MB, free: 272 kB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009526/0.5744, allocations: 389.1 kB / 430.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.319e-05/0.5745, allocations: 111 kB / 430.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007129/0.5752, allocations: 433.9 kB / 431.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.5753, allocations: 29.14 kB / 431.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.5756, allocations: 251.5 kB / 431.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.5757, allocations: 88.61 kB / 431.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.5757, allocations: 18.88 kB / 431.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.5759, allocations: 362.7 kB / 431.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.5763, allocations: 117.6 kB / 432 MB, free: 14.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.5767, allocations: 235.2 kB / 432.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.577, allocations: 180.2 kB / 432.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.581e-06/0.5771, allocations: 0 / 432.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001102/0.5782, allocations: 0.5056 MB / 432.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.358e-05/0.5782, allocations: 37.69 kB / 432.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.5783, allocations: 4 kB / 432.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.5783, allocations: 4 kB / 432.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/0.579, allocations: 91.33 kB / 433 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-05/0.5791, allocations: 15.97 kB / 433 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.5794, allocations: 47.2 kB / 433.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.215e-05/0.5795, allocations: 19.88 kB / 433.1 MB, free: 13.74 MB / 362.7 MB Warning: Assuming fixed start value for the following 6 variables: processTrack.w:VARIABLE(protected = true ) "proper part of the output" type: Real processTrack.U[2]:VARIABLE(protected = true ) type: Real [2] process.Y[3]:VARIABLE(protected = true ) type: Real [3] process.U[2]:VARIABLE(protected = true ) type: Real [2] process.w:VARIABLE(protected = true ) "proper part of the output" type: Real processTrack.Y[3]:VARIABLE(protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 44 * 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.0002604/0.5798, allocations: 177.6 kB / 433.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.5799, allocations: 47.44 kB / 433.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.581, allocations: 449.8 kB / 433.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.581, allocations: 0 / 433.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.199e-06/0.5811, allocations: 4 kB / 433.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.902e-06/0.5811, allocations: 3.984 kB / 433.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000635/0.5817, allocations: 435.8 kB / 434.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.132e-06/0.5817, allocations: 0 / 434.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007336/0.5825, allocations: 67.89 kB / 434.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.5825, allocations: 4 kB / 434.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.135e-05/0.5826, allocations: 19.23 kB / 434.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.59e-06/0.5826, allocations: 0 / 434.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.917e-06/0.5826, allocations: 4 kB / 434.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.5839, allocations: 0.6124 MB / 434.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.5841, allocations: 127.8 kB / 435 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.5842, allocations: 18.31 kB / 435 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.5845, allocations: 23.17 kB / 435.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.5846, allocations: 19.16 kB / 435.1 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.5847, allocations: 10.75 kB / 435.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005446/0.5852, allocations: 332.9 kB / 435.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.77e-07/0.5852, allocations: 4 kB / 435.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006629/0.5859, allocations: 125.5 kB / 435.5 MB, free: 11.62 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (R.Iout,R_track.Iout,process.Y[3],process.U[2],process.w,processTrack.Y[3],processTrack.U[2],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 (25): * Single equations (assignments): 22 * 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.001532/0.5875, allocations: 445.6 kB / 436 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008706/0.5883, allocations: 397.1 kB / 436.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.561e-06/0.5884, allocations: 0 / 436.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003618/0.5887, allocations: 214.6 kB / 436.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/0.5893, allocations: 72.38 kB / 436.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.5908, allocations: 0.6896 MB / 437.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/0.5914, allocations: 0.8636 MB / 438.2 MB, free: 9.207 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003323/0.5918, allocations: 75.22 kB / 438.3 MB, free: 9.129 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.5919, allocations: 31.44 kB / 438.3 MB, free: 9.102 MB / 362.7 MB Notification: Performance of SimCode: time 1.583e-06/0.5919, allocations: 4 kB / 438.3 MB, free: 9.098 MB / 362.7 MB Notification: Performance of Templates: time 0.0141/0.606, allocations: 4.355 MB / 442.7 MB, free: 4.762 MB / 362.7 MB