Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestP_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_tracking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.405/2.405, allocations: 216.8 MB / 229 MB, free: 15.12 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.622e-05/3.635e-05, allocations: 7.984 kB / 282 MB, free: 10.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1142, allocations: 50 MB / 332 MB, free: 8.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4571/0.5714, allocations: 83.38 MB / 415.4 MB, free: 12.85 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/0.5718, allocations: 83.25 kB / 415.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04737/0.6191, allocations: 10.21 MB / 425.7 MB, free: 4.141 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.6192, allocations: 4 kB / 425.7 MB, free: 4.137 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.563e-05/0.6193, allocations: 8 kB / 425.7 MB, free: 4.129 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.001585/0.6209, allocations: 0.7438 MB / 426.4 MB, free: 3.359 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.621, allocations: 8.031 kB / 426.4 MB, free: 3.352 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.6211, allocations: 73.48 kB / 426.5 MB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.6212, allocations: 55.34 kB / 426.5 MB, free: 3.234 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.6223, allocations: 424 kB / 427 MB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.976e-05/0.6224, allocations: 23.81 kB / 427 MB, free: 2.805 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.094e-05/0.6225, allocations: 31.44 kB / 427 MB, free: 2.781 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008752/0.6234, allocations: 385.4 kB / 427.4 MB, free: 2.461 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.6234, allocations: 3.688 kB / 427.4 MB, free: 2.461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/0.6235, allocations: 11.75 kB / 427.4 MB, free: 2.457 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.6235, allocations: 15.95 kB / 427.4 MB, free: 2.441 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006618/0.6242, allocations: 244.8 kB / 427.7 MB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003186/0.6274, allocations: 1.429 MB / 429.1 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007443/0.6282, allocations: 200.5 kB / 429.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.6285, allocations: 125.5 kB / 429.4 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.202e-05/0.6285, allocations: 4.188 kB / 429.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004899/0.629, allocations: 214.5 kB / 429.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 3.516e-06/0.6291, allocations: 4 kB / 429.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001036/0.6301, allocations: 378.3 kB / 430 MB, free: 224 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.142e-05/0.6302, allocations: 110.8 kB / 430.1 MB, free: 88 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008358/0.6311, allocations: 435.5 kB / 430.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.6311, allocations: 33.64 kB / 430.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/0.6314, allocations: 243.4 kB / 430.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.6316, allocations: 99.58 kB / 430.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.6316, allocations: 9.312 kB / 430.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.6318, allocations: 357.3 kB / 431.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/0.6321, allocations: 109.2 kB / 431.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.6325, allocations: 230.1 kB / 431.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/0.6329, allocations: 176.8 kB / 431.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.633, allocations: 0 / 431.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00118/0.6342, allocations: 493.2 kB / 432.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.73e-05/0.6342, allocations: 40.94 kB / 432.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.6343, allocations: 7.953 kB / 432.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.6343, allocations: 4.406 kB / 432.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/0.6349, allocations: 87.27 kB / 432.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.635, allocations: 8 kB / 432.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003684/0.6353, allocations: 39.48 kB / 432.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.527e-05/0.6354, allocations: 19.12 kB / 432.4 MB, free: 14.06 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.0002594/0.6357, allocations: 177.7 kB / 432.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.6358, allocations: 51.44 kB / 432.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.637, allocations: 456 kB / 433.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.637, allocations: 7.953 kB / 433.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.637, allocations: 0 / 433.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.637, allocations: 3.984 kB / 433.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006284/0.6377, allocations: 423.9 kB / 433.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.6377, allocations: 4 kB / 433.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00054/0.6382, allocations: 51.91 kB / 433.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.6383, allocations: 0 / 433.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/0.6383, allocations: 11.19 kB / 433.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.6383, allocations: 3.984 kB / 433.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.6384, allocations: 3.953 kB / 433.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.6398, allocations: 0.5956 MB / 434.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.6399, allocations: 127.8 kB / 434.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.6401, allocations: 18.81 kB / 434.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.6404, allocations: 18.86 kB / 434.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.564e-05/0.6405, allocations: 31.17 kB / 434.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/0.6405, allocations: 15.17 kB / 434.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005836/0.6411, allocations: 330.6 kB / 434.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6411, allocations: 0 / 434.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000653/0.6418, allocations: 111.8 kB / 434.8 MB, free: 11.96 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.002873/0.6447, allocations: 1.449 MB / 436.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009339/0.6457, allocations: 381.6 kB / 436.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6457, allocations: 0 / 436.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004047/0.6461, allocations: 224.1 kB / 436.9 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000583/0.6467, allocations: 57.61 kB / 436.9 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.6488, allocations: 0.7952 MB / 437.7 MB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.6494, allocations: 0.8609 MB / 438.6 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003679/0.6498, allocations: 83.14 kB / 438.7 MB, free: 8.461 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.6501, allocations: 160.6 kB / 438.8 MB, free: 8.414 MB / 362.7 MB Notification: Performance of SimCode: time 1.193e-06/0.6501, allocations: 0 / 438.8 MB, free: 8.414 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04224/0.6923, allocations: 8.618 MB / 447.4 MB, free: 15.87 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004262/0.6928, allocations: 222.3 kB / 447.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.633/3.326, allocations: 0 / 447.7 MB, free: 15.64 MB / 378.7 MB