Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_tracking") Notification: Performance of loadModel(IndustrialControlSystems): time 2.195/2.195, allocations: 216.8 MB / 229 MB, free: 15.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.126e-05/3.136e-05, allocations: 4 kB / 281.9 MB, free: 10.97 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.09563, allocations: 50 MB / 331.9 MB, free: 8.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4616/0.5573, allocations: 84 MB / 415.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003675/0.5577, allocations: 82.83 kB / 416 MB, free: 12.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07634/0.6341, allocations: 17.61 MB / 433.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.296e-06/0.6342, allocations: 4 kB / 433.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.72e-05/0.6343, allocations: 24.16 kB / 433.6 MB, free: 13.54 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002127/0.6364, allocations: 1.026 MB / 434.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.6364, allocations: 12.03 kB / 434.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002426/0.6367, allocations: 90.88 kB / 434.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.6384, allocations: 0.6214 MB / 435.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/0.6384, allocations: 45.5 kB / 435.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.6386, allocations: 48.91 kB / 435.4 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.6399, allocations: 0.6241 MB / 436.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.618e-05/0.64, allocations: 7.188 kB / 436.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.739e-05/0.6401, allocations: 20.75 kB / 436.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.6401, allocations: 8 kB / 436.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.6411, allocations: 424.6 kB / 436.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004572/0.6457, allocations: 2.204 MB / 438.7 MB, free: 8.977 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009574/0.6467, allocations: 359.4 kB / 439.1 MB, free: 8.711 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004755/0.6472, allocations: 228.2 kB / 439.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.51e-05/0.6473, allocations: 12 kB / 439.3 MB, free: 8.551 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007502/0.648, allocations: 377 kB / 439.7 MB, free: 8.234 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 4.55e-06/0.6481, allocations: 0 / 439.7 MB, free: 8.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=53): time 0.001711/0.6498, allocations: 0.7003 MB / 440.4 MB, free: 7.641 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.6499, allocations: 162.2 kB / 440.5 MB, free: 7.445 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.6512, allocations: 0.6828 MB / 441.2 MB, free: 6.902 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.882e-05/0.6513, allocations: 38.58 kB / 441.3 MB, free: 6.867 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/0.6517, allocations: 369.6 kB / 441.6 MB, free: 6.645 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/0.6519, allocations: 174.4 kB / 441.8 MB, free: 6.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.652, allocations: 11.62 kB / 441.8 MB, free: 6.496 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.6522, allocations: 341.6 kB / 442.1 MB, free: 6.168 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/0.6527, allocations: 207.7 kB / 442.3 MB, free: 6.023 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006541/0.6534, allocations: 387.5 kB / 442.7 MB, free: 5.652 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006443/0.654, allocations: 329.9 kB / 443 MB, free: 5.398 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.543e-06/0.6541, allocations: 4 kB / 443 MB, free: 5.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002012/0.6561, allocations: 0.8774 MB / 443.9 MB, free: 4.668 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.271e-05/0.6562, allocations: 67.39 kB / 444 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.6562, allocations: 4 kB / 444 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/0.6562, allocations: 8.594 kB / 444 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.6573, allocations: 178.3 kB / 444.2 MB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.201e-05/0.6573, allocations: 11.94 kB / 444.2 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/0.6579, allocations: 85.88 kB / 444.3 MB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.658, allocations: 27.19 kB / 444.3 MB, free: 4.301 MB / 362.7 MB Warning: Assuming fixed start value for the following 9 variables: processBump.w:VARIABLE(protected = true ) "proper part of the output" type: Real processBump.U[2]:VARIABLE(protected = true ) type: Real [2] processBump.Y[3]:VARIABLE(protected = true ) type: Real [3] 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] processTrack.U[2]:VARIABLE(protected = true ) type: Real [2] processTrack.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: 20 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition4,$PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.TSsignalBump.combiTimeTable.nextTimeEvent,$whenCondition1,$whenCondition2,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_Bump.TS,TrackRefBump.a,TrackRefBump.b,TrackRefBump.last,$PRE.TrackRefBump.nextEvent,TrackRefBump.nextEvent,TrackRefBump.nextEventScaled,TSsignalBump.combiTimeTable.nextTimeEvent,$PRE.TSsignalBump.combiTimeTable.nextTimeEventScaled,TSsignalBump.combiTimeTable.nextTimeEventScaled,R.TS_in,R_Bump.ATreq_in,R_track.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 2 * 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.0003616/0.6584, allocations: 237.1 kB / 444.5 MB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.6586, allocations: 79.06 kB / 444.6 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/0.6606, allocations: 0.8346 MB / 445.4 MB, free: 3.324 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.6606, allocations: 4 kB / 445.4 MB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.728e-06/0.6606, allocations: 0 / 445.4 MB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.6607, allocations: 3.984 kB / 445.4 MB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.6617, allocations: 0.6336 MB / 446.1 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6618, allocations: 0 / 446.1 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/0.663, allocations: 135.4 kB / 446.2 MB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/0.663, allocations: 7.984 kB / 446.2 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.557e-05/0.6631, allocations: 23.17 kB / 446.2 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.633e-06/0.6631, allocations: 3.938 kB / 446.2 MB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.057e-06/0.6631, allocations: 0 / 446.2 MB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/0.6657, allocations: 1.13 MB / 447.4 MB, free: 1.715 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.666, allocations: 166.8 kB / 447.5 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.6662, allocations: 26.5 kB / 447.6 MB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.6666, allocations: 27.53 kB / 447.6 MB, free: 1.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.6667, allocations: 39.27 kB / 447.6 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.708e-05/0.6668, allocations: 30.66 kB / 447.7 MB, free: 1.445 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009739/0.6678, allocations: 0.5227 MB / 448.2 MB, free: 1.047 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.385e-06/0.6678, allocations: 0 / 448.2 MB, free: 1.047 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009068/0.6688, allocations: 212.4 kB / 448.4 MB, free: 0.8594 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (R.FBout,R_track.FBout,process.Y[3],process.U[2],process.w,processTrack.Y[3],processTrack.U[2],processTrack.w,R_Bump.FBout,processBump.Y[3],processBump.U[2],processBump.w) * Number of discrete variables: 20 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,R_track.TS,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,TrackRef.nextEvent,TrackRef.nextEventScaled,R_Bump.TS,TrackRefBump.a,TrackRefBump.b,TrackRefBump.last,TrackRefBump.nextEvent,TrackRefBump.nextEventScaled,TSsignalBump.combiTimeTable.nextTimeEvent,TSsignalBump.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 16 (TrackRef.nextEvent,TrackRef.last,TrackRef.nextEventScaled,TrackRef.b,TrackRef.a,$whenCondition1,TrackRefBump.nextEvent,TrackRefBump.last,TrackRefBump.nextEventScaled,TrackRefBump.b,TrackRefBump.a,$whenCondition2,TSsignalBump.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEvent,TSsignalBump.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 4 * 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.002217/0.671, allocations: 497.2 kB / 448.9 MB, free: 452 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.6728, allocations: 0.7115 MB / 449.6 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.6728, allocations: 8.25 kB / 449.6 MB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009366/0.6738, allocations: 429.6 kB / 450 MB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.6751, allocations: 111 kB / 450.1 MB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004421/0.6795, allocations: 1.155 MB / 451.3 MB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.6808, allocations: 1.003 MB / 452.3 MB, free: 13.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001078/0.682, allocations: 133.1 kB / 452.4 MB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000347/0.6823, allocations: 62.36 kB / 452.5 MB, free: 13.21 MB / 378.7 MB Notification: Performance of SimCode: time 2.365e-06/0.6823, allocations: 0 / 452.5 MB, free: 13.21 MB / 378.7 MB Notification: Performance of Templates: time 0.02557/0.7079, allocations: 7.516 MB / 460 MB, free: 5.723 MB / 378.7 MB