Running command: translateModel(Modelica.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="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",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Digital.Examples.VectorDelay") Notification: Performance of loadModel(Modelica): time 1.636/1.636, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.739e-05/2.756e-05, allocations: 7.984 kB / 225 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2087, allocations: 38.76 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1059/0.3147, allocations: 71.2 MB / 335 MB, free: 2.559 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.3149, allocations: 67.95 kB / 335 MB, free: 2.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04292/0.3579, allocations: 13.31 MB / 348.3 MB, free: 5.156 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.179e-06/0.3579, allocations: 0 / 348.3 MB, free: 5.156 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.511e-05/0.358, allocations: 12 kB / 348.3 MB, free: 5.145 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.001394/0.3594, allocations: 1.022 MB / 349.4 MB, free: 4.039 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3594, allocations: 8.031 kB / 349.4 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.3596, allocations: 98.83 kB / 349.5 MB, free: 3.934 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006876/0.3603, allocations: 424.8 kB / 349.9 MB, free: 3.465 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.791e-05/0.3604, allocations: 12 kB / 349.9 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/0.3605, allocations: 20 kB / 349.9 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007264/0.3612, allocations: 332 kB / 350.2 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3612, allocations: 0 / 350.2 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-05/0.3613, allocations: 12 kB / 350.3 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3613, allocations: 0 / 350.3 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004505/0.3618, allocations: 199.8 kB / 350.4 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.3636, allocations: 0.9665 MB / 351.4 MB, free: 1.863 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005721/0.3642, allocations: 296.1 kB / 351.7 MB, free: 1.547 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004956/0.3647, allocations: 262.5 kB / 352 MB, free: 1.281 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.945e-06/0.3647, allocations: 3.938 kB / 352 MB, free: 1.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009205/0.3656, allocations: 0.5778 MB / 352.5 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 3.208e-06/0.3657, allocations: 0 / 352.5 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.001927/0.3676, allocations: 0.8929 MB / 353.4 MB, free: 15.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002013/0.3678, allocations: 281 kB / 353.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002628/0.3705, allocations: 1.266 MB / 355 MB, free: 14.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.3706, allocations: 45.69 kB / 355 MB, free: 14.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.3707, allocations: 172.9 kB / 355.2 MB, free: 13.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.3709, allocations: 75.42 kB / 355.3 MB, free: 13.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.371, allocations: 4 kB / 355.3 MB, free: 13.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3711, allocations: 322.8 kB / 355.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004647/0.3716, allocations: 203.8 kB / 355.8 MB, free: 13.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/0.3721, allocations: 234.5 kB / 356 MB, free: 13.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005284/0.3726, allocations: 357.8 kB / 356.4 MB, free: 12.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3727, allocations: 4 kB / 356.4 MB, free: 12.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001659/0.3743, allocations: 0.8156 MB / 357.2 MB, free: 11.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001786/0.3745, allocations: 190 kB / 357.4 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.22e-06/0.3745, allocations: 3.938 kB / 357.4 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.3746, allocations: 4 kB / 357.4 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.615e-05/0.3746, allocations: 0 / 357.4 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3746, allocations: 4 kB / 357.4 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/0.3751, allocations: 39.88 kB / 357.4 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.3753, allocations: 91.88 kB / 357.5 MB, free: 11.4 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.0004185/0.3757, allocations: 348.6 kB / 357.8 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.3759, allocations: 102.9 kB / 357.9 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00056/0.3765, allocations: 204 kB / 358.1 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.711e-06/0.3765, allocations: 0 / 358.1 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.607e-06/0.3765, allocations: 4 kB / 358.1 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.56e-06/0.3765, allocations: 0 / 358.1 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003368/0.3799, allocations: 1.831 MB / 360 MB, free: 8.785 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.233e-06/0.3799, allocations: 0 / 360 MB, free: 8.785 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.046e-05/0.38, allocations: 7.953 kB / 360 MB, free: 8.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.702e-05/0.38, allocations: 4 kB / 360 MB, free: 8.773 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.983e-05/0.3801, allocations: 27.98 kB / 360 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.3801, allocations: 0 / 360 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.998e-06/0.3801, allocations: 3.938 kB / 360 MB, free: 8.742 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.3823, allocations: 1.261 MB / 361.3 MB, free: 7.414 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/0.3838, allocations: 0.593 MB / 361.9 MB, free: 6.801 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.384, allocations: 47.97 kB / 361.9 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005618/0.3845, allocations: 43.88 kB / 362 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/0.3848, allocations: 91.8 kB / 362.1 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/0.385, allocations: 95.92 kB / 362.1 MB, free: 6.527 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002229/0.3872, allocations: 1.067 MB / 363.2 MB, free: 5.445 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.01e-07/0.3873, allocations: 0 / 363.2 MB, free: 5.445 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007737/0.388, allocations: 108 kB / 363.3 MB, free: 5.34 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.0003115/0.3884, allocations: 179.3 kB / 363.5 MB, free: 5.156 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001591/0.39, allocations: 0.9806 MB / 364.5 MB, free: 4.102 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.833e-06/0.39, allocations: 0 / 364.5 MB, free: 4.102 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.3911, allocations: 0.7932 MB / 365.3 MB, free: 3.234 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.3923, allocations: 219.8 kB / 365.5 MB, free: 3.023 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/0.3963, allocations: 1.878 MB / 367.4 MB, free: 1.105 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1774/0.5737, allocations: 1.109 MB / 368.5 MB, free: 93.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/0.5738, allocations: 14.94 kB / 368.5 MB, free: 93.75 MB / 314.7 MB Notification: Performance of SimCode: time 2.084e-06/0.5738, allocations: 0 / 368.5 MB, free: 93.75 MB / 314.7 MB Notification: Performance of Templates: time 0.008824/0.5826, allocations: 5.102 MB / 373.6 MB, free: 93.48 MB / 314.7 MB