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.86/1.86, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.024e-05/3.04e-05, allocations: 4 kB / 225.1 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2559, allocations: 38.77 MB / 263.8 MB, free: 9.766 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.3779, allocations: 71.2 MB / 335 MB, free: 2.461 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.3782, allocations: 63.97 kB / 335.1 MB, free: 2.398 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04685/0.4251, allocations: 13.31 MB / 348.4 MB, free: 5.062 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4251, allocations: 0 / 348.4 MB, free: 5.062 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.965e-05/0.4252, 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.001569/0.4267, allocations: 1.018 MB / 349.4 MB, free: 3.949 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.4268, allocations: 11.97 kB / 349.4 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.427, allocations: 50.55 kB / 349.5 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.4272, allocations: 94.83 kB / 349.6 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008181/0.428, allocations: 416.8 kB / 350 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.801e-05/0.4281, allocations: 27.92 kB / 350 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.411e-05/0.4282, allocations: 12 kB / 350 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008247/0.429, allocations: 334.9 kB / 350.4 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.429, allocations: 3.984 kB / 350.4 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.183e-05/0.4291, allocations: 15.98 kB / 350.4 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.4291, allocations: 0 / 350.4 MB, free: 2.926 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000514/0.4296, allocations: 199.8 kB / 350.6 MB, free: 2.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.4316, allocations: 0.9587 MB / 351.5 MB, free: 1.715 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006933/0.4324, allocations: 303.8 kB / 351.8 MB, free: 1.391 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005609/0.4329, allocations: 262.5 kB / 352.1 MB, free: 1.125 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.433, allocations: 11.89 kB / 352.1 MB, free: 1.113 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009895/0.434, allocations: 0.5778 MB / 352.7 MB, free: 488 kB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 2.574e-06/0.434, allocations: 0 / 352.7 MB, free: 488 kB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.002143/0.4362, allocations: 0.8852 MB / 353.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001643/0.4363, allocations: 277 kB / 353.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002956/0.4393, allocations: 1.27 MB / 355.1 MB, free: 13.92 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001525/0.4395, allocations: 45.69 kB / 355.1 MB, free: 13.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.4396, allocations: 180.9 kB / 355.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.4398, allocations: 63.2 kB / 355.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.4399, allocations: 12 kB / 355.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.44, allocations: 318.8 kB / 355.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005197/0.4405, allocations: 207.8 kB / 355.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005402/0.4411, allocations: 230.5 kB / 356.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00058/0.4417, allocations: 353.9 kB / 356.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4417, allocations: 0 / 356.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001851/0.4436, allocations: 0.8194 MB / 357.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.4438, allocations: 198.1 kB / 357.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.4438, allocations: 0 / 357.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.4438, allocations: 0 / 357.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.624e-05/0.4439, allocations: 4 kB / 357.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.4439, allocations: 7.922 kB / 357.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/0.4445, allocations: 43.88 kB / 357.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/0.4447, allocations: 87.88 kB / 357.6 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.0004022/0.4451, allocations: 352.7 kB / 358 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.4453, allocations: 98.88 kB / 358.1 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005906/0.4459, allocations: 203.9 kB / 358.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.4459, allocations: 4 kB / 358.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4459, allocations: 0 / 358.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.4459, allocations: 0 / 358.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003549/0.4495, allocations: 1.835 MB / 360.1 MB, free: 8.621 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.4496, allocations: 4 kB / 360.1 MB, free: 8.617 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.762e-05/0.4496, allocations: 3.953 kB / 360.1 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.4496, allocations: 0 / 360.1 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.591e-05/0.4497, allocations: 27.98 kB / 360.1 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.4497, allocations: 4 kB / 360.1 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4497, allocations: 0 / 360.1 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/0.4521, allocations: 1.265 MB / 361.4 MB, free: 7.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/0.4538, allocations: 0.5969 MB / 362 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.454, allocations: 51.95 kB / 362.1 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006423/0.4547, allocations: 47.86 kB / 362.1 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002936/0.455, allocations: 79.89 kB / 362.2 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/0.4552, allocations: 99.86 kB / 362.3 MB, free: 6.359 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002551/0.4578, allocations: 1.075 MB / 363.4 MB, free: 5.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.4578, allocations: 0 / 363.4 MB, free: 5.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008058/0.4586, allocations: 108 kB / 363.5 MB, free: 5.164 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.002953/0.4616, allocations: 2.025 MB / 365.5 MB, free: 3.066 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.4633, allocations: 0.9806 MB / 366.5 MB, free: 2.012 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.4634, allocations: 0 / 366.5 MB, free: 2.012 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.4645, allocations: 0.7893 MB / 367.3 MB, free: 1.148 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.4661, allocations: 226.9 kB / 367.5 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2129/0.6791, allocations: 2.055 MB / 369.5 MB, free: 94.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.6803, allocations: 1.104 MB / 370.6 MB, free: 93.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.6805, allocations: 58.09 kB / 370.7 MB, free: 93.29 MB / 314.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6805, allocations: 0 / 370.7 MB, free: 93.29 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.72/3.4, allocations: 6.165 MB / 376.9 MB, free: 92.5 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