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.687/1.687, allocations: 171.2 MB / 183.3 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.208e-05/3.216e-05, allocations: 4 kB / 225.1 MB, free: 2.141 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2538, allocations: 38.77 MB / 263.9 MB, free: 9.699 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.382, allocations: 71.19 MB / 335 MB, free: 2.402 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.3824, allocations: 67.97 kB / 335.1 MB, free: 2.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04919/0.4316, allocations: 13.31 MB / 348.4 MB, free: 5 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4316, allocations: 0 / 348.4 MB, free: 5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.822e-05/0.4317, allocations: 12 kB / 348.4 MB, free: 4.988 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.001721/0.4334, allocations: 1.019 MB / 349.5 MB, free: 3.887 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.4335, allocations: 12.03 kB / 349.5 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001532/0.4336, allocations: 46.5 kB / 349.5 MB, free: 3.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.4339, allocations: 98.83 kB / 349.6 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008757/0.4348, allocations: 416.8 kB / 350 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.088e-05/0.4348, allocations: 19.98 kB / 350 MB, free: 3.242 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.42e-05/0.4349, allocations: 23.94 kB / 350.1 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008921/0.4358, allocations: 336 kB / 350.4 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.4359, allocations: 0 / 350.4 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.076e-05/0.436, allocations: 8 kB / 350.4 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.436, allocations: 4 kB / 350.4 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000548/0.4365, allocations: 195.8 kB / 350.6 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.4387, allocations: 0.9587 MB / 351.5 MB, free: 1.656 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008004/0.4395, allocations: 299.8 kB / 351.8 MB, free: 1.336 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006149/0.4402, allocations: 278.4 kB / 352.1 MB, free: 1.055 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.4402, allocations: 3.953 kB / 352.1 MB, free: 1.051 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.4413, allocations: 0.57 MB / 352.7 MB, free: 432 kB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 2.885e-06/0.4414, allocations: 0 / 352.7 MB, free: 432 kB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.002266/0.4436, allocations: 0.8891 MB / 353.6 MB, free: 15.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001993/0.4439, allocations: 281 kB / 353.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003388/0.4473, allocations: 1.266 MB / 355.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001699/0.4475, allocations: 41.7 kB / 355.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.4476, allocations: 126.4 kB / 355.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.4478, allocations: 75.19 kB / 355.3 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/0.4479, allocations: 4 kB / 355.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.448, allocations: 338.8 kB / 355.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005367/0.4486, allocations: 195.8 kB / 355.9 MB, free: 13.08 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005791/0.4492, allocations: 234.5 kB / 356.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005947/0.4498, allocations: 357.9 kB / 356.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.4498, allocations: 4 kB / 356.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002007/0.4518, allocations: 0.8271 MB / 357.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001935/0.4521, allocations: 194.1 kB / 357.5 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.4521, allocations: 4 kB / 357.5 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.4521, allocations: 0 / 357.5 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.585e-05/0.4522, allocations: 4 kB / 357.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.4522, allocations: 3.938 kB / 357.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005945/0.4528, allocations: 35.88 kB / 357.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.453, allocations: 95.86 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.0004641/0.4535, allocations: 356.1 kB / 358 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.4537, allocations: 106.8 kB / 358.1 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006185/0.4543, allocations: 196 kB / 358.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.4544, allocations: 4 kB / 358.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.4544, allocations: 0 / 358.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4544, allocations: 0 / 358.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004039/0.4584, allocations: 1.831 MB / 360.1 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.4585, allocations: 0 / 360.1 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/0.4585, allocations: 7.953 kB / 360.1 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.4586, allocations: 0 / 360.1 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.963e-05/0.4587, allocations: 27.98 kB / 360.1 MB, free: 8.559 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.4587, allocations: 4 kB / 360.1 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4587, allocations: 0 / 360.1 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/0.4612, allocations: 1.272 MB / 361.4 MB, free: 7.219 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001864/0.4631, allocations: 0.5969 MB / 362 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/0.4635, allocations: 59.95 kB / 362.1 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006632/0.4642, allocations: 31.95 kB / 362.1 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003328/0.4645, allocations: 83.89 kB / 362.2 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001752/0.4647, allocations: 95.86 kB / 362.3 MB, free: 6.336 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002896/0.4676, allocations: 1.075 MB / 363.3 MB, free: 5.246 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.4677, allocations: 3.938 kB / 363.3 MB, free: 5.242 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000852/0.4685, allocations: 104 kB / 363.4 MB, free: 5.141 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.00324/0.4718, allocations: 2.031 MB / 365.5 MB, free: 3.039 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001858/0.4737, allocations: 0.9767 MB / 366.5 MB, free: 1.988 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4737, allocations: 4 kB / 366.5 MB, free: 1.984 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.475, allocations: 0.7893 MB / 367.2 MB, free: 1.121 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.4768, allocations: 225.1 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.2171/0.6939, allocations: 1.987 MB / 369.5 MB, free: 93.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/0.6952, allocations: 1.109 MB / 370.6 MB, free: 93.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002107/0.6954, allocations: 24.36 kB / 370.6 MB, free: 93.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.6955, allocations: 61.3 kB / 370.6 MB, free: 93.19 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6956, allocations: 0 / 370.6 MB, free: 93.19 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03532/0.7309, allocations: 10.4 MB / 381.1 MB, free: 89.01 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.7311, allocations: 162.5 kB / 381.2 MB, free: 88.77 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.564/3.295, allocations: 0.8438 kB / 381.2 MB, free: 88.77 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