Running command: "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.testDelay,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_testDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.239/2.239, allocations: 216.8 MB / 229 MB, free: 15.11 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.637e-05/3.645e-05, allocations: 5.25 kB / 282 MB, free: 10.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1152, allocations: 49.99 MB / 332 MB, free: 8.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4419/0.5572, allocations: 77.91 MB / 409.9 MB, free: 2.602 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003702/0.5577, allocations: 78.89 kB / 410 MB, free: 2.559 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01448/0.5722, allocations: 2.304 MB / 412.3 MB, free: 0.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5723, allocations: 3.938 kB / 412.3 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.063e-05/0.5723, allocations: 4 kB / 412.3 MB, free: 0.5742 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008842/0.5732, allocations: 0.4912 MB / 412.8 MB, free: 44 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.384e-05/0.5733, allocations: 12.69 kB / 412.8 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.5734, allocations: 42.05 kB / 412.8 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.848e-05/0.5735, allocations: 19.77 kB / 412.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.5739, allocations: 200 kB / 413 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.5739, allocations: 4 kB / 413 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.574, allocations: 11.5 kB / 413.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004424/0.5745, allocations: 145.2 kB / 413.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.5745, allocations: 0 / 413.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.5745, allocations: 7.375 kB / 413.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.5746, allocations: 0 / 413.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.5748, allocations: 67.86 kB / 413.3 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.5758, allocations: 497.4 kB / 413.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.5762, allocations: 119.2 kB / 413.9 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.5765, allocations: 109.1 kB / 414 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.5766, allocations: 0 / 414 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005263/0.5771, allocations: 211.4 kB / 414.2 MB, free: 14.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 3.768e-06/0.5771, allocations: 0 / 414.2 MB, free: 14.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009275/0.5781, allocations: 306.1 kB / 414.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002381/0.5783, allocations: 228.5 kB / 414.7 MB, free: 14.15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.5786, allocations: 129.6 kB / 414.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.466e-05/0.5787, allocations: 41.2 kB / 414.9 MB, free: 13.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.5788, allocations: 105.7 kB / 415 MB, free: 13.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.579, allocations: 66.06 kB / 415 MB, free: 13.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.5791, allocations: 7.062 kB / 415.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.5793, allocations: 335.5 kB / 415.4 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.5796, allocations: 67.77 kB / 415.4 MB, free: 13.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005704/0.5802, allocations: 244.5 kB / 415.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000531/0.5808, allocations: 172.6 kB / 415.9 MB, free: 13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.5808, allocations: 0 / 415.9 MB, free: 13 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00157/0.5824, allocations: 499.6 kB / 416.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.389e-05/0.5825, allocations: 67.39 kB / 416.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.5825, allocations: 4 kB / 416.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.289e-05/0.5826, allocations: 12 kB / 416.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005546/0.5832, allocations: 63.16 kB / 416.5 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.88e-05/0.5832, allocations: 8 kB / 416.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/0.5836, allocations: 30.19 kB / 416.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-05/0.5837, allocations: 23.17 kB / 416.5 MB, free: 12.39 MB / 346.7 MB Warning: Assuming fixed start value for the following 22 variables: multiStepsDelay.y:DISCRETE(fixed = false ) "output" type: Real multiStepsDelay.buffer[10]:DISCRETE(start = multiStepsDelay.y_start fixed = false protected = true ) type: Real [10] multiStepsDelay.buffer[9]:DISCRETE(start = multiStepsDelay.y_start fixed = false protected = true ) type: Real [10] multiStepsDelay.buffer[8]:DISCRETE(start = multiStepsDelay.y_start fixed = false protected = true ) type: Real [10] multiStepsDelay.buffer[7]:DISCRETE(start = multiStepsDelay.y_start fixed = false protected = true ) type: Real [10] multiStepsDelay.buffer[6]:DISCRETE(start = multiStepsDelay.y_start fixed = false protected = true ) type: Real [10] multiStepsDelay.buffer[5]:DISCRETE(start = multiStepsDelay.y_start fixed = false protected = true ) type: Real [10] multiStepsDelay.buffer[4]:DISCRETE(start = multiStepsDelay.y_start fixed = false protected = true ) type: Real [10] multiStepsDelay.buffer[3]:DISCRETE(start = multiStepsDelay.y_start fixed = false protected = true ) type: Real [10] multiStepsDelay.buffer[2]:DISCRETE(start = multiStepsDelay.y_start fixed = false protected = true ) type: Real [10] multiStepsDelay.buffer[1]:DISCRETE(start = multiStepsDelay.y_start fixed = false protected = true ) type: Real [10] multiStepsDelay_Init.y:DISCRETE(fixed = false ) "output" type: Real multiStepsDelay_Init.buffer[10]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = false protected = true ) type: Real [10] multiStepsDelay_Init.buffer[9]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = false protected = true ) type: Real [10] multiStepsDelay_Init.buffer[8]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = false protected = true ) type: Real [10] multiStepsDelay_Init.buffer[7]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = false protected = true ) type: Real [10] multiStepsDelay_Init.buffer[6]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = false protected = true ) type: Real [10] multiStepsDelay_Init.buffer[5]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = false protected = true ) type: Real [10] multiStepsDelay_Init.buffer[4]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = false protected = true ) type: Real [10] multiStepsDelay_Init.buffer[3]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = false protected = true ) type: Real [10] multiStepsDelay_Init.buffer[2]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = false protected = true ) type: Real [10] multiStepsDelay_Init.buffer[1]:DISCRETE(start = multiStepsDelay_Init.y_start fixed = false protected = true ) type: Real [10] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 46 ($PRE.multiStepsDelay.y,multiStepsDelay.y,$PRE.multiStepsDelay.buffer[10],multiStepsDelay.buffer[10],$PRE.multiStepsDelay.buffer[9],multiStepsDelay.buffer[9],$PRE.multiStepsDelay.buffer[8],multiStepsDelay.buffer[8],$PRE.multiStepsDelay.buffer[7],multiStepsDelay.buffer[7],$PRE.multiStepsDelay.buffer[6],multiStepsDelay.buffer[6],$PRE.multiStepsDelay.buffer[5],multiStepsDelay.buffer[5],$PRE.multiStepsDelay.buffer[4],multiStepsDelay.buffer[4],$PRE.multiStepsDelay.buffer[3],multiStepsDelay.buffer[3],$PRE.multiStepsDelay.buffer[2],multiStepsDelay.buffer[2],$PRE.multiStepsDelay.buffer[1],multiStepsDelay.buffer[1],$PRE.multiStepsDelay_Init.y,multiStepsDelay_Init.y,$PRE.multiStepsDelay_Init.buffer[10],multiStepsDelay_Init.buffer[10],$PRE.multiStepsDelay_Init.buffer[9],multiStepsDelay_Init.buffer[9],$PRE.multiStepsDelay_Init.buffer[8],multiStepsDelay_Init.buffer[8],$PRE.multiStepsDelay_Init.buffer[7],multiStepsDelay_Init.buffer[7],$PRE.multiStepsDelay_Init.buffer[6],multiStepsDelay_Init.buffer[6],$PRE.multiStepsDelay_Init.buffer[5],multiStepsDelay_Init.buffer[5],$PRE.multiStepsDelay_Init.buffer[4],multiStepsDelay_Init.buffer[4],$PRE.multiStepsDelay_Init.buffer[3],multiStepsDelay_Init.buffer[3],$PRE.multiStepsDelay_Init.buffer[2],multiStepsDelay_Init.buffer[2],$PRE.multiStepsDelay_Init.buffer[1],multiStepsDelay_Init.buffer[1],$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 48 * 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.000734/0.5845, allocations: 344.9 kB / 416.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-05/0.5846, allocations: 22.94 kB / 416.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.298e-05/0.5846, allocations: 12.69 kB / 416.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.5847, allocations: 4 kB / 416.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.5847, allocations: 0 / 416.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5847, allocations: 0 / 416.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.5851, allocations: 240.4 kB / 417.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.5851, allocations: 0 / 417.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.5853, allocations: 8 kB / 417.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.5853, allocations: 0 / 417.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-05/0.5853, allocations: 19.05 kB / 417.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.5854, allocations: 3.953 kB / 417.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5854, allocations: 4 kB / 417.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.5868, allocations: 0.5276 MB / 417.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.5869, allocations: 92.86 kB / 417.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.5871, allocations: 49.34 kB / 417.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.5873, allocations: 8 kB / 417.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.328e-05/0.5874, allocations: 15.31 kB / 417.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/0.5875, allocations: 12 kB / 417.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001197/0.5876, allocations: 97.45 kB / 418 MB, free: 10.99 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.5877, allocations: 0 / 418 MB, free: 10.99 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007776/0.5884, allocations: 57.81 kB / 418 MB, free: 10.94 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,multiStepsDelay.y,multiStepsDelay.buffer[1],multiStepsDelay.buffer[2],multiStepsDelay.buffer[3],multiStepsDelay.buffer[4],multiStepsDelay.buffer[5],multiStepsDelay.buffer[6],multiStepsDelay.buffer[7],multiStepsDelay.buffer[8],multiStepsDelay.buffer[9],multiStepsDelay.buffer[10],multiStepsDelay_Init.y,multiStepsDelay_Init.buffer[1],multiStepsDelay_Init.buffer[2],multiStepsDelay_Init.buffer[3],multiStepsDelay_Init.buffer[4],multiStepsDelay_Init.buffer[5],multiStepsDelay_Init.buffer[6],multiStepsDelay_Init.buffer[7],multiStepsDelay_Init.buffer[8],multiStepsDelay_Init.buffer[9],multiStepsDelay_Init.buffer[10]) * Number of discrete states: 27 (multiStepsDelay_Init.y,multiStepsDelay_Init.buffer[10],multiStepsDelay_Init.buffer[9],multiStepsDelay_Init.buffer[8],multiStepsDelay_Init.buffer[7],multiStepsDelay_Init.buffer[6],multiStepsDelay_Init.buffer[5],multiStepsDelay_Init.buffer[4],multiStepsDelay_Init.buffer[3],multiStepsDelay_Init.buffer[2],multiStepsDelay_Init.buffer[1],$whenCondition1,i,multiStepsDelay_Init.buffer[-1 + i],multiStepsDelay.y,multiStepsDelay.buffer[10],multiStepsDelay.buffer[9],multiStepsDelay.buffer[8],multiStepsDelay.buffer[7],multiStepsDelay.buffer[6],multiStepsDelay.buffer[5],multiStepsDelay.buffer[4],multiStepsDelay.buffer[3],multiStepsDelay.buffer[2],multiStepsDelay.buffer[1],$whenCondition2,multiStepsDelay.buffer[-1 + i]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.001424/0.5899, allocations: 1.124 MB / 419.2 MB, free: 9.887 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008375/0.5908, allocations: 410 kB / 419.6 MB, free: 9.535 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.5908, allocations: 0 / 419.6 MB, free: 9.535 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006283/0.5914, allocations: 0.5279 MB / 420.1 MB, free: 9.176 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.5918, allocations: 45.59 kB / 420.1 MB, free: 9.141 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.5929, allocations: 314.4 kB / 420.4 MB, free: 8.84 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.5933, allocations: 0.7209 MB / 421.2 MB, free: 8.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.5934, allocations: 25.31 kB / 421.2 MB, free: 8.066 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.5935, allocations: 41.92 kB / 421.2 MB, free: 8.043 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5935, allocations: 0 / 421.2 MB, free: 8.043 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03376/0.6273, allocations: 3.957 MB / 425.2 MB, free: 4.168 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000348/0.6277, allocations: 166.2 kB / 425.3 MB, free: 3.949 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/3.114, allocations: 4 kB / 425.4 MB, free: 3.945 MB / 346.7 MB