Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.981/1.981, allocations: 225.8 MB / 238.8 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.167e-05, allocations: 4 kB / 292.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1143, allocations: 50.42 MB / 342.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4451/0.5595, allocations: 81.87 MB / 424.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.5598, allocations: 68.84 kB / 424.6 MB, free: 12.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04583/0.6057, allocations: 13.49 MB / 438.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.6057, allocations: 0 / 438.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.936e-05/0.6058, allocations: 12 kB / 438.1 MB, free: 0.7422 MB / 346.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.001424/0.6072, allocations: 1.029 MB / 439.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.6073, allocations: 8.031 kB / 439.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.6074, allocations: 54.48 kB / 439.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.6076, allocations: 94.78 kB / 439.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007586/0.6083, allocations: 418.6 kB / 439.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.6084, allocations: 15.75 kB / 439.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-05/0.6085, allocations: 19.88 kB / 439.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000791/0.6093, allocations: 337.2 kB / 440 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.6093, allocations: 4 kB / 440 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.734e-05/0.6094, allocations: 11.56 kB / 440.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.6094, allocations: 8 kB / 440.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005185/0.61, allocations: 194.7 kB / 440.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.6118, allocations: 0.9673 MB / 441.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005991/0.6124, allocations: 298.8 kB / 441.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005232/0.613, allocations: 257.2 kB / 441.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.613, allocations: 8 kB / 441.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009382/0.614, allocations: 0.5728 MB / 442.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.665e-06/0.614, allocations: 0 / 442.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.001978/0.616, allocations: 0.8912 MB / 443.2 MB, free: 12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/0.6161, allocations: 284.4 kB / 443.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002789/0.619, allocations: 1.276 MB / 444.8 MB, free: 10.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.6191, allocations: 41.56 kB / 444.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.6192, allocations: 117.7 kB / 444.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.6193, allocations: 65.12 kB / 445 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.6194, allocations: 11.19 kB / 445 MB, free: 10.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.6195, allocations: 335.9 kB / 445.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004842/0.62, allocations: 196.2 kB / 445.5 MB, free: 9.906 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/0.6206, allocations: 235.8 kB / 445.8 MB, free: 9.738 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005201/0.6211, allocations: 354 kB / 446.1 MB, free: 9.414 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6211, allocations: 0 / 446.1 MB, free: 9.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00178/0.6229, allocations: 0.8205 MB / 446.9 MB, free: 8.711 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.6231, allocations: 188.9 kB / 447.1 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.6231, allocations: 0 / 447.1 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.6231, allocations: 0 / 447.1 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.263e-05/0.6232, allocations: 7.984 kB / 447.1 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.6232, allocations: 7.953 kB / 447.1 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005594/0.6238, allocations: 39.7 kB / 447.2 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/0.6239, allocations: 91.92 kB / 447.3 MB, free: 8.355 MB / 362.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.0003756/0.6243, allocations: 346.6 kB / 447.6 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.6245, allocations: 98.88 kB / 447.7 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005483/0.6251, allocations: 193.6 kB / 447.9 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.6251, allocations: 0 / 447.9 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.6251, allocations: 4 kB / 447.9 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.6251, allocations: 11.94 kB / 447.9 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00335/0.6285, allocations: 1.834 MB / 449.7 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.6285, allocations: 0 / 449.7 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.286e-05/0.6285, allocations: 0 / 449.7 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.6285, allocations: 0 / 449.7 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.612e-05/0.6286, allocations: 31.34 kB / 449.8 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/0.6287, allocations: 7.953 kB / 449.8 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.6287, allocations: 4 kB / 449.8 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/0.631, allocations: 1.272 MB / 451.1 MB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001586/0.6326, allocations: 0.589 MB / 451.6 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/0.6328, allocations: 54.7 kB / 451.7 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006686/0.6335, allocations: 42.94 kB / 451.7 MB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003012/0.6338, allocations: 85.44 kB / 451.8 MB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/0.634, allocations: 95.36 kB / 451.9 MB, free: 4.172 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00232/0.6364, allocations: 1.072 MB / 453 MB, free: 3.254 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6364, allocations: 0 / 453 MB, free: 3.254 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007693/0.6372, allocations: 107.8 kB / 453.1 MB, free: 3.152 MB / 362.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.00281/0.64, allocations: 2.023 MB / 455.1 MB, free: 1.254 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.6417, allocations: 0.979 MB / 456.1 MB, free: 360 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.6417, allocations: 8 kB / 456.1 MB, free: 352 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.6428, allocations: 0.7894 MB / 456.9 MB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.6444, allocations: 207.8 kB / 457.1 MB, free: 15.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005257/0.6497, allocations: 1.985 MB / 459.1 MB, free: 13.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/0.651, allocations: 1.109 MB / 460.2 MB, free: 12.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001695/0.6511, allocations: 29.17 kB / 460.2 MB, free: 12.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.6513, allocations: 59.41 kB / 460.3 MB, free: 12.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.693e-06/0.6513, allocations: 0 / 460.3 MB, free: 12.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.6884, allocations: 10.39 MB / 470.7 MB, free: 1.789 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000335/0.6888, allocations: 161.2 kB / 470.8 MB, free: 1.555 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.206, allocations: 0 / 470.8 MB, free: 1.555 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat does not exist to compare? outputFormat=mat