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.632/1.632, allocations: 171.2 MB / 178.4 MB, free: 148 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.333e-05/2.33e-05, allocations: 8 kB / 219.6 MB, free: 6.926 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2472, allocations: 38.76 MB / 258.3 MB, free: 12.17 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1188/0.366, allocations: 70.53 MB / 328.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.3663, allocations: 71.95 kB / 328.9 MB, free: 7.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04634/0.4127, allocations: 13.22 MB / 342.2 MB, free: 9.926 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4127, allocations: 0 / 342.2 MB, free: 9.926 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.231e-05/0.4128, allocations: 12 kB / 342.2 MB, free: 9.914 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.001391/0.4142, allocations: 1.026 MB / 343.2 MB, free: 8.805 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.4142, allocations: 8.031 kB / 343.2 MB, free: 8.797 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.4144, allocations: 98.83 kB / 343.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007381/0.4152, allocations: 416.8 kB / 343.7 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.731e-05/0.4153, allocations: 15.94 kB / 343.7 MB, free: 8.223 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.793e-05/0.4154, allocations: 15.94 kB / 343.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004962/0.4159, allocations: 183.9 kB / 343.9 MB, free: 8.027 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007149/0.4166, allocations: 328 kB / 344.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4166, allocations: 0 / 344.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-05/0.4167, allocations: 8 kB / 344.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4167, allocations: 0 / 344.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.4186, allocations: 0.9316 MB / 345.2 MB, free: 6.707 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006014/0.4192, allocations: 291.7 kB / 345.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005286/0.4198, allocations: 250.5 kB / 345.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.4198, allocations: 4 kB / 345.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009666/0.4208, allocations: 0.6092 MB / 346.3 MB, free: 5.469 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 2.615e-06/0.4208, allocations: 0 / 346.3 MB, free: 5.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.001794/0.4226, allocations: 0.6758 MB / 347 MB, free: 4.785 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/0.4228, allocations: 281 kB / 347.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/0.4255, allocations: 1.223 MB / 348.5 MB, free: 3.207 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.4256, allocations: 37.69 kB / 348.5 MB, free: 3.164 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.4257, allocations: 126.4 kB / 348.7 MB, free: 3.035 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.4259, allocations: 63.27 kB / 348.7 MB, free: 2.973 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.4259, allocations: 8 kB / 348.7 MB, free: 2.965 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4261, allocations: 334.8 kB / 349 MB, free: 2.629 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/0.4265, allocations: 195.8 kB / 349.2 MB, free: 2.438 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.427, allocations: 222.2 kB / 349.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/0.4274, allocations: 159.7 kB / 349.6 MB, free: 2.055 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4274, allocations: 0 / 349.6 MB, free: 2.055 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001627/0.4291, allocations: 0.6219 MB / 350.2 MB, free: 1.426 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001702/0.4293, allocations: 198 kB / 350.4 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.4293, allocations: 0 / 350.4 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.4293, allocations: 3.953 kB / 350.4 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.543e-05/0.4293, allocations: 8 kB / 350.4 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4294, allocations: 0 / 350.4 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005487/0.4299, allocations: 39.88 kB / 350.5 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/0.4301, allocations: 83.94 kB / 350.6 MB, free: 1.062 MB / 298.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.0004001/0.4305, allocations: 354 kB / 350.9 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001902/0.4324, allocations: 0.7578 MB / 351.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.4326, allocations: 102.8 kB / 351.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005926/0.4332, allocations: 200 kB / 352 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.4332, allocations: 0 / 352 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4332, allocations: 4 kB / 352 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4333, allocations: 0 / 352 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003069/0.4363, allocations: 1.564 MB / 353.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4364, allocations: 0 / 353.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.693e-05/0.4364, allocations: 4 kB / 353.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/0.4364, allocations: 3.953 kB / 353.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.161e-05/0.4365, allocations: 27.98 kB / 353.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.4365, allocations: 7.922 kB / 353.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4365, allocations: 0 / 353.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.4385, allocations: 1.029 MB / 354.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001644/0.4402, allocations: 0.5891 MB / 355.2 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/0.4405, allocations: 51.97 kB / 355.2 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006474/0.4412, allocations: 39.88 kB / 355.3 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002978/0.4415, allocations: 87.81 kB / 355.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/0.4417, allocations: 99.86 kB / 355.5 MB, free: 12.01 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002306/0.444, allocations: 1.028 MB / 356.5 MB, free: 10.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.444, allocations: 0 / 356.5 MB, free: 10.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008012/0.4448, allocations: 100 kB / 356.6 MB, free: 10.87 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.002573/0.4474, allocations: 1.803 MB / 358.4 MB, free: 9.039 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.449, allocations: 0.9454 MB / 359.3 MB, free: 8.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.449, allocations: 0 / 359.3 MB, free: 8.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.4501, allocations: 0.7932 MB / 360.1 MB, free: 7.152 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.4517, allocations: 217 kB / 360.3 MB, free: 6.938 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005182/0.4569, allocations: 1.969 MB / 362.3 MB, free: 4.918 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.4583, allocations: 1.109 MB / 363.4 MB, free: 3.781 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001766/0.4585, allocations: 29.17 kB / 363.4 MB, free: 3.754 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.4586, allocations: 51.42 kB / 363.5 MB, free: 3.703 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4586, allocations: 0 / 363.5 MB, free: 3.703 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2525/0.7111, allocations: 9.678 MB / 373.2 MB, free: 95.2 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/0.7114, allocations: 134.8 kB / 373.3 MB, free: 95.01 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/3.169, allocations: 2.25 kB / 373.3 MB, free: 95.01 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