Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.402/2.402, allocations: 195 MB / 202.9 MB, free: 6.734 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.479e-05/3.496e-05, allocations: 3.312 kB / 249.8 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1474, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4625/0.6099, allocations: 75.84 MB / 370.1 MB, free: 7.27 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.6102, allocations: 71.62 kB / 370.2 MB, free: 7.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04964/0.6599, allocations: 13.27 MB / 383.4 MB, free: 20.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6599, allocations: 0 / 383.4 MB, free: 20.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.831e-05/0.66, allocations: 11.78 kB / 383.5 MB, free: 20.15 MB / 314.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.0014/0.6614, allocations: 1.021 MB / 384.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.6615, allocations: 11.69 kB / 384.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001224/0.6616, allocations: 41.19 kB / 384.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.6618, allocations: 101.4 kB / 384.6 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008127/0.6626, allocations: 412.6 kB / 385 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.977e-05/0.6627, allocations: 15.62 kB / 385 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-05/0.6628, allocations: 18.25 kB / 385.1 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005315/0.6634, allocations: 179.7 kB / 385.2 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007916/0.6642, allocations: 326.6 kB / 385.6 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.6642, allocations: 0 / 385.6 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.375e-05/0.6643, allocations: 7.75 kB / 385.6 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.6643, allocations: 3.875 kB / 385.6 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.6663, allocations: 0.9288 MB / 386.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006277/0.667, allocations: 291.5 kB / 386.8 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005313/0.6676, allocations: 255 kB / 387 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.6676, allocations: 0 / 387 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.6686, allocations: 0.6143 MB / 387.6 MB, free: 17.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 2.976e-06/0.6686, allocations: 0 / 387.6 MB, free: 17.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.002086/0.6707, allocations: 0.671 MB / 388.3 MB, free: 17.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001892/0.6709, allocations: 279.7 kB / 388.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003023/0.674, allocations: 1.225 MB / 389.8 MB, free: 16.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001868/0.6743, allocations: 39.58 kB / 389.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.6744, allocations: 122.9 kB / 390 MB, free: 16.4 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.6746, allocations: 75.58 kB / 390 MB, free: 16.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.45e-05/0.6747, allocations: 3.938 kB / 390.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.6749, allocations: 337.1 kB / 390.4 MB, free: 16.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005115/0.6754, allocations: 191.5 kB / 390.6 MB, free: 16.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005167/0.6759, allocations: 217.4 kB / 390.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.6763, allocations: 165.7 kB / 390.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.6764, allocations: 3.953 kB / 390.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001878/0.6783, allocations: 0.6086 MB / 391.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001991/0.6785, allocations: 194 kB / 391.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.6785, allocations: 0 / 391.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.6785, allocations: 3.875 kB / 391.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.575e-05/0.6786, allocations: 3.938 kB / 391.8 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.6786, allocations: 3.984 kB / 391.8 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000684/0.6793, allocations: 35.14 kB / 391.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.6795, allocations: 97.14 kB / 391.9 MB, free: 15.55 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.0004756/0.68, allocations: 353.3 kB / 392.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.6802, allocations: 111.5 kB / 392.3 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006461/0.6809, allocations: 192 kB / 392.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.6809, allocations: 0 / 392.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.6809, allocations: 3.906 kB / 392.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.6809, allocations: 3.938 kB / 392.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00358/0.6845, allocations: 1.564 MB / 394.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.6846, allocations: 0 / 394.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.632e-05/0.6846, allocations: 0 / 394.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/0.6846, allocations: 3.188 kB / 394.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.6847, allocations: 26.58 kB / 394.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.6848, allocations: 0 / 394.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.6848, allocations: 7.172 kB / 394.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.6871, allocations: 1.04 MB / 395.2 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001911/0.6891, allocations: 0.5892 MB / 395.8 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000295/0.6894, allocations: 54.67 kB / 395.8 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008257/0.6903, allocations: 35.12 kB / 395.8 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003504/0.6906, allocations: 89.89 kB / 395.9 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/0.6908, allocations: 92.86 kB / 396 MB, free: 13.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00262/0.6935, allocations: 1.021 MB / 397 MB, free: 13.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.21e-07/0.6935, allocations: 0 / 397 MB, free: 13.04 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001005/0.6945, allocations: 107 kB / 397.2 MB, free: 13.04 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.002976/0.6975, allocations: 1.792 MB / 398.9 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.6993, allocations: 0.9515 MB / 399.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.6994, allocations: 0 / 399.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.7006, allocations: 0.7796 MB / 400.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/0.7026, allocations: 220.3 kB / 400.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006066/0.7087, allocations: 1.972 MB / 402.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/0.7102, allocations: 1.103 MB / 404 MB, free: 9.238 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001952/0.7105, allocations: 24.81 kB / 404 MB, free: 9.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.7106, allocations: 58.16 kB / 404 MB, free: 9.215 MB / 314.7 MB Notification: Performance of SimCode: time 1.342e-06/0.7106, allocations: 0 / 404 MB, free: 9.215 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07351/0.7841, allocations: 10.18 MB / 414.2 MB, free: 1.793 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004189/0.7846, allocations: 139.9 kB / 414.4 MB, free: 1.602 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.254/4.039, allocations: 0 / 414.4 MB, free: 1.602 MB / 314.7 MB "" Variables in the reference:time,delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].y Variables in the result:_D_whenCondition1,_D_whenCondition2,_D_whenCondition3,_D_whenCondition4,_D_whenCondition5,_D_whenCondition6,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].tHL,delay.inertialDelaySensitive[1].tLH,delay.inertialDelaySensitive[1].t_next,delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y0,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].tHL,delay.inertialDelaySensitive[2].tLH,delay.inertialDelaySensitive[2].t_next,delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y0,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].tHL,delay.inertialDelaySensitive[3].tLH,delay.inertialDelaySensitive[3].t_next,delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y0,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.n,delay.tHL,delay.tLH,delay.x[1],delay.x[2],delay.x[3],delay.y[1],delay.y[2],delay.y[3],table.n,table.t[1],table.t[2],table.t[3],table.t[4],table.t[5],table.x[1],table.x[2],table.x[3],table.x[4],table.x[5],table.y,table.y0,table1.n,table1.t[1],table1.t[2],table1.x[1],table1.x[2],table1.y,table1.y0,table2.n,table2.t[1],table2.t[2],table2.t[3],table2.x[1],table2.x[2],table2.x[3],table2.y,table2.y0,time