Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPI_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_tracking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.154/2.154, allocations: 216.9 MB / 229 MB, free: 15.1 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.667e-05/3.674e-05, allocations: 5.25 kB / 282 MB, free: 10.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1128, allocations: 50 MB / 332 MB, free: 8.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4398/0.5528, allocations: 84.02 MB / 416 MB, free: 12.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000344/0.5532, allocations: 78.2 kB / 416.1 MB, free: 12.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08598/0.6392, allocations: 17.6 MB / 433.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6392, allocations: 0 / 433.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001026/0.6393, allocations: 28.14 kB / 433.7 MB, free: 13.21 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.002877/0.6422, allocations: 1.032 MB / 434.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.6423, allocations: 12.03 kB / 434.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000257/0.6426, allocations: 89.64 kB / 434.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00033/0.6429, allocations: 98.81 kB / 434.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/0.6452, allocations: 0.6207 MB / 435.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.239e-05/0.6453, allocations: 35.69 kB / 435.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.6455, allocations: 51.03 kB / 435.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.6471, allocations: 0.6296 MB / 436.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.949e-05/0.6471, allocations: 4 kB / 436.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.191e-05/0.6472, allocations: 19.62 kB / 436.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.6473, allocations: 12 kB / 436.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.6485, allocations: 428.7 kB / 436.7 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005766/0.6543, allocations: 2.217 MB / 438.9 MB, free: 8.551 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.6555, allocations: 347.4 kB / 439.3 MB, free: 8.297 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005647/0.656, allocations: 232.2 kB / 439.5 MB, free: 8.145 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.047e-05/0.6561, allocations: 4 kB / 439.5 MB, free: 8.141 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008435/0.657, allocations: 376.6 kB / 439.9 MB, free: 7.824 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 4.298e-06/0.657, allocations: 0 / 439.9 MB, free: 7.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=53): time 0.00199/0.659, allocations: 0.7037 MB / 440.6 MB, free: 7.227 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.6591, allocations: 162.2 kB / 440.7 MB, free: 7.031 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/0.6606, allocations: 0.6781 MB / 441.4 MB, free: 6.492 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001669/0.6609, allocations: 37.2 kB / 441.5 MB, free: 6.457 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/0.6613, allocations: 368.4 kB / 441.8 MB, free: 6.238 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.6616, allocations: 174.5 kB / 442 MB, free: 6.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.6616, allocations: 12.88 kB / 442 MB, free: 6.086 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.6618, allocations: 351.4 kB / 442.3 MB, free: 5.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006024/0.6624, allocations: 208.2 kB / 442.5 MB, free: 5.605 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007375/0.6632, allocations: 392.3 kB / 442.9 MB, free: 5.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007873/0.664, allocations: 320.8 kB / 443.2 MB, free: 4.984 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.664, allocations: 4 kB / 443.2 MB, free: 4.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002347/0.6664, allocations: 0.8766 MB / 444.1 MB, free: 4.254 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.314e-05/0.6665, allocations: 70.7 kB / 444.2 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.6666, allocations: 4 kB / 444.2 MB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/0.6666, allocations: 8 kB / 444.2 MB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.6681, allocations: 171.4 kB / 444.4 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-05/0.6681, allocations: 19.88 kB / 444.4 MB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007728/0.6689, allocations: 86.06 kB / 444.5 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.669, allocations: 31 kB / 444.5 MB, free: 3.883 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.0003829/0.6694, allocations: 234 kB / 444.7 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.6697, allocations: 90.38 kB / 444.8 MB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/0.6719, allocations: 0.8184 MB / 445.6 MB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.6719, allocations: 8 kB / 445.6 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.6719, allocations: 0 / 445.6 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.6719, allocations: 3.984 kB / 445.7 MB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.6731, allocations: 0.6351 MB / 446.3 MB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.6731, allocations: 0 / 446.3 MB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/0.6747, allocations: 135.1 kB / 446.4 MB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/0.6748, allocations: 3.984 kB / 446.4 MB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-05/0.6749, allocations: 30.48 kB / 446.5 MB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.6749, allocations: 0 / 446.5 MB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.6749, allocations: 4 kB / 446.5 MB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.6776, allocations: 1.118 MB / 447.6 MB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.6779, allocations: 171 kB / 447.7 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/0.6781, allocations: 22.62 kB / 447.8 MB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005132/0.6786, allocations: 34.66 kB / 447.8 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.6787, allocations: 42.58 kB / 447.8 MB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.513e-05/0.6788, allocations: 30.47 kB / 447.9 MB, free: 1.027 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00108/0.6799, allocations: 0.5228 MB / 448.4 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.68, allocations: 0 / 448.4 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001091/0.6811, allocations: 202.9 kB / 448.6 MB, free: 460 kB / 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.004201/0.6853, allocations: 1.992 MB / 450.6 MB, free: 14.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.6869, allocations: 0.7104 MB / 451.3 MB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6869, allocations: 8.188 kB / 451.3 MB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007577/0.6877, allocations: 425.2 kB / 451.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009498/0.6887, allocations: 116.1 kB / 451.8 MB, free: 13.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.6924, allocations: 1.382 MB / 453.2 MB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008088/0.6932, allocations: 0.9987 MB / 454.2 MB, free: 11.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000699/0.6939, allocations: 137.1 kB / 454.3 MB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00051/0.6945, allocations: 282 kB / 454.6 MB, free: 11.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6945, allocations: 0 / 454.6 MB, free: 11.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05515/0.7496, allocations: 14.67 MB / 469.3 MB, free: 12.68 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000362/0.7501, allocations: 230.8 kB / 469.5 MB, free: 12.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.906/3.656, allocations: 0 / 469.5 MB, free: 12.45 MB / 394.7 MB