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_trunk_cpp_Modelica.Electrical.Digital.Examples.VectorDelay") Notification: Performance of loadModel(Modelica): time 2.008/2.008, allocations: 224.7 MB / 241.1 MB, free: 1.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.949e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 50.41 MB / 345 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.002078/0.1124, allocations: 1.186 MB / 346.2 MB, free: 7.738 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002591/0.1151, allocations: 0.8 MB / 347 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.1152, allocations: 0 / 347 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.1154, allocations: 11.94 kB / 347 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.679e-05/0.1155, allocations: 19.91 kB / 347 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.1157, allocations: 39.94 kB / 347 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.116, allocations: 115.8 kB / 347.1 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.1161, allocations: 36.14 kB / 347.2 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004889/0.1166, allocations: 279.5 kB / 347.5 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.1169, allocations: 155.7 kB / 347.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.96e-05/0.117, allocations: 12 kB / 347.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.379e-05/0.1171, allocations: 4 kB / 347.6 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.1173, allocations: 171.4 kB / 347.8 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.1175, allocations: 36 kB / 347.8 MB, free: 6.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.1185, allocations: 0.7993 MB / 348.6 MB, free: 5.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1186, allocations: 0 / 348.6 MB, free: 5.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.1186, allocations: 0 / 348.6 MB, free: 5.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.947e-05/0.1186, allocations: 0 / 348.6 MB, free: 5.27 MB / 282.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.001457/0.1201, allocations: 0.9996 MB / 349.6 MB, free: 4.184 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.1201, allocations: 11.97 kB / 349.6 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000222/0.1204, allocations: 98.78 kB / 349.7 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009049/0.1213, allocations: 432.7 kB / 350.2 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/0.1214, allocations: 19.92 kB / 350.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.877e-05/0.1215, allocations: 20 kB / 350.2 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008163/0.1223, allocations: 300 kB / 350.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1223, allocations: 4 kB / 350.5 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.792e-05/0.1224, allocations: 11.95 kB / 350.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.1224, allocations: 8 kB / 350.5 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005375/0.1229, allocations: 171.8 kB / 350.7 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.1247, allocations: 0.9468 MB / 351.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006671/0.1254, allocations: 271.8 kB / 351.9 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.1255, allocations: 0 / 351.9 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009515/0.1264, allocations: 0.5193 MB / 352.4 MB, free: 1.184 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 2.154e-06/0.1264, allocations: 0 / 352.4 MB, free: 1.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.00282/0.1293, allocations: 1.229 MB / 353.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001759/0.1295, allocations: 277 kB / 353.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003041/0.1325, allocations: 1.27 MB / 355.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.1327, allocations: 45.69 kB / 355.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.1328, allocations: 184.8 kB / 355.4 MB, free: 14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.133, allocations: 67.2 kB / 355.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.133, allocations: 8 kB / 355.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1332, allocations: 322.8 kB / 355.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005015/0.1337, allocations: 167.8 kB / 356 MB, free: 13.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005228/0.1342, allocations: 208.9 kB / 356.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006011/0.1349, allocations: 338.1 kB / 356.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1349, allocations: 0 / 356.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001864/0.1368, allocations: 0.7569 MB / 357.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001733/0.137, allocations: 194.2 kB / 357.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.137, allocations: 0 / 357.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.137, allocations: 7.875 kB / 357.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.236e-05/0.1371, allocations: 8.094 kB / 357.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.1371, allocations: 4 kB / 357.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005464/0.1377, allocations: 35.83 kB / 357.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.1378, allocations: 95.92 kB / 357.6 MB, free: 11.67 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.delay.inertialDelaySensitive[3].y,$whenCondition5,$whenCondition6,$PRE.delay.inertialDelaySensitive[3].x,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,$PRE.delay.inertialDelaySensitive[2].y,$whenCondition3,$whenCondition4,$PRE.delay.inertialDelaySensitive[2].x,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,$PRE.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$PRE.delay.inertialDelaySensitive[1].x,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) * 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.001604/0.1395, allocations: 0.7857 MB / 358.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.1397, allocations: 98.83 kB / 358.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005299/0.1402, allocations: 199.9 kB / 358.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1403, allocations: 4 kB / 358.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.1403, allocations: 4 kB / 358.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1403, allocations: 0 / 358.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/0.1439, allocations: 1.753 MB / 360.4 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.144, allocations: 0 / 360.4 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.236e-05/0.144, allocations: 11.94 kB / 360.4 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.144, allocations: 0 / 360.4 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.75e-05/0.1441, allocations: 27.98 kB / 360.5 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.217e-06/0.1441, allocations: 8 kB / 360.5 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.1442, allocations: 7.984 kB / 360.5 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/0.1465, allocations: 1.195 MB / 361.7 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/0.1484, allocations: 0.5852 MB / 362.3 MB, free: 6.766 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002779/0.1487, allocations: 63.95 kB / 362.3 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005348/0.1492, allocations: 23.89 kB / 362.3 MB, free: 6.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/0.1495, allocations: 47.94 kB / 362.4 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001675/0.1497, allocations: 99.91 kB / 362.5 MB, free: 6.535 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002665/0.1523, allocations: 1.075 MB / 363.6 MB, free: 5.449 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.1524, allocations: 0 / 363.6 MB, free: 5.449 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007637/0.1531, allocations: 108 kB / 363.7 MB, free: 5.344 MB / 298.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.0003473/0.1535, allocations: 183.3 kB / 363.8 MB, free: 5.156 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.1553, allocations: 0.9414 MB / 364.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1554, allocations: 0 / 364.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.1566, allocations: 0.7697 MB / 365.6 MB, free: 3.297 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.1581, allocations: 205.5 kB / 365.8 MB, free: 3.098 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005376/0.1635, allocations: 2.379 MB / 368.1 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/0.1649, allocations: 1.097 MB / 369.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.1649, allocations: 11.44 kB / 369.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.165, allocations: 0 / 369.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of Templates: time 0.01166/0.1766, allocations: 4.92 MB / 374.2 MB, free: 10.65 MB / 314.7 MB