Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") Notification: Performance of loadModel(IndustrialControlSystems): time 2.14/2.14, allocations: 216.9 MB / 229 MB, free: 15.09 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.024e-05/3.028e-05, allocations: 4 kB / 281.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08789/0.08795, allocations: 49.99 MB / 331.9 MB, free: 8.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3647/0.4527, allocations: 83.36 MB / 415.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.453, allocations: 81.89 kB / 415.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04409/0.4971, allocations: 10.2 MB / 425.5 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.402e-06/0.4971, allocations: 0 / 425.5 MB, free: 4.566 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.562e-05/0.4972, allocations: 23.98 kB / 425.5 MB, free: 4.543 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.001468/0.4987, allocations: 0.7295 MB / 426.3 MB, free: 3.789 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.4987, allocations: 12.03 kB / 426.3 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.4989, allocations: 59.3 kB / 426.3 MB, free: 3.719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.5, allocations: 432.5 kB / 426.8 MB, free: 3.297 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.777e-05/0.5001, allocations: 19 kB / 426.8 MB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.309e-05/0.5002, allocations: 33.11 kB / 426.8 MB, free: 3.262 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008217/0.501, allocations: 385.7 kB / 427.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.501, allocations: 0 / 427.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.978e-05/0.5011, allocations: 14.98 kB / 427.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.5011, allocations: 11.95 kB / 427.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005864/0.5017, allocations: 242.7 kB / 427.5 MB, free: 2.754 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003005/0.5048, allocations: 1.425 MB / 428.9 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006323/0.5054, allocations: 203.7 kB / 429.1 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.5057, allocations: 120.1 kB / 429.2 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.5058, allocations: 4.172 kB / 429.2 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004465/0.5062, allocations: 221.5 kB / 429.4 MB, free: 1.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 4.117e-06/0.5062, allocations: 0 / 429.4 MB, free: 1.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.000964/0.5072, allocations: 387.5 kB / 429.8 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.157e-05/0.5073, allocations: 114.5 kB / 429.9 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007688/0.5081, allocations: 429.1 kB / 430.3 MB, free: 228 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.042e-05/0.5082, allocations: 33.2 kB / 430.4 MB, free: 192 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.5085, allocations: 239.9 kB / 430.6 MB, free: 28 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.5086, allocations: 100.1 kB / 430.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.5087, allocations: 10.56 kB / 430.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.5089, allocations: 358.9 kB / 431.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.5092, allocations: 106.7 kB / 431.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.5096, allocations: 231.3 kB / 431.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.5099, allocations: 171.6 kB / 431.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.627e-06/0.51, allocations: 4 kB / 431.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001149/0.5111, allocations: 0.4907 MB / 432 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.053e-05/0.5112, allocations: 37.69 kB / 432.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.5112, allocations: 4 kB / 432.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.5113, allocations: 7.781 kB / 432.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.5118, allocations: 79.16 kB / 432.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/0.5118, allocations: 7.984 kB / 432.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.5122, allocations: 46.8 kB / 432.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.394e-05/0.5123, allocations: 20.22 kB / 432.2 MB, free: 14.54 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 (44): * Single equations (assignments): 43 * 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.0002734/0.5126, allocations: 188.5 kB / 432.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.5127, allocations: 43.44 kB / 432.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.5138, allocations: 456.2 kB / 432.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.796e-06/0.5138, allocations: 3.953 kB / 432.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.5138, allocations: 4 kB / 432.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.942e-06/0.5139, allocations: 0 / 432.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000662/0.5145, allocations: 422.1 kB / 433.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.335e-06/0.5145, allocations: 0 / 433.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004749/0.515, allocations: 51.91 kB / 433.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.5151, allocations: 3.984 kB / 433.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.111e-05/0.5151, allocations: 11.25 kB / 433.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.258e-06/0.5151, allocations: 0 / 433.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.611e-06/0.5152, allocations: 3.953 kB / 433.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.5165, allocations: 0.604 MB / 434 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.5167, allocations: 128.1 kB / 434.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.716e-05/0.5168, allocations: 11.75 kB / 434.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.5171, allocations: 15.11 kB / 434.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.384e-05/0.5172, allocations: 27.11 kB / 434.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/0.5173, allocations: 15.25 kB / 434.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000569/0.5179, allocations: 337 kB / 434.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.27e-07/0.5179, allocations: 3.938 kB / 434.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006296/0.5185, allocations: 115 kB / 434.6 MB, free: 12.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (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 (26): * Single equations (assignments): 23 * 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.001616/0.5202, allocations: 445.3 kB / 435.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008812/0.5211, allocations: 389.9 kB / 435.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.445e-06/0.5211, allocations: 0 / 435.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004235/0.5215, allocations: 217.6 kB / 435.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/0.5221, allocations: 65.78 kB / 435.7 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.5242, allocations: 0.6434 MB / 436.4 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009967/0.5253, allocations: 0.869 MB / 437.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000658/0.526, allocations: 75.22 kB / 437.3 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/0.5262, allocations: 35.06 kB / 437.4 MB, free: 9.973 MB / 362.7 MB Notification: Performance of SimCode: time 2.634e-06/0.5262, allocations: 0 / 437.4 MB, free: 9.973 MB / 362.7 MB Notification: Performance of Templates: time 0.01837/0.5446, allocations: 4.303 MB / 441.7 MB, free: 5.691 MB / 362.7 MB