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.941/1.941, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.671e-05/2.674e-05, allocations: 0 / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3288, allocations: 44.5 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.4618, allocations: 75.85 MB / 370.1 MB, free: 5.988 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.4621, allocations: 67.97 kB / 370.1 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04522/0.5073, allocations: 13.25 MB / 383.4 MB, free: 8.652 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5074, allocations: 0 / 383.4 MB, free: 8.652 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.465e-05/0.5074, allocations: 8 kB / 383.4 MB, free: 8.645 MB / 330.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.001325/0.5088, allocations: 1.022 MB / 384.4 MB, free: 7.539 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.5088, allocations: 8.031 kB / 384.4 MB, free: 7.531 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.509, allocations: 98.78 kB / 384.5 MB, free: 7.434 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007446/0.5098, allocations: 416.9 kB / 384.9 MB, free: 6.973 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.444e-05/0.5098, allocations: 16 kB / 384.9 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.807e-05/0.5099, allocations: 12 kB / 385 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000467/0.5104, allocations: 179.9 kB / 385.1 MB, free: 6.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007106/0.5111, allocations: 327.9 kB / 385.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.5112, allocations: 3.938 kB / 385.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.95e-05/0.5112, allocations: 8 kB / 385.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.5113, allocations: 0 / 385.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.5131, allocations: 0.9354 MB / 386.4 MB, free: 5.441 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000568/0.5137, allocations: 287.6 kB / 386.7 MB, free: 5.133 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004983/0.5142, allocations: 258.5 kB / 386.9 MB, free: 4.871 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.5142, allocations: 4 kB / 386.9 MB, free: 4.867 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009526/0.5152, allocations: 0.6012 MB / 387.5 MB, free: 4.207 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 2.574e-06/0.5152, allocations: 0 / 387.5 MB, free: 4.207 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.001805/0.517, allocations: 0.6762 MB / 388.2 MB, free: 3.523 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/0.5172, allocations: 281 kB / 388.5 MB, free: 3.188 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00285/0.52, allocations: 1.227 MB / 389.7 MB, free: 1.941 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001523/0.5202, allocations: 37.7 kB / 389.8 MB, free: 1.898 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.5204, allocations: 118.5 kB / 389.9 MB, free: 1.777 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.5205, allocations: 83.12 kB / 390 MB, free: 1.695 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.5206, allocations: 4 kB / 390 MB, free: 1.691 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5208, allocations: 334.8 kB / 390.3 MB, free: 1.355 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004644/0.5212, allocations: 187.9 kB / 390.5 MB, free: 1.172 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004905/0.5217, allocations: 218.6 kB / 390.7 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.5221, allocations: 159.7 kB / 390.8 MB, free: 0.793 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.5221, allocations: 0 / 390.8 MB, free: 0.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001596/0.5237, allocations: 0.6181 MB / 391.5 MB, free: 172 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.5239, allocations: 190.2 kB / 391.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.524, allocations: 4 kB / 391.6 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.524, allocations: 3.984 kB / 391.6 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.217e-05/0.524, allocations: 4 kB / 391.7 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.5241, allocations: 0 / 391.7 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005473/0.5246, allocations: 39.81 kB / 391.7 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.5248, allocations: 95.86 kB / 391.8 MB, free: 15.8 MB / 346.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.0004054/0.5252, allocations: 340.4 kB / 392.1 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001932/0.5272, allocations: 0.7773 MB / 392.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.5274, allocations: 98.88 kB / 393 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006149/0.528, allocations: 192.1 kB / 393.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.528, allocations: 0 / 393.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.528, allocations: 0 / 393.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.528, allocations: 4 kB / 393.2 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003139/0.5312, allocations: 1.575 MB / 394.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5312, allocations: 0 / 394.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.5313, allocations: 4 kB / 394.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.5313, allocations: 4 kB / 394.8 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.667e-05/0.5314, allocations: 23.98 kB / 394.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.5314, allocations: 0 / 394.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5314, allocations: 3.938 kB / 394.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.5334, allocations: 1.036 MB / 395.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/0.535, allocations: 0.5932 MB / 396.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/0.5353, allocations: 51.95 kB / 396.5 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006455/0.536, allocations: 31.97 kB / 396.5 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002953/0.5363, allocations: 91.83 kB / 396.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/0.5365, allocations: 103.9 kB / 396.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002186/0.5387, allocations: 1.016 MB / 397.7 MB, free: 9.719 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5387, allocations: 0 / 397.7 MB, free: 9.719 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007819/0.5395, allocations: 104 kB / 397.8 MB, free: 9.617 MB / 346.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.002557/0.542, allocations: 1.788 MB / 399.6 MB, free: 7.793 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001545/0.5436, allocations: 0.9493 MB / 400.6 MB, free: 6.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.5436, allocations: 0 / 400.6 MB, free: 6.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.5447, allocations: 0.7815 MB / 401.3 MB, free: 5.914 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/0.5463, allocations: 230.5 kB / 401.6 MB, free: 5.688 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004967/0.5513, allocations: 1.97 MB / 403.5 MB, free: 3.668 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.5526, allocations: 1.098 MB / 404.6 MB, free: 2.543 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001645/0.5527, allocations: 25.19 kB / 404.6 MB, free: 2.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.5529, allocations: 59.41 kB / 404.7 MB, free: 2.461 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5529, allocations: 0 / 404.7 MB, free: 2.461 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04863/0.6015, allocations: 9.697 MB / 414.4 MB, free: 8.758 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003385/0.6019, allocations: 135.4 kB / 414.5 MB, free: 8.566 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/2.95, allocations: 0 / 414.5 MB, free: 8.566 MB / 362.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