Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.569/1.569, allocations: 171.2 MB / 183.3 MB, free: 12.06 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.992e-05/2.991e-05, allocations: 4 kB / 225.1 MB, free: 2.234 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2459, allocations: 38.77 MB / 263.9 MB, free: 9.691 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.3656, allocations: 71.2 MB / 335.1 MB, free: 2.391 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.3659, allocations: 63.97 kB / 335.1 MB, free: 2.328 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04524/0.4112, allocations: 13.31 MB / 348.4 MB, free: 4.988 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4112, allocations: 0 / 348.4 MB, free: 4.988 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.657e-05/0.4113, allocations: 12 kB / 348.5 MB, free: 4.977 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.001344/0.4126, allocations: 1.031 MB / 349.5 MB, free: 3.863 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.4127, allocations: 8.031 kB / 349.5 MB, free: 3.855 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.465e-05/0.4128, allocations: 50.55 kB / 349.5 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.413, allocations: 94.83 kB / 349.6 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007224/0.4137, allocations: 420.8 kB / 350 MB, free: 3.238 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.4138, allocations: 19.98 kB / 350.1 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.337e-05/0.4139, allocations: 12 kB / 350.1 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007938/0.4147, allocations: 336 kB / 350.4 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4147, allocations: 0 / 350.4 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.589e-05/0.4148, allocations: 15.98 kB / 350.4 MB, free: 2.848 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.4148, allocations: 3.938 kB / 350.4 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005225/0.4153, allocations: 191.8 kB / 350.6 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.4171, allocations: 0.9586 MB / 351.6 MB, free: 1.641 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006144/0.4177, allocations: 299.9 kB / 351.9 MB, free: 1.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005577/0.4183, allocations: 262.5 kB / 352.1 MB, free: 1.055 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.4183, allocations: 7.891 kB / 352.1 MB, free: 1.047 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009722/0.4193, allocations: 0.582 MB / 352.7 MB, free: 416 kB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 2.425e-06/0.4193, allocations: 0 / 352.7 MB, free: 416 kB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.002021/0.4214, allocations: 0.885 MB / 353.6 MB, free: 15.47 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/0.4216, allocations: 277 kB / 353.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002679/0.4242, allocations: 1.27 MB / 355.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.611e-05/0.4243, allocations: 37.69 kB / 355.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.4245, allocations: 126.4 kB / 355.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.4246, allocations: 67.17 kB / 355.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.4247, allocations: 12 kB / 355.4 MB, free: 13.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4248, allocations: 334.8 kB / 355.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004964/0.4253, allocations: 203.8 kB / 355.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005242/0.4259, allocations: 230.4 kB / 356.1 MB, free: 12.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/0.4264, allocations: 357.9 kB / 356.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4264, allocations: 0 / 356.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001832/0.4283, allocations: 0.8271 MB / 357.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.4284, allocations: 198.1 kB / 357.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.4285, allocations: 4 kB / 357.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4285, allocations: 4 kB / 357.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.736e-05/0.4285, allocations: 0 / 357.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.4285, allocations: 0 / 357.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/0.4291, allocations: 39.88 kB / 357.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/0.4293, allocations: 91.88 kB / 357.6 MB, free: 11.21 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.0003705/0.4296, allocations: 349.3 kB / 358 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.4298, allocations: 106.8 kB / 358.1 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004815/0.4303, allocations: 204 kB / 358.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4303, allocations: 0 / 358.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4304, allocations: 0 / 358.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4304, allocations: 4 kB / 358.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003337/0.4337, allocations: 1.827 MB / 360.1 MB, free: 8.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4337, allocations: 0 / 360.1 MB, free: 8.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.257e-05/0.4338, allocations: 7.953 kB / 360.1 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.4338, allocations: 4 kB / 360.1 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.903e-05/0.4339, allocations: 35.91 kB / 360.2 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.4339, allocations: 0 / 360.2 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4339, allocations: 0 / 360.2 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.4361, allocations: 1.268 MB / 361.4 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/0.4376, allocations: 0.593 MB / 362 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002286/0.4378, allocations: 51.97 kB / 362.1 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006307/0.4385, allocations: 35.91 kB / 362.1 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002802/0.4388, allocations: 83.88 kB / 362.2 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/0.439, allocations: 91.92 kB / 362.3 MB, free: 6.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002253/0.4412, allocations: 1.075 MB / 363.4 MB, free: 5.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.4412, allocations: 4 kB / 363.4 MB, free: 5.246 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007122/0.442, allocations: 104 kB / 363.5 MB, free: 5.145 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.002775/0.4447, allocations: 2.035 MB / 365.5 MB, free: 3.039 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.4464, allocations: 0.9767 MB / 366.5 MB, free: 1.988 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4464, allocations: 0 / 366.5 MB, free: 1.988 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.4475, allocations: 0.7971 MB / 367.3 MB, free: 1.117 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.449, allocations: 217.4 kB / 367.5 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2078/0.6568, allocations: 1.988 MB / 369.5 MB, free: 94.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.658, allocations: 1.105 MB / 370.6 MB, free: 93.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.6582, allocations: 25.03 kB / 370.6 MB, free: 93.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.6583, allocations: 55.94 kB / 370.7 MB, free: 93.26 MB / 314.7 MB Notification: Performance of SimCode: time 1.243e-06/0.6583, allocations: 0 / 370.7 MB, free: 93.26 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03227/0.6906, allocations: 10.41 MB / 381.1 MB, free: 89.01 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/0.6909, allocations: 153.1 kB / 381.2 MB, free: 88.79 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/3.169, allocations: 7.656 kB / 381.2 MB, free: 88.78 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat does not exist to compare? outputFormat=mat