Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.634/1.634, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.544e-05/3.551e-05, allocations: 3.984 kB / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2499, allocations: 38.77 MB / 263.8 MB, free: 9.766 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.3745, allocations: 71.21 MB / 335.1 MB, free: 2.453 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.3748, allocations: 63.97 kB / 335.1 MB, free: 2.391 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04817/0.423, allocations: 13.3 MB / 348.4 MB, free: 5.062 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4231, allocations: 0 / 348.4 MB, free: 5.062 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.787e-05/0.4231, allocations: 12 kB / 348.4 MB, free: 5.051 MB / 298.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.001594/0.4247, allocations: 1.026 MB / 349.5 MB, free: 3.941 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.4248, allocations: 8.031 kB / 349.5 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001552/0.425, allocations: 58.55 kB / 349.5 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/0.4252, allocations: 94.83 kB / 349.6 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008408/0.426, allocations: 416.8 kB / 350 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.435e-05/0.4261, allocations: 19.98 kB / 350 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.325e-05/0.4262, allocations: 16 kB / 350.1 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008349/0.4271, allocations: 332.4 kB / 350.4 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.4271, allocations: 0 / 350.4 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.266e-05/0.4272, allocations: 15.98 kB / 350.4 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.4272, allocations: 0 / 350.4 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005171/0.4277, allocations: 199.8 kB / 350.6 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/0.4298, allocations: 0.9587 MB / 351.6 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007299/0.4306, allocations: 299.8 kB / 351.8 MB, free: 1.391 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005893/0.4312, allocations: 266.5 kB / 352.1 MB, free: 1.121 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.4312, allocations: 7.953 kB / 352.1 MB, free: 1.113 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.4323, allocations: 0.5741 MB / 352.7 MB, free: 492 kB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 7.364e-06/0.4323, allocations: 3.984 kB / 352.7 MB, free: 488 kB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.002209/0.4346, allocations: 0.8928 MB / 353.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/0.4348, allocations: 277 kB / 353.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003195/0.438, allocations: 1.266 MB / 355.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.4382, allocations: 41.69 kB / 355.2 MB, free: 13.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.4383, allocations: 176.9 kB / 355.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.4385, allocations: 71.11 kB / 355.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.4386, allocations: 11.98 kB / 355.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4387, allocations: 322.8 kB / 355.7 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005209/0.4392, allocations: 203.8 kB / 355.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005301/0.4398, allocations: 232.8 kB / 356.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005725/0.4404, allocations: 353.8 kB / 356.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.4404, allocations: 0 / 356.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001897/0.4423, allocations: 0.8195 MB / 357.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.4425, allocations: 198.1 kB / 357.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.4426, allocations: 0 / 357.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.4426, allocations: 0 / 357.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.175e-05/0.4426, allocations: 11.94 kB / 357.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.4427, allocations: 0 / 357.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006356/0.4433, allocations: 39.88 kB / 357.6 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.4435, allocations: 91.88 kB / 357.7 MB, free: 11.24 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.0004277/0.4439, allocations: 340.3 kB / 358 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.4442, allocations: 98.88 kB / 358.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005994/0.4448, allocations: 204 kB / 358.3 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4448, allocations: 4 kB / 358.3 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4448, allocations: 0 / 358.3 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4448, allocations: 4.188 kB / 358.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003884/0.4487, allocations: 1.835 MB / 360.1 MB, free: 8.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.4488, allocations: 0 / 360.1 MB, free: 8.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.4488, allocations: 3.953 kB / 360.1 MB, free: 8.621 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.4488, allocations: 288 / 360.1 MB, free: 8.621 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-05/0.4489, allocations: 31.97 kB / 360.2 MB, free: 8.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.449, allocations: 8 kB / 360.2 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.449, allocations: 3.938 kB / 360.2 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/0.4514, allocations: 1.261 MB / 361.4 MB, free: 7.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001817/0.4533, allocations: 0.593 MB / 362 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002718/0.4536, allocations: 59.95 kB / 362.1 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007127/0.4543, allocations: 39.88 kB / 362.1 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003135/0.4546, allocations: 83.83 kB / 362.2 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/0.4548, allocations: 95.86 kB / 362.3 MB, free: 6.363 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002719/0.4576, allocations: 1.067 MB / 363.4 MB, free: 5.281 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.4576, allocations: 0 / 363.4 MB, free: 5.281 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009023/0.4585, allocations: 108 kB / 363.5 MB, free: 5.176 MB / 314.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.003063/0.4616, allocations: 2.024 MB / 365.5 MB, free: 3.078 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001804/0.4635, allocations: 0.9807 MB / 366.5 MB, free: 2.023 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.4635, allocations: 7.938 kB / 366.5 MB, free: 2.016 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.4647, allocations: 0.7854 MB / 367.3 MB, free: 1.156 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.4665, allocations: 215 kB / 367.5 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2129/0.6794, allocations: 2.059 MB / 369.5 MB, free: 93.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.6808, allocations: 1.107 MB / 370.6 MB, free: 93.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.6811, allocations: 56.66 kB / 370.7 MB, free: 93.11 MB / 314.7 MB Notification: Performance of SimCode: time 1.994e-06/0.6811, allocations: 0 / 370.7 MB, free: 93.11 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.529/3.21, allocations: 6.166 MB / 376.9 MB, free: 92.32 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat does not exist to compare? outputFormat=mat