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.868/1.868, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.86e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09068/0.09073, allocations: 44.5 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4975/0.5883, allocations: 76.53 MB / 376.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.5886, allocations: 67.19 kB / 376.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06312/0.6517, allocations: 13.33 MB / 389.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.6518, allocations: 0 / 389.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.774e-05/0.6518, allocations: 7.719 kB / 389.9 MB, free: 11.5 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.001639/0.6535, allocations: 1.032 MB / 390.9 MB, free: 10.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.6535, allocations: 7.781 kB / 390.9 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.6537, allocations: 50.73 kB / 391 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.6539, allocations: 97.53 kB / 391.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008689/0.6548, allocations: 411.6 kB / 391.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.795e-05/0.6549, allocations: 15.16 kB / 391.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.655, allocations: 26.64 kB / 391.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.6561, allocations: 343.3 kB / 391.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.6561, allocations: 0 / 391.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.599e-05/0.6562, allocations: 10.38 kB / 391.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.6562, allocations: 0 / 391.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006825/0.6569, allocations: 195 kB / 392.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.6594, allocations: 0.9682 MB / 393 MB, free: 9.711 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007899/0.6602, allocations: 290.7 kB / 393.3 MB, free: 9.641 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000724/0.661, allocations: 270.7 kB / 393.6 MB, free: 9.609 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.661, allocations: 0 / 393.6 MB, free: 9.609 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001175/0.6622, allocations: 0.5762 MB / 394.2 MB, free: 9.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 3.547e-06/0.6622, allocations: 0 / 394.2 MB, free: 9.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.002588/0.6648, allocations: 0.879 MB / 395 MB, free: 9.066 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.665, allocations: 288.1 kB / 395.3 MB, free: 8.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003905/0.6689, allocations: 1.273 MB / 396.6 MB, free: 8.375 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001765/0.6691, allocations: 41.02 kB / 396.6 MB, free: 8.344 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.6693, allocations: 120.9 kB / 396.8 MB, free: 8.254 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.6695, allocations: 73 kB / 396.8 MB, free: 8.215 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.947e-05/0.6696, allocations: 7.812 kB / 396.8 MB, free: 8.215 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.6697, allocations: 341.9 kB / 397.2 MB, free: 7.895 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006706/0.6704, allocations: 200.2 kB / 397.4 MB, free: 7.895 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/0.6709, allocations: 231.9 kB / 397.6 MB, free: 7.871 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.6714, allocations: 357.8 kB / 397.9 MB, free: 7.672 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6714, allocations: 0 / 397.9 MB, free: 7.672 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001541/0.6729, allocations: 0.8159 MB / 398.8 MB, free: 7.434 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.6731, allocations: 191.1 kB / 398.9 MB, free: 7.246 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.6731, allocations: 4 kB / 398.9 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.6731, allocations: 0 / 398.9 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.975e-05/0.6732, allocations: 3.938 kB / 398.9 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.6732, allocations: 3.422 kB / 398.9 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000557/0.6738, allocations: 41.98 kB / 399 MB, free: 7.234 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.6739, allocations: 89.44 kB / 399.1 MB, free: 7.23 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.000308/0.6742, allocations: 359.7 kB / 399.4 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.6744, allocations: 97.62 kB / 399.5 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000589/0.675, allocations: 199.8 kB / 399.7 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.675, allocations: 3.875 kB / 399.7 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.675, allocations: 0 / 399.7 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.675, allocations: 3.516 kB / 399.7 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/0.678, allocations: 1.835 MB / 401.6 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.678, allocations: 0 / 401.6 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-05/0.6781, allocations: 0 / 401.6 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.6781, allocations: 11.27 kB / 401.6 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-05/0.6782, allocations: 29.42 kB / 401.6 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.6782, allocations: 0 / 401.6 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6782, allocations: 0 / 401.6 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/0.6801, allocations: 1.271 MB / 402.9 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00149/0.6816, allocations: 0.5954 MB / 403.5 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/0.6819, allocations: 49.86 kB / 403.5 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006854/0.6826, allocations: 40.16 kB / 403.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/0.6829, allocations: 86.73 kB / 403.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/0.683, allocations: 91.61 kB / 403.7 MB, free: 5.219 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002057/0.6851, allocations: 1.073 MB / 404.8 MB, free: 4.914 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6851, allocations: 0 / 404.8 MB, free: 4.914 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007706/0.6859, allocations: 110.6 kB / 404.9 MB, free: 4.91 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.002846/0.6887, allocations: 2.027 MB / 406.9 MB, free: 19.67 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.6903, allocations: 0.9763 MB / 407.9 MB, free: 19.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.6903, allocations: 0 / 407.9 MB, free: 19.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.6913, allocations: 0.7905 MB / 408.7 MB, free: 18.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.6928, allocations: 214.4 kB / 408.9 MB, free: 18.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004717/0.6976, allocations: 1.994 MB / 410.9 MB, free: 18.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.6988, allocations: 1.097 MB / 412 MB, free: 17.42 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001751/0.699, allocations: 29.08 kB / 412 MB, free: 17.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.867e-05/0.6991, allocations: 65.78 kB / 412.1 MB, free: 17.39 MB / 330.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6991, allocations: 0 / 412.1 MB, free: 17.39 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04594/0.745, allocations: 10.39 MB / 422.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003531/0.7455, allocations: 145.5 kB / 422.6 MB, free: 11.92 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.668/3.413, allocations: 4 kB / 422.6 MB, free: 11.92 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