Running command: translateModel(Modelica.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.VectorDelay") Notification: Performance of loadModel(Modelica): time 1.923/1.923, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.86e-05, allocations: 4 kB / 292.1 MB, free: 8.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09279/0.09284, allocations: 50.41 MB / 342.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3595/0.4524, allocations: 81.95 MB / 424.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.4527, allocations: 68.28 kB / 424.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04363/0.4963, allocations: 13.49 MB / 438 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.881e-06/0.4964, allocations: 3.938 kB / 438.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.661e-05/0.4964, allocations: 8 kB / 438.1 MB, free: 0.582 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.001444/0.4979, allocations: 1.029 MB / 439.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.4979, allocations: 12.03 kB / 439.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.4981, allocations: 94.78 kB / 439.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007358/0.4989, allocations: 419.6 kB / 439.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.634e-05/0.499, allocations: 15.56 kB / 439.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.957e-05/0.499, allocations: 15.06 kB / 439.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007105/0.4998, allocations: 337.3 kB / 440 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4998, allocations: 4 kB / 440 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.85e-05/0.4999, allocations: 15.44 kB / 440 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.728e-06/0.4999, allocations: 0 / 440 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.5003, allocations: 189.3 kB / 440.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.5022, allocations: 0.9724 MB / 441.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005692/0.5028, allocations: 294.3 kB / 441.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004707/0.5033, allocations: 266.5 kB / 441.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.5033, allocations: 4 kB / 441.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009094/0.5042, allocations: 0.5719 MB / 442.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 3.881e-06/0.5043, allocations: 4 kB / 442.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.001871/0.5061, allocations: 0.8828 MB / 443.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002186/0.5064, allocations: 276.4 kB / 443.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002778/0.5092, allocations: 1.276 MB / 444.7 MB, free: 10.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.5094, allocations: 39.81 kB / 444.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.5095, allocations: 176.2 kB / 444.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.5097, allocations: 66.28 kB / 445 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.5097, allocations: 11.38 kB / 445 MB, free: 10.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.5099, allocations: 333.8 kB / 445.3 MB, free: 9.879 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.5104, allocations: 195.9 kB / 445.5 MB, free: 9.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004406/0.5108, allocations: 229.2 kB / 445.7 MB, free: 9.586 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.5113, allocations: 354.4 kB / 446.1 MB, free: 9.262 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.115e-06/0.5114, allocations: 0 / 446.1 MB, free: 9.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001618/0.513, allocations: 0.8101 MB / 446.9 MB, free: 8.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001863/0.5132, allocations: 189.1 kB / 447.1 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.5132, allocations: 0 / 447.1 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.5132, allocations: 4 kB / 447.1 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.289e-05/0.5133, allocations: 7.984 kB / 447.1 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.5133, allocations: 3.953 kB / 447.1 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004528/0.5138, allocations: 39.45 kB / 447.1 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.5139, allocations: 95.05 kB / 447.2 MB, free: 8.215 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.0004318/0.5144, allocations: 349.9 kB / 447.6 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.5146, allocations: 98.88 kB / 447.6 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005744/0.5152, allocations: 200.9 kB / 447.8 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.281e-06/0.5152, allocations: 0 / 447.8 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.465e-06/0.5152, allocations: 3.984 kB / 447.8 MB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.5152, allocations: 7.953 kB / 447.9 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003368/0.5186, allocations: 1.826 MB / 449.7 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.917e-06/0.5187, allocations: 4 kB / 449.7 MB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.691e-05/0.5187, allocations: 3.984 kB / 449.7 MB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.436e-06/0.5187, allocations: 0 / 449.7 MB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.849e-05/0.5188, allocations: 31.23 kB / 449.7 MB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.854e-06/0.5188, allocations: 7.953 kB / 449.7 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.5188, allocations: 0 / 449.7 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.521, allocations: 1.268 MB / 451 MB, free: 4.754 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/0.5225, allocations: 0.6019 MB / 451.6 MB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.5227, allocations: 53.91 kB / 451.7 MB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000563/0.5233, allocations: 35.97 kB / 451.7 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/0.5236, allocations: 89.05 kB / 451.8 MB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/0.5237, allocations: 95.73 kB / 451.9 MB, free: 4.027 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002337/0.5261, allocations: 1.068 MB / 452.9 MB, free: 3.113 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.187e-06/0.5261, allocations: 0 / 452.9 MB, free: 3.113 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008099/0.527, allocations: 111.2 kB / 453 MB, free: 3.008 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.0003067/0.5273, allocations: 175 kB / 453.2 MB, free: 2.836 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.5288, allocations: 0.9799 MB / 454.2 MB, free: 2.055 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.441e-06/0.5288, allocations: 0 / 454.2 MB, free: 2.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009928/0.5298, allocations: 0.7918 MB / 455 MB, free: 1.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.531, allocations: 211.2 kB / 455.2 MB, free: 1.254 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003986/0.535, allocations: 1.884 MB / 457.1 MB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/0.5363, allocations: 1.106 MB / 458.2 MB, free: 14.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.5364, allocations: 15.44 kB / 458.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of SimCode: time 2.044e-06/0.5364, allocations: 0 / 458.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of Templates: time 0.01063/0.5471, allocations: 5.115 MB / 463.3 MB, free: 9.383 MB / 378.7 MB