Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_tracking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.255/2.255, allocations: 216.8 MB / 229 MB, free: 15.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.687e-05/3.691e-05, allocations: 0 / 282 MB, free: 10.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1151, allocations: 50 MB / 332 MB, free: 8.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4482/0.5634, allocations: 83.75 MB / 415.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.5638, allocations: 82.77 kB / 415.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04774/0.6115, allocations: 10.45 MB / 426.3 MB, free: 3.539 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6116, allocations: 0 / 426.3 MB, free: 3.539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.139e-05/0.6116, allocations: 23.98 kB / 426.3 MB, free: 3.516 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.001738/0.6134, allocations: 0.7496 MB / 427 MB, free: 2.738 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.6135, allocations: 12.02 kB / 427 MB, free: 2.727 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.6136, allocations: 65.69 kB / 427.1 MB, free: 2.668 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.6137, allocations: 51.34 kB / 427.2 MB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.6151, allocations: 446.9 kB / 427.6 MB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.6152, allocations: 79.41 kB / 427.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.6154, allocations: 37.11 kB / 427.7 MB, free: 2.074 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009464/0.6163, allocations: 396.2 kB / 428.1 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.6164, allocations: 0 / 428.1 MB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.738e-05/0.6164, allocations: 26.06 kB / 428.1 MB, free: 1.734 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.6165, allocations: 11.98 kB / 428.1 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007232/0.6172, allocations: 250.9 kB / 428.4 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004035/0.6212, allocations: 1.502 MB / 429.9 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00067/0.622, allocations: 195.5 kB / 430.1 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/0.6223, allocations: 126.1 kB / 430.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.6224, allocations: 4.188 kB / 430.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000502/0.6229, allocations: 219.9 kB / 430.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 3.938e-06/0.6229, allocations: 4 kB / 430.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.001112/0.624, allocations: 387.9 kB / 430.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.899e-05/0.6242, allocations: 114.9 kB / 430.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007875/0.625, allocations: 434.6 kB / 431.3 MB, free: 14.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.194e-05/0.625, allocations: 29.64 kB / 431.4 MB, free: 14.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.6253, allocations: 252.8 kB / 431.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.6254, allocations: 89.73 kB / 431.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.6254, allocations: 7.875 kB / 431.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.6256, allocations: 366.5 kB / 432.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.6259, allocations: 115.2 kB / 432.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/0.6264, allocations: 234.3 kB / 432.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.6268, allocations: 180 kB / 432.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6268, allocations: 0 / 432.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001209/0.628, allocations: 0.5061 MB / 433.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.789e-05/0.6281, allocations: 37.69 kB / 433.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.6281, allocations: 4 kB / 433.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.6282, allocations: 4 kB / 433.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.6293, allocations: 91.7 kB / 433.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.981e-05/0.6293, allocations: 11.94 kB / 433.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.6298, allocations: 43.39 kB / 433.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-05/0.6299, allocations: 27.89 kB / 433.3 MB, free: 13.25 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 (45): * Single equations (assignments): 44 * 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.0002845/0.6302, allocations: 171.1 kB / 433.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.6303, allocations: 51.42 kB / 433.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.6316, allocations: 455.6 kB / 434 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.6316, allocations: 0 / 434 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.6317, allocations: 4 kB / 434 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.6317, allocations: 3.938 kB / 434 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006961/0.6324, allocations: 436.5 kB / 434.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.6324, allocations: 0 / 434.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/0.6336, allocations: 63.95 kB / 434.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.6336, allocations: 3.984 kB / 434.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.426e-05/0.6337, allocations: 21.86 kB / 434.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.6337, allocations: 4 kB / 434.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.6337, allocations: 0 / 434.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.6352, allocations: 0.6171 MB / 435.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.6354, allocations: 127.9 kB / 435.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.6355, allocations: 15.05 kB / 435.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003107/0.6359, allocations: 19.8 kB / 435.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.697e-05/0.636, allocations: 19.91 kB / 435.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.702e-05/0.636, allocations: 12 kB / 435.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006276/0.6367, allocations: 335.9 kB / 435.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6367, allocations: 0 / 435.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007183/0.6374, allocations: 122 kB / 435.7 MB, free: 11.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (R.Iout,R_track.Iout,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 (25): * Single equations (assignments): 22 * 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.002979/0.6404, allocations: 1.45 MB / 437.2 MB, free: 9.844 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009826/0.6414, allocations: 392 kB / 437.6 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6415, allocations: 0 / 437.6 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.6419, allocations: 220.7 kB / 437.8 MB, free: 9.375 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006104/0.6425, allocations: 67.47 kB / 437.8 MB, free: 9.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.6447, allocations: 0.8297 MB / 438.7 MB, free: 8.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005832/0.6454, allocations: 0.8605 MB / 439.5 MB, free: 7.664 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004386/0.6458, allocations: 87.16 kB / 439.6 MB, free: 7.574 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/0.6462, allocations: 164.2 kB / 439.8 MB, free: 7.527 MB / 362.7 MB Notification: Performance of SimCode: time 1.914e-06/0.6462, allocations: 0 / 439.8 MB, free: 7.527 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04793/0.6941, allocations: 8.725 MB / 448.5 MB, free: 14.88 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004001/0.6946, allocations: 233.5 kB / 448.7 MB, free: 14.63 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.69/3.384, allocations: 0 / 448.7 MB, free: 14.63 MB / 378.7 MB