Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.936/1.936, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.557e-05, allocations: 4 kB / 255.5 MB, free: 3.074 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09325/0.09331, allocations: 44.5 MB / 300 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4123/0.5056, allocations: 76.52 MB / 376.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.5059, allocations: 66.42 kB / 376.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05301/0.5589, allocations: 13.34 MB / 389.9 MB, free: 11.35 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.397e-06/0.559, allocations: 0 / 389.9 MB, free: 11.35 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.891e-05/0.559, allocations: 11.69 kB / 389.9 MB, free: 11.35 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.001819/0.5608, allocations: 1.023 MB / 390.9 MB, free: 10.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.5609, allocations: 11.62 kB / 390.9 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001815/0.5611, allocations: 50.44 kB / 391 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002603/0.5614, allocations: 97.16 kB / 391.1 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009122/0.5623, allocations: 415.1 kB / 391.5 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.081e-05/0.5624, allocations: 14.47 kB / 391.5 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.446e-05/0.5625, allocations: 18.94 kB / 391.5 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009771/0.5635, allocations: 336.1 kB / 391.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.5635, allocations: 7.906 kB / 391.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.881e-05/0.5636, allocations: 10.11 kB / 391.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.5637, allocations: 3.969 kB / 391.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006195/0.5643, allocations: 194.1 kB / 392 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002479/0.5668, allocations: 0.9685 MB / 393 MB, free: 9.566 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008055/0.5676, allocations: 291.8 kB / 393.3 MB, free: 9.492 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007037/0.5684, allocations: 264.1 kB / 393.6 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.5684, allocations: 6.859 kB / 393.6 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/0.5696, allocations: 0.5714 MB / 394.1 MB, free: 9.199 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 3.757e-06/0.5696, allocations: 4 kB / 394.1 MB, free: 9.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.002602/0.5722, allocations: 0.8747 MB / 395 MB, free: 8.926 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/0.5724, allocations: 283.3 kB / 395.3 MB, free: 8.609 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004191/0.5766, allocations: 1.272 MB / 396.6 MB, free: 8.238 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002078/0.5769, allocations: 45.02 kB / 396.6 MB, free: 8.207 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.577, allocations: 176.1 kB / 396.8 MB, free: 8.051 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.5772, allocations: 73.77 kB / 396.8 MB, free: 8.008 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.5773, allocations: 11.62 kB / 396.9 MB, free: 8.008 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.814e-05/0.5774, allocations: 330.5 kB / 397.2 MB, free: 7.688 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006313/0.5781, allocations: 202.4 kB / 397.4 MB, free: 7.688 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006252/0.5787, allocations: 223.2 kB / 397.6 MB, free: 7.664 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006151/0.5793, allocations: 354.7 kB / 397.9 MB, free: 7.469 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.5794, allocations: 0 / 397.9 MB, free: 7.469 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002189/0.5816, allocations: 0.8137 MB / 398.8 MB, free: 7.234 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001671/0.5818, allocations: 188.7 kB / 398.9 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.5818, allocations: 3.938 kB / 398.9 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.5819, allocations: 7.656 kB / 399 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.882e-05/0.5819, allocations: 0 / 399 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.5819, allocations: 7.781 kB / 399 MB, free: 7.039 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008247/0.5828, allocations: 34.28 kB / 399 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001809/0.583, allocations: 89.41 kB / 399.1 MB, free: 7.031 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.0004298/0.5834, allocations: 353.3 kB / 399.4 MB, free: 6.727 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.5837, allocations: 101.6 kB / 399.5 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000887/0.5846, allocations: 203.3 kB / 399.7 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.5846, allocations: 3.844 kB / 399.7 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.5846, allocations: 0 / 399.7 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.5846, allocations: 3.281 kB / 399.7 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00454/0.5892, allocations: 1.835 MB / 401.6 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.5893, allocations: 3.969 kB / 401.6 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.747e-05/0.5893, allocations: 0 / 401.6 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.5893, allocations: 0 / 401.6 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.5894, allocations: 34.89 kB / 401.6 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.5894, allocations: 3.844 kB / 401.6 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5895, allocations: 3.938 kB / 401.6 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/0.5923, allocations: 1.264 MB / 402.9 MB, free: 5.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002308/0.5946, allocations: 0.5976 MB / 403.5 MB, free: 5.023 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003421/0.595, allocations: 58.31 kB / 403.5 MB, free: 5.023 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009468/0.596, allocations: 27.14 kB / 403.6 MB, free: 5.023 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003531/0.5963, allocations: 92.05 kB / 403.6 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002024/0.5966, allocations: 92.73 kB / 403.7 MB, free: 5.016 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.003449/0.6, allocations: 1.071 MB / 404.8 MB, free: 4.715 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.6001, allocations: 0 / 404.8 MB, free: 4.715 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00129/0.6014, allocations: 107.6 kB / 404.9 MB, free: 4.711 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.003817/0.6052, allocations: 2.028 MB / 406.9 MB, free: 19.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001603/0.6069, allocations: 0.9774 MB / 407.9 MB, free: 19.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.6069, allocations: 0 / 407.9 MB, free: 19.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.608, allocations: 0.7964 MB / 408.7 MB, free: 18.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.6095, allocations: 209.2 kB / 408.9 MB, free: 18.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005215/0.6148, allocations: 2.066 MB / 411 MB, free: 18.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.616, allocations: 1.1 MB / 412.1 MB, free: 17.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.6161, allocations: 58.38 kB / 412.1 MB, free: 17.29 MB / 330.7 MB Notification: Performance of SimCode: time 1.363e-06/0.6162, allocations: 0 / 412.1 MB, free: 17.29 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.671/3.288, allocations: 6.146 MB / 418.3 MB, free: 14.26 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat does not exist to compare? outputFormat=mat