Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.29/2.29, allocations: 216.8 MB / 229 MB, free: 15.12 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.687e-05/3.693e-05, allocations: 7.984 kB / 282 MB, free: 10.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1159, allocations: 49.99 MB / 332 MB, free: 8.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5274/0.6434, allocations: 79.22 MB / 411.2 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/0.6438, allocations: 79.14 kB / 411.3 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02423/0.668, allocations: 4.439 MB / 415.7 MB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6681, allocations: 0 / 415.7 MB, free: 13.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.553e-05/0.6681, allocations: 12 kB / 415.7 MB, free: 13.05 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001614/0.6698, allocations: 0.5643 MB / 416.3 MB, free: 12.44 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/0.6698, allocations: 11.97 kB / 416.3 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.67, allocations: 59.11 kB / 416.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.6701, allocations: 31.67 kB / 416.4 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009971/0.6711, allocations: 336.1 kB / 416.7 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.6713, allocations: 101.2 kB / 416.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.727e-05/0.6713, allocations: 14.56 kB / 416.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/0.6719, allocations: 198 kB / 417 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.6719, allocations: 4 kB / 417 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.672, allocations: 7.125 kB / 417 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.672, allocations: 4 kB / 417 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.6723, allocations: 100.1 kB / 417.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/0.6748, allocations: 0.7037 MB / 417.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.6752, allocations: 95 kB / 417.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.6754, allocations: 54.61 kB / 418 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.6754, allocations: 0 / 418 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003522/0.6758, allocations: 127.2 kB / 418.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.555e-06/0.6758, allocations: 0 / 418.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005547/0.6764, allocations: 163.2 kB / 418.3 MB, free: 10.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.6764, allocations: 59.39 kB / 418.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.6768, allocations: 206.9 kB / 418.5 MB, free: 10.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.6768, allocations: 32.58 kB / 418.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.677, allocations: 150.6 kB / 418.7 MB, free: 10.26 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.643e-05/0.6771, allocations: 46.11 kB / 418.8 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/0.6771, allocations: 10.75 kB / 418.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.6773, allocations: 336.5 kB / 419.1 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.6775, allocations: 53.69 kB / 419.2 MB, free: 9.855 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.6777, allocations: 89.42 kB / 419.2 MB, free: 9.781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.678, allocations: 74.94 kB / 419.3 MB, free: 9.719 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.678, allocations: 8 kB / 419.3 MB, free: 9.711 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006406/0.6786, allocations: 229.1 kB / 419.5 MB, free: 9.523 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.738e-05/0.6787, allocations: 40.53 kB / 419.6 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.6787, allocations: 0 / 419.6 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.6788, allocations: 4 kB / 419.6 MB, free: 9.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002473/0.6812, allocations: 123.9 kB / 419.7 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/0.684, allocations: 2.581 MB / 422.3 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/0.6846, allocations: 35.69 kB / 422.3 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.6847, allocations: 11.5 kB / 422.3 MB, free: 6.52 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,LLaw.TS,$PRE.TSsignal.pulseStart,TSsignal.pulseStart,$PRE.TrackRef.T_start,TrackRef.T_start,$PRE.TrackRef.count,TrackRef.count,LL.TS_in) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000162/0.6848, allocations: 123.3 kB / 422.5 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.6849, allocations: 19.72 kB / 422.5 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006506/0.6856, allocations: 217.7 kB / 422.7 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.6856, allocations: 0 / 422.7 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.6856, allocations: 3.938 kB / 422.7 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.6856, allocations: 0 / 422.7 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.6869, allocations: 0.5759 MB / 423.3 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.687, allocations: 0 / 423.3 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002207/0.6892, allocations: 115.7 kB / 423.4 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/0.6893, allocations: 4 kB / 423.4 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.589e-05/0.6893, allocations: 3.984 kB / 423.4 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.6893, allocations: 3.953 kB / 423.4 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.6893, allocations: 0 / 423.4 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008288/0.6902, allocations: 353.3 kB / 423.7 MB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.876e-05/0.6903, allocations: 104.8 kB / 423.8 MB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.6904, allocations: 7.125 kB / 423.8 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004737/0.6909, allocations: 34.97 kB / 423.9 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.691, allocations: 33.03 kB / 423.9 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.6911, allocations: 4 kB / 423.9 MB, free: 5.066 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002252/0.6913, allocations: 162 kB / 424.1 MB, free: 4.934 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6913, allocations: 0 / 424.1 MB, free: 4.934 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004897/0.6918, allocations: 43.38 kB / 424.1 MB, free: 4.895 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (LLaw.uF,LLtr.uF,LL.uF) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,LLaw.TS,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001251/0.6931, allocations: 0.9064 MB / 425 MB, free: 4.039 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.6943, allocations: 235.3 kB / 425.3 MB, free: 3.844 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6943, allocations: 0 / 425.3 MB, free: 3.844 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.6946, allocations: 72.5 kB / 425.3 MB, free: 3.793 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.6951, allocations: 26.55 kB / 425.4 MB, free: 3.777 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.6967, allocations: 408.8 kB / 425.7 MB, free: 3.387 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.6972, allocations: 0.7518 MB / 426.5 MB, free: 2.609 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002615/0.6974, allocations: 34.05 kB / 426.5 MB, free: 2.574 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.6976, allocations: 79.66 kB / 426.6 MB, free: 2.543 MB / 346.7 MB Notification: Performance of SimCode: time 1.633e-06/0.6977, allocations: 0 / 426.6 MB, free: 2.543 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/0.7284, allocations: 4.516 MB / 431.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000359/0.7288, allocations: 207.6 kB / 431.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.195, allocations: 0 / 431.3 MB, free: 13.9 MB / 362.7 MB