Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.896/1.896, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.781e-05/2.796e-05, allocations: 0 / 255.4 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08827/0.08833, allocations: 44.52 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4082/0.4966, allocations: 76.5 MB / 376.5 MB, free: 12.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.4969, allocations: 68.5 kB / 376.5 MB, free: 12.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04353/0.5405, allocations: 13.34 MB / 389.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5405, allocations: 0 / 389.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.38e-05/0.5406, allocations: 11.66 kB / 389.9 MB, free: 11.17 MB / 314.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.001312/0.5419, allocations: 1.024 MB / 390.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.542, allocations: 11.75 kB / 390.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.5421, allocations: 46.73 kB / 391 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.5423, allocations: 98.06 kB / 391.1 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006885/0.543, allocations: 419.2 kB / 391.5 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.463e-05/0.5431, allocations: 11.12 kB / 391.5 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.211e-05/0.5432, allocations: 17.16 kB / 391.5 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007589/0.5439, allocations: 343.8 kB / 391.8 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.544, allocations: 3.938 kB / 391.8 MB, free: 9.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.779e-05/0.544, allocations: 10.14 kB / 391.8 MB, free: 9.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.544, allocations: 3.969 kB / 391.8 MB, free: 9.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/0.5445, allocations: 190.2 kB / 392 MB, free: 9.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.5464, allocations: 0.9725 MB / 393 MB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/0.5469, allocations: 298.1 kB / 393.3 MB, free: 9.312 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000482/0.5474, allocations: 267.2 kB / 393.6 MB, free: 9.285 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.5475, allocations: 0 / 393.6 MB, free: 9.285 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008162/0.5483, allocations: 0.5752 MB / 394.1 MB, free: 9.016 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 2.534e-06/0.5483, allocations: 0 / 394.1 MB, free: 9.016 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.00189/0.5502, allocations: 0.8941 MB / 395 MB, free: 8.738 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.5504, allocations: 275 kB / 395.3 MB, free: 8.426 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002717/0.5531, allocations: 1.274 MB / 396.6 MB, free: 8.055 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001854/0.5533, allocations: 40.83 kB / 396.6 MB, free: 8.023 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.432e-05/0.5534, allocations: 116.7 kB / 396.7 MB, free: 7.934 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.5536, allocations: 75.8 kB / 396.8 MB, free: 7.891 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.5536, allocations: 14.64 kB / 396.8 MB, free: 7.891 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.557e-05/0.5537, allocations: 342.1 kB / 397.1 MB, free: 7.574 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004574/0.5542, allocations: 196 kB / 397.3 MB, free: 7.574 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/0.5547, allocations: 228.6 kB / 397.6 MB, free: 7.547 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/0.5551, allocations: 359.6 kB / 397.9 MB, free: 7.348 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5552, allocations: 3.875 kB / 397.9 MB, free: 7.348 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001605/0.5568, allocations: 0.818 MB / 398.7 MB, free: 7.109 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.5569, allocations: 194.5 kB / 398.9 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.5569, allocations: 0 / 398.9 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.557, allocations: 7.516 kB / 398.9 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.187e-05/0.557, allocations: 0 / 398.9 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.557, allocations: 3.875 kB / 398.9 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00056/0.5576, allocations: 34.06 kB / 399 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.5578, allocations: 88 kB / 399.1 MB, free: 6.91 MB / 314.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.0003098/0.5581, allocations: 355.7 kB / 399.4 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.5582, allocations: 107.2 kB / 399.5 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006096/0.5589, allocations: 194.5 kB / 399.7 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.5589, allocations: 0 / 399.7 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.5589, allocations: 3.938 kB / 399.7 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.5589, allocations: 0 / 399.7 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003054/0.562, allocations: 1.839 MB / 401.5 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.562, allocations: 4 kB / 401.5 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.508e-05/0.562, allocations: 3.938 kB / 401.5 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.5621, allocations: 3.906 kB / 401.5 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-05/0.5621, allocations: 25.67 kB / 401.6 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.5621, allocations: 0 / 401.6 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5622, allocations: 3.875 kB / 401.6 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/0.5643, allocations: 1.276 MB / 402.9 MB, free: 21.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001562/0.5659, allocations: 0.6031 MB / 403.5 MB, free: 20.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/0.5661, allocations: 49.78 kB / 403.5 MB, free: 20.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006301/0.5668, allocations: 38.3 kB / 403.5 MB, free: 20.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002668/0.5671, allocations: 85.05 kB / 403.6 MB, free: 20.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/0.5672, allocations: 96.83 kB / 403.7 MB, free: 20.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002206/0.5694, allocations: 1.07 MB / 404.8 MB, free: 20.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.5695, allocations: 0 / 404.8 MB, free: 20.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007939/0.5703, allocations: 103.1 kB / 404.9 MB, free: 20.58 MB / 330.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.002647/0.5729, allocations: 2.028 MB / 406.9 MB, free: 19.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.5745, allocations: 0.9795 MB / 407.9 MB, free: 18.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5745, allocations: 3.938 kB / 407.9 MB, free: 18.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009968/0.5755, allocations: 0.7946 MB / 408.7 MB, free: 18.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.577, allocations: 206.2 kB / 408.9 MB, free: 18.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004625/0.5816, allocations: 1.991 MB / 410.9 MB, free: 17.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/0.5828, allocations: 1.099 MB / 412 MB, free: 17.13 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.583, allocations: 32.61 kB / 412 MB, free: 17.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.516e-05/0.5831, allocations: 57.05 kB / 412.1 MB, free: 17.1 MB / 330.7 MB Notification: Performance of SimCode: time 1.302e-06/0.5831, allocations: 4 kB / 412.1 MB, free: 17.1 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.617, allocations: 10.4 MB / 422.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002986/0.6174, allocations: 154.8 kB / 422.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.556/3.173, allocations: 0 / 422.6 MB, free: 11.64 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat does not exist to compare? outputFormat=mat