Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.057/2.057, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.137e-05/4.147e-05, allocations: 4 kB / 269.4 MB, free: 6.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0987/0.09878, allocations: 47.58 MB / 317 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3998/0.4987, allocations: 80.76 MB / 397.8 MB, free: 6.891 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.499, allocations: 64.84 kB / 397.8 MB, free: 6.859 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04852/0.5475, allocations: 13.37 MB / 411.2 MB, free: 11.44 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5476, allocations: 0 / 411.2 MB, free: 11.44 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.213e-05/0.5476, allocations: 12 kB / 411.2 MB, free: 11.43 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001697/0.5493, allocations: 1.031 MB / 412.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.5494, allocations: 8.031 kB / 412.3 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001566/0.5496, allocations: 52.11 kB / 412.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.5498, allocations: 98.83 kB / 412.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008808/0.5507, allocations: 414.8 kB / 412.8 MB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.511e-05/0.5508, allocations: 15.75 kB / 412.8 MB, free: 9.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.48e-05/0.5509, allocations: 12 kB / 412.8 MB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008538/0.5518, allocations: 348.4 kB / 413.2 MB, free: 9.457 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.5518, allocations: 4 kB / 413.2 MB, free: 9.453 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.31e-05/0.5519, allocations: 15.81 kB / 413.2 MB, free: 9.441 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.5519, allocations: 3.953 kB / 413.2 MB, free: 9.438 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005194/0.5524, allocations: 196.5 kB / 413.4 MB, free: 9.301 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.5545, allocations: 0.9516 MB / 414.3 MB, free: 8.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007038/0.5553, allocations: 299 kB / 414.6 MB, free: 8.203 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000555/0.5558, allocations: 266.1 kB / 414.9 MB, free: 8.027 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.5559, allocations: 3.938 kB / 414.9 MB, free: 8.023 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009994/0.5569, allocations: 0.5705 MB / 415.5 MB, free: 7.473 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 2.735e-06/0.5569, allocations: 7.938 kB / 415.5 MB, free: 7.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.002131/0.5591, allocations: 0.8862 MB / 416.4 MB, free: 6.688 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001897/0.5593, allocations: 276.9 kB / 416.6 MB, free: 6.359 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003254/0.5626, allocations: 1.272 MB / 417.9 MB, free: 5.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.5628, allocations: 41.06 kB / 417.9 MB, free: 5.227 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.5629, allocations: 120.7 kB / 418.1 MB, free: 5.121 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.5631, allocations: 68.25 kB / 418.1 MB, free: 5.062 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.5632, allocations: 7.062 kB / 418.1 MB, free: 5.059 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5633, allocations: 340.4 kB / 418.5 MB, free: 4.727 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.5638, allocations: 199.3 kB / 418.7 MB, free: 4.598 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000522/0.5644, allocations: 238.2 kB / 418.9 MB, free: 4.426 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005557/0.5649, allocations: 352.9 kB / 419.2 MB, free: 4.102 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.565, allocations: 0 / 419.2 MB, free: 4.102 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001889/0.5669, allocations: 0.8295 MB / 420.1 MB, free: 3.391 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001774/0.5671, allocations: 185.3 kB / 420.2 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.5671, allocations: 3.938 kB / 420.3 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.5671, allocations: 8 kB / 420.3 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.146e-05/0.5672, allocations: 192 / 420.3 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.5672, allocations: 7.984 kB / 420.3 MB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005904/0.5678, allocations: 35.08 kB / 420.3 MB, free: 3.129 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/0.568, allocations: 99.73 kB / 420.4 MB, free: 3.035 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition5,$whenCondition6,$PRE.delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].x,$PRE.delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y,$whenCondition3,$whenCondition4,$PRE.delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].x,$PRE.delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition1,$whenCondition2,$PRE.delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].x,$PRE.delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 6 * 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.0004155/0.5684, allocations: 346.7 kB / 420.7 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.5686, allocations: 102.8 kB / 420.8 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006094/0.5692, allocations: 198.8 kB / 421 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5693, allocations: 3.938 kB / 421 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.5693, allocations: 4 kB / 421 MB, free: 2.375 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.5693, allocations: 3.984 kB / 421 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003588/0.5729, allocations: 1.829 MB / 422.9 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5729, allocations: 0 / 422.9 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.573, allocations: 0 / 422.9 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.573, allocations: 11.94 kB / 422.9 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.413e-05/0.5731, allocations: 35.47 kB / 422.9 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.5731, allocations: 0 / 422.9 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5731, allocations: 0 / 422.9 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.5755, allocations: 1.266 MB / 424.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00169/0.5772, allocations: 0.5932 MB / 424.8 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002476/0.5775, allocations: 53.58 kB / 424.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007812/0.5783, allocations: 39.66 kB / 424.9 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003232/0.5786, allocations: 84.25 kB / 425 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/0.5788, allocations: 99.53 kB / 425.1 MB, free: 14.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002568/0.5814, allocations: 1.063 MB / 426.1 MB, free: 13.94 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.899e-06/0.5815, allocations: 0 / 426.1 MB, free: 13.94 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008804/0.5823, allocations: 115.7 kB / 426.2 MB, free: 13.83 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition1,$whenCondition2,delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y,$whenCondition3,$whenCondition4,delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition5,$whenCondition6,delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y) * Number of discrete states: 30 (table2.y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].t_next,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].y_old,$whenCondition6,$whenCondition5,delay.inertialDelaySensitive[3].x,table1.y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].t_next,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,delay.inertialDelaySensitive[2].x,table.y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].t_next,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 6 * 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.003111/0.5855, allocations: 2.024 MB / 428.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.5872, allocations: 0.9779 MB / 429.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5872, allocations: 0 / 429.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.5884, allocations: 0.7909 MB / 430 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.59, allocations: 219.2 kB / 430.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/0.5956, allocations: 1.988 MB / 432.2 MB, free: 8.488 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.597, allocations: 1.1 MB / 433.3 MB, free: 7.395 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001905/0.5972, allocations: 29.12 kB / 433.4 MB, free: 7.367 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.5974, allocations: 60.72 kB / 433.4 MB, free: 7.344 MB / 346.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5974, allocations: 0 / 433.4 MB, free: 7.344 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0534/0.6508, allocations: 10.4 MB / 443.8 MB, free: 13 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003312/0.6512, allocations: 157.4 kB / 444 MB, free: 12.77 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.759/3.41, allocations: 4 kB / 444 MB, free: 12.77 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat does not exist to compare? outputFormat=mat