Running command: translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadModel(Modelica): time 2.081/2.081, allocations: 224.8 MB / 241.1 MB, free: 1.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.794e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1055, allocations: 50.41 MB / 345 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002259/0.1078, allocations: 1.293 MB / 346.3 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006863/0.1147, allocations: 2.8 MB / 349.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.115, allocations: 4 kB / 349.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003724/0.1154, allocations: 55.83 kB / 349.1 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.553e-05/0.1154, allocations: 11.92 kB / 349.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003674/0.1191, allocations: 0.8731 MB / 350 MB, free: 3.891 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.1194, allocations: 75.8 kB / 350.1 MB, free: 3.816 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1195, allocations: 15.98 kB / 350.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.194e-05/0.1196, allocations: 43.91 kB / 350.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.1198, allocations: 39.84 kB / 350.2 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002152/0.1219, allocations: 1.042 MB / 351.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004519/0.1224, allocations: 68 kB / 351.3 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.1226, allocations: 31.91 kB / 351.3 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.044e-05/0.1226, allocations: 8 kB / 351.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.1244, allocations: 1.084 MB / 352.4 MB, free: 1.484 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1245, allocations: 0 / 352.4 MB, free: 1.484 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.676e-06/0.1245, allocations: 0 / 352.4 MB, free: 1.484 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.1245, allocations: 7.938 kB / 352.4 MB, free: 1.477 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001264/0.1258, allocations: 0.5186 MB / 352.9 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.1259, allocations: 12.03 kB / 352.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.113e-05/0.126, allocations: 23.69 kB / 353 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006364/0.1266, allocations: 206.8 kB / 353.2 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.1267, allocations: 8 kB / 353.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.077e-05/0.1268, allocations: 4 kB / 353.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.1272, allocations: 137 kB / 353.3 MB, free: 480 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.1273, allocations: 0 / 353.3 MB, free: 480 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.1273, allocations: 0 / 353.3 MB, free: 480 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.1273, allocations: 4 kB / 353.3 MB, free: 476 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/0.1276, allocations: 63.84 kB / 353.4 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008884/0.1285, allocations: 380.6 kB / 353.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000557/0.1291, allocations: 134.5 kB / 353.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.1291, allocations: 7.953 kB / 353.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.1292, allocations: 34.56 kB / 353.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.345e-06/0.1292, allocations: 0 / 353.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.003594/0.1328, allocations: 1.227 MB / 355.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.1329, allocations: 132.5 kB / 355.3 MB, free: 14.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.1331, allocations: 161.4 kB / 355.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.1332, allocations: 25.7 kB / 355.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.1333, allocations: 183.1 kB / 355.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.786e-05/0.1334, allocations: 55.25 kB / 355.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/0.1334, allocations: 0 / 355.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1336, allocations: 322.8 kB / 356 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.1339, allocations: 99.89 kB / 356.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.1343, allocations: 143.2 kB / 356.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.1346, allocations: 113.9 kB / 356.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1346, allocations: 0 / 356.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009045/0.1356, allocations: 294.3 kB / 356.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.1356, allocations: 8 kB / 356.7 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.1356, allocations: 0 / 356.7 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002872/0.1359, allocations: 52.7 kB / 356.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.1362, allocations: 31.98 kB / 356.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.1381, allocations: 1.413 MB / 358.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.1383, allocations: 12.02 kB / 358.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.1384, allocations: 8.25 kB / 358.2 MB, free: 11.2 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002343/0.1386, allocations: 133.8 kB / 358.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.1387, allocations: 19.75 kB / 358.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.941e-05/0.1388, allocations: 25.52 kB / 358.3 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.1388, allocations: 3.953 kB / 358.4 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1388, allocations: 0 / 358.4 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1388, allocations: 0 / 358.4 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.1392, allocations: 245.6 kB / 358.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1393, allocations: 0 / 358.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005357/0.1398, allocations: 63.95 kB / 358.7 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.1398, allocations: 0 / 358.7 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.1399, allocations: 0 / 358.7 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1399, allocations: 3.938 kB / 358.7 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.1399, allocations: 7.953 kB / 358.7 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009315/0.1408, allocations: 419.1 kB / 359.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.08e-05/0.1409, allocations: 88.92 kB / 359.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.141, allocations: 4 kB / 359.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.1412, allocations: 12.03 kB / 359.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.1413, allocations: 11.94 kB / 359.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.1413, allocations: 4 kB / 359.2 MB, free: 10.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001583/0.1415, allocations: 123.2 kB / 359.3 MB, free: 9.957 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1415, allocations: 0 / 359.3 MB, free: 9.957 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002106/0.1436, allocations: 0.5156 MB / 359.8 MB, free: 9.441 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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.002046/0.1457, allocations: 0.5571 MB / 360.4 MB, free: 8.883 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.1468, allocations: 398.2 kB / 360.8 MB, free: 8.469 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.1469, allocations: 0 / 360.8 MB, free: 8.469 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.1472, allocations: 91.83 kB / 360.9 MB, free: 8.379 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.1475, allocations: 23.92 kB / 360.9 MB, free: 8.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.1486, allocations: 482.3 kB / 361.4 MB, free: 7.852 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.149, allocations: 0.7363 MB / 362.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.1492, allocations: 15.44 kB / 362.1 MB, free: 7.074 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1492, allocations: 4 kB / 362.1 MB, free: 7.07 MB / 298.7 MB Notification: Performance of Templates: time 0.01911/0.1683, allocations: 7.075 MB / 369.2 MB, free: 15.99 MB / 314.7 MB