Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestD_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_tracking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.146/2.146, allocations: 216.8 MB / 229 MB, free: 15.12 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.284e-05/3.284e-05, allocations: 4 kB / 282 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1128, allocations: 50 MB / 332 MB, free: 8.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4412/0.5541, allocations: 83.69 MB / 415.7 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.5544, allocations: 83.84 kB / 415.8 MB, free: 12.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04983/0.6043, allocations: 10.66 MB / 426.4 MB, free: 3.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6043, allocations: 4 kB / 426.4 MB, free: 3.449 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.697e-05/0.6044, allocations: 11.94 kB / 426.4 MB, free: 3.438 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001892/0.6063, allocations: 0.7764 MB / 427.2 MB, free: 2.641 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.6064, allocations: 12.03 kB / 427.2 MB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/0.6065, allocations: 71.92 kB / 427.3 MB, free: 2.566 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.6067, allocations: 59.25 kB / 427.3 MB, free: 2.508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.608, allocations: 463.9 kB / 427.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.534e-05/0.6081, allocations: 19.91 kB / 427.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.6082, allocations: 41.47 kB / 427.9 MB, free: 2.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.6093, allocations: 441 kB / 428.3 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.6093, allocations: 4 kB / 428.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.6094, allocations: 17.77 kB / 428.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.6094, allocations: 8 kB / 428.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000864/0.6103, allocations: 295.1 kB / 428.6 MB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004119/0.6144, allocations: 1.603 MB / 430.2 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006281/0.6151, allocations: 231.2 kB / 430.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/0.6155, allocations: 142 kB / 430.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.563e-05/0.6156, allocations: 12.05 kB / 430.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005716/0.6161, allocations: 237.4 kB / 430.8 MB, free: 15.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 3.577e-06/0.6162, allocations: 0 / 430.8 MB, free: 15.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001218/0.6174, allocations: 445.2 kB / 431.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.005e-05/0.6175, allocations: 107 kB / 431.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009736/0.6185, allocations: 470.9 kB / 431.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.493e-05/0.6186, allocations: 33.58 kB / 431.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.6189, allocations: 275.8 kB / 432.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.6191, allocations: 117.5 kB / 432.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.6191, allocations: 3.875 kB / 432.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.6193, allocations: 374.3 kB / 432.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/0.6197, allocations: 143 kB / 432.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005064/0.6202, allocations: 277.7 kB / 433 MB, free: 13.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005266/0.6208, allocations: 224.4 kB / 433.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.6208, allocations: 4 kB / 433.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001554/0.6224, allocations: 0.6053 MB / 433.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.937e-05/0.6225, allocations: 44.59 kB / 433.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.6225, allocations: 4 kB / 433.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/0.6225, allocations: 8 kB / 433.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008954/0.6234, allocations: 111.8 kB / 434 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.199e-05/0.6235, allocations: 8 kB / 434 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/0.624, allocations: 55.33 kB / 434.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/0.6241, allocations: 27.89 kB / 434.1 MB, free: 12.69 MB / 362.7 MB Warning: Assuming fixed start value for the following 10 variables: processTrack.w:VARIABLE(protected = true ) "proper part of the output" type: Real processTrack.U[3]:VARIABLE(protected = true ) type: Real [3] processTrack.U[2]:VARIABLE(protected = true ) type: Real [3] processTrack.Y[4]:VARIABLE(protected = true ) type: Real [4] process.Y[3]:VARIABLE(protected = true ) type: Real [4] process.Y[4]:VARIABLE(protected = true ) type: Real [4] process.U[2]:VARIABLE(protected = true ) type: Real [3] process.U[3]:VARIABLE(protected = true ) type: Real [3] process.w:VARIABLE(protected = true ) "proper part of the output" type: Real processTrack.Y[3]:VARIABLE(protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (59): * Single equations (assignments): 58 * 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.0003138/0.6244, allocations: 183.7 kB / 434.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.6246, allocations: 55.34 kB / 434.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.626, allocations: 0.5001 MB / 434.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.6261, allocations: 4 kB / 434.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6261, allocations: 3.938 kB / 434.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.6261, allocations: 0 / 434.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008253/0.6269, allocations: 475.2 kB / 435.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.6269, allocations: 0 / 435.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008995/0.6278, allocations: 67.95 kB / 435.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.6279, allocations: 3.938 kB / 435.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.922e-05/0.628, allocations: 19.05 kB / 435.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.628, allocations: 4 kB / 435.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.628, allocations: 0 / 435.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.6297, allocations: 0.6765 MB / 436.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.6299, allocations: 128 kB / 436.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.63, allocations: 18.55 kB / 436.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.6304, allocations: 19.11 kB / 436.2 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.6305, allocations: 23.53 kB / 436.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.729e-05/0.6305, allocations: 14.81 kB / 436.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006738/0.6312, allocations: 361 kB / 436.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6312, allocations: 0 / 436.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007681/0.632, allocations: 132.2 kB / 436.7 MB, free: 10.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (R.Fin,R_track.Fin,process.Y[3],process.Y[4],process.U[2],process.U[3],process.w,processTrack.Y[3],processTrack.Y[4],processTrack.U[2],processTrack.U[3],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 (31): * Single equations (assignments): 28 * 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.003136/0.6352, allocations: 1.531 MB / 438.3 MB, free: 9.051 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.6364, allocations: 462.5 kB / 438.7 MB, free: 8.703 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6364, allocations: 0 / 438.7 MB, free: 8.703 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004696/0.6369, allocations: 253.4 kB / 439 MB, free: 8.504 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006445/0.6376, allocations: 69.8 kB / 439 MB, free: 8.457 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.6401, allocations: 0.9738 MB / 440 MB, free: 7.551 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005956/0.6408, allocations: 0.8869 MB / 440.9 MB, free: 6.645 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005073/0.6413, allocations: 99.38 kB / 441 MB, free: 6.543 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003226/0.6416, allocations: 174.6 kB / 441.2 MB, free: 6.492 MB / 362.7 MB Notification: Performance of SimCode: time 1.021e-06/0.6417, allocations: 0 / 441.2 MB, free: 6.492 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04933/0.691, allocations: 9.608 MB / 450.8 MB, free: 12.95 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003939/0.6915, allocations: 209.7 kB / 451 MB, free: 12.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.81/3.502, allocations: 0 / 451 MB, free: 12.73 MB / 378.7 MB