Running command: translateModel(IndustrialControlSystems.Controllers.Digital.Examples.TestPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID") Notification: Performance of loadModel(IndustrialControlSystems): time 2.227/2.227, allocations: 216.8 MB / 229 MB, free: 15.08 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.419e-05, allocations: 8 kB / 281.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 50 MB / 331.9 MB, free: 8.852 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3739/0.4858, allocations: 84.19 MB / 416.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.4861, allocations: 86.69 kB / 416.2 MB, free: 12.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09881/0.5849, allocations: 22.53 MB / 438.7 MB, free: 9.238 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.585, allocations: 0 / 438.7 MB, free: 9.238 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.417e-05/0.5851, allocations: 28.14 kB / 438.7 MB, free: 9.211 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002447/0.5876, allocations: 1.176 MB / 439.9 MB, free: 8.008 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.5876, allocations: 12.03 kB / 439.9 MB, free: 7.996 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003997/0.588, allocations: 102.8 kB / 440 MB, free: 7.895 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/0.5899, allocations: 0.6521 MB / 440.7 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.691e-05/0.59, allocations: 38.27 kB / 440.7 MB, free: 7.266 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.5902, allocations: 46.44 kB / 440.8 MB, free: 7.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.5915, allocations: 0.594 MB / 441.4 MB, free: 6.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.5916, allocations: 7.891 kB / 441.4 MB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.468e-05/0.5917, allocations: 23.62 kB / 441.4 MB, free: 6.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.5917, allocations: 11.95 kB / 441.4 MB, free: 6.738 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009269/0.5927, allocations: 383.8 kB / 441.8 MB, free: 6.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004097/0.5968, allocations: 1.6 MB / 443.4 MB, free: 5.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.5981, allocations: 0.6862 MB / 444.1 MB, free: 4.844 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007853/0.5989, allocations: 0.5566 MB / 444.6 MB, free: 4.609 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.599, allocations: 4 kB / 444.6 MB, free: 4.605 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009661/0.5999, allocations: 0.4925 MB / 445.1 MB, free: 4.195 MB / 362.7 MB Notification: Performance of pre-optimization done (n=65): time 4.432e-06/0.6, allocations: 3.938 kB / 445.1 MB, free: 4.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.002369/0.6023, allocations: 0.9988 MB / 446.1 MB, free: 3.375 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002158/0.6026, allocations: 290.1 kB / 446.4 MB, free: 3.035 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.6042, allocations: 0.7827 MB / 447.2 MB, free: 2.422 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.6044, allocations: 44.64 kB / 447.2 MB, free: 2.383 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/0.6047, allocations: 363.7 kB / 447.6 MB, free: 2.191 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/0.605, allocations: 182.1 kB / 447.8 MB, free: 2.039 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.605, allocations: 14.5 kB / 447.8 MB, free: 2.035 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.6052, allocations: 336.8 kB / 448.1 MB, free: 1.711 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005144/0.6058, allocations: 211.8 kB / 448.3 MB, free: 1.566 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007341/0.6065, allocations: 474.1 kB / 448.8 MB, free: 1.078 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006801/0.6072, allocations: 363.3 kB / 449.1 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.6072, allocations: 0 / 449.1 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002238/0.6095, allocations: 0.9625 MB / 450.1 MB, free: 15.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.6096, allocations: 96.28 kB / 450.2 MB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.6097, allocations: 12.03 kB / 450.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.229e-05/0.6097, allocations: 15.94 kB / 450.2 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/0.6104, allocations: 135 kB / 450.3 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.346e-05/0.6104, allocations: 11.94 kB / 450.3 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007286/0.6112, allocations: 90.72 kB / 450.4 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.6113, allocations: 46.86 kB / 450.5 MB, free: 15.59 MB / 378.7 MB Warning: Assuming fixed start value for the following 19 variables: Controller.satLOW:DISCRETE(fixed = false ) "The CS signal saturated at CSmin" type: Boolean Controller.satHI:DISCRETE(fixed = false ) "The CS signal saturated at CSmax" type: Boolean Controller.cs:DISCRETE(fixed = false protected = true ) type: Real Controller.dcs:DISCRETE(fixed = false protected = true ) type: Real Controller.dd:DISCRETE(fixed = false protected = true ) type: Real Controller.d:DISCRETE(fixed = false protected = true ) type: Real Controller.di:DISCRETE(fixed = false protected = true ) type: Real Controller.dp:DISCRETE(fixed = false protected = true ) type: Real Controller.dpv:DISCRETE(fixed = false protected = true ) type: Real Controller.dsp:DISCRETE(fixed = false protected = true ) type: Real Controller.pv:DISCRETE(fixed = false protected = true ) type: Real Controller.sp:DISCRETE(fixed = false protected = true ) type: Real Process.w:VARIABLE(protected = true ) "proper part of the output" type: Real Controller.CS:DISCRETE(fixed = false ) "Control signal" type: Real Process.Y[3]:VARIABLE(protected = true ) type: Real [3] Process.U[2]:VARIABLE(protected = true ) type: Real [2] ProcessNoControl.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessNoControl.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessNoControl.U[2]:VARIABLE(protected = true ) type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.Controller.satLOW,Controller.satLOW,$PRE.Controller.satHI,Controller.satHI,$PRE.Controller.cs,Controller.cs,$PRE.Controller.dcs,Controller.dcs,$PRE.Controller.dd,Controller.dd,$PRE.Controller.d,Controller.d,$PRE.Controller.di,Controller.di,$PRE.Controller.dp,Controller.dp,$PRE.Controller.dpv,Controller.dpv,$PRE.Controller.dsp,Controller.dsp,$PRE.Controller.pv,Controller.pv,$PRE.Controller.sp,Controller.sp,$whenCondition7,$PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.ForbinINC.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.ForbinDEC.combiTimeTable.nextTimeEvent,$whenCondition4,$PRE.man.combiTimeTable.nextTimeEvent,$whenCondition3,deltaCS.a,deltaCS.b,deltaCS.last,$PRE.deltaCS.nextEvent,deltaCS.nextEvent,deltaCS.nextEventScaled,Controller.MAN,man.combiTimeTable.nextTimeEvent,$PRE.man.combiTimeTable.nextTimeEventScaled,man.combiTimeTable.nextTimeEventScaled,Controller.Fdec,ForbinDEC.combiTimeTable.nextTimeEvent,$PRE.ForbinDEC.combiTimeTable.nextTimeEventScaled,ForbinDEC.combiTimeTable.nextTimeEventScaled,Controller.Finc,ForbinINC.combiTimeTable.nextTimeEvent,$PRE.ForbinINC.combiTimeTable.nextTimeEventScaled,ForbinINC.combiTimeTable.nextTimeEventScaled,$whenCondition2,TrackRef.a,TrackRef.b,TrackRef.last,$PRE.TrackRef.nextEvent,TrackRef.nextEvent,TrackRef.nextEventScaled,Controller.TS,TSsignal.combiTimeTable.nextTimeEvent,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEventScaled,$PRE.Controller.CS,Controller.CS,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 3 * 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.0005332/0.6119, allocations: 326.2 kB / 450.8 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002899/0.6122, allocations: 98.88 kB / 450.9 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/0.6149, allocations: 1.122 MB / 452 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.615, allocations: 4 kB / 452 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.689e-06/0.615, allocations: 0 / 452 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.6151, allocations: 0 / 452 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.6165, allocations: 0.7245 MB / 452.7 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.333e-06/0.6165, allocations: 0 / 452.7 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004904/0.617, allocations: 63.41 kB / 452.8 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/0.6171, allocations: 4 kB / 452.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/0.6172, allocations: 30.84 kB / 452.8 MB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.842e-06/0.6172, allocations: 0 / 452.8 MB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.125e-06/0.6172, allocations: 0 / 452.8 MB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003574/0.6208, allocations: 1.548 MB / 454.4 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/0.6213, allocations: 191.9 kB / 454.6 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/0.6216, allocations: 35.94 kB / 454.6 MB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005822/0.6222, allocations: 55.95 kB / 454.7 MB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.6224, allocations: 39.94 kB / 454.7 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.6225, allocations: 48.09 kB / 454.8 MB, free: 11.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001222/0.6238, allocations: 0.6006 MB / 455.4 MB, free: 11.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.47e-07/0.6238, allocations: 0 / 455.4 MB, free: 11.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001236/0.625, allocations: 243.7 kB / 455.6 MB, free: 10.88 MB / 378.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,ProcessNoControl.Y[3],ProcessNoControl.U[2],ProcessNoControl.w) * Number of discrete variables: 42 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,Controller.CS,Controller.satHI,Controller.satLOW,Controller.sp,Controller.dsp,Controller.pv,Controller.dpv,Controller.dp,Controller.di,Controller.d,Controller.dd,Controller.cs,Controller.dcs,Controller.TS,Controller.MAN,Controller.Finc,Controller.Fdec,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,TrackRef.nextEvent,TrackRef.nextEventScaled,ForbinINC.combiTimeTable.nextTimeEvent,ForbinINC.combiTimeTable.nextTimeEventScaled,ForbinDEC.combiTimeTable.nextTimeEvent,ForbinDEC.combiTimeTable.nextTimeEventScaled,man.combiTimeTable.nextTimeEvent,man.combiTimeTable.nextTimeEventScaled,deltaCS.a,deltaCS.b,deltaCS.last,deltaCS.nextEvent,deltaCS.nextEventScaled) * Number of discrete states: 35 (Controller.CS,Controller.satLOW,Controller.satHI,Controller.cs,Controller.dcs,Controller.dd,Controller.d,Controller.di,Controller.dp,Controller.dpv,Controller.dsp,Controller.pv,Controller.sp,$whenCondition1,Controller.bias,TrackRef.nextEvent,TrackRef.last,TrackRef.nextEventScaled,TrackRef.b,TrackRef.a,$whenCondition2,deltaCS.nextEvent,deltaCS.last,deltaCS.nextEventScaled,deltaCS.b,deltaCS.a,$whenCondition3,man.combiTimeTable.nextTimeEvent,ForbinDEC.combiTimeTable.nextTimeEvent,ForbinINC.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEvent,man.combiTimeTable.nextTimeEventScaled,ForbinDEC.combiTimeTable.nextTimeEventScaled,ForbinINC.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 8 * 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.001879/0.6269, allocations: 0.5151 MB / 456.1 MB, free: 10.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001881/0.6288, allocations: 0.8412 MB / 456.9 MB, free: 9.543 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.6289, allocations: 1.312 kB / 457 MB, free: 9.543 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.6303, allocations: 1.026 MB / 458 MB, free: 8.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.6314, allocations: 154.6 kB / 458.1 MB, free: 8.336 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.6346, allocations: 1.237 MB / 459.4 MB, free: 7.062 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009101/0.6356, allocations: 1.02 MB / 460.4 MB, free: 6.012 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006193/0.6362, allocations: 129.9 kB / 460.5 MB, free: 5.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.6365, allocations: 59.42 kB / 460.6 MB, free: 5.824 MB / 378.7 MB Notification: Performance of SimCode: time 1.958e-06/0.6365, allocations: 0 / 460.6 MB, free: 5.824 MB / 378.7 MB Notification: Performance of Templates: time 0.02872/0.6652, allocations: 10.04 MB / 470.6 MB, free: 11.82 MB / 394.7 MB