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_3.2.1_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadModel(Modelica): time 1.806/1.806, allocations: 171.2 MB / 186.3 MB, free: 1.418 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.967e-05/3.964e-05, allocations: 6.188 kB / 228.1 MB, free: 8.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.12, allocations: 38.76 MB / 266.9 MB, free: 1.164 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002374/0.1225, allocations: 1.275 MB / 268.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006709/0.1292, allocations: 2.845 MB / 271 MB, free: 13.01 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.1295, allocations: 3.938 kB / 271 MB, free: 13.01 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004113/0.1299, allocations: 55.83 kB / 271.1 MB, free: 12.95 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.353e-05/0.13, allocations: 11.92 kB / 271.1 MB, free: 12.94 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00368/0.1337, allocations: 0.8809 MB / 271.9 MB, free: 12.06 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.134, allocations: 71.8 kB / 272 MB, free: 11.99 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1341, allocations: 19.97 kB / 272 MB, free: 11.97 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1342, allocations: 43.91 kB / 272.1 MB, free: 11.93 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1343, allocations: 43.84 kB / 272.1 MB, free: 11.88 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.1365, allocations: 1.046 MB / 273.2 MB, free: 10.84 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004733/0.1371, allocations: 71.94 kB / 273.2 MB, free: 10.77 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.788e-05/0.1372, allocations: 23.91 kB / 273.3 MB, free: 10.74 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.1372, allocations: 8 kB / 273.3 MB, free: 10.73 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.1391, allocations: 1.088 MB / 274.4 MB, free: 9.645 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1392, allocations: 0 / 274.4 MB, free: 9.645 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.1392, allocations: 0 / 274.4 MB, free: 9.645 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.1392, allocations: 4 kB / 274.4 MB, free: 9.641 MB / 234.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.001338/0.1406, allocations: 0.5226 MB / 274.9 MB, free: 9.07 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.1407, allocations: 8.031 kB / 274.9 MB, free: 9.062 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.288e-05/0.1407, allocations: 19.8 kB / 274.9 MB, free: 9.043 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.1411, allocations: 214.8 kB / 275.1 MB, free: 8.793 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.1411, allocations: 7.953 kB / 275.1 MB, free: 8.785 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.1412, allocations: 12 kB / 275.1 MB, free: 8.773 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.1416, allocations: 125.1 kB / 275.3 MB, free: 8.633 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.1416, allocations: 0 / 275.3 MB, free: 8.633 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.1416, allocations: 4 kB / 275.3 MB, free: 8.629 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1416, allocations: 0 / 275.3 MB, free: 8.629 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.1419, allocations: 75.83 kB / 275.3 MB, free: 8.555 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008646/0.1428, allocations: 376.5 kB / 275.7 MB, free: 8.137 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005525/0.1434, allocations: 134.5 kB / 275.8 MB, free: 7.996 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.1434, allocations: 4 kB / 275.8 MB, free: 7.992 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.1435, allocations: 30.56 kB / 275.9 MB, free: 7.953 MB / 234.7 MB Notification: Performance of pre-optimization done (n=9): time 2.795e-06/0.1435, allocations: 0 / 275.9 MB, free: 7.953 MB / 234.7 MB Notification: Performance of matching and sorting (n=15): time 0.003564/0.147, allocations: 1.223 MB / 277.1 MB, free: 6.598 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/0.1472, allocations: 128.6 kB / 277.2 MB, free: 6.441 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.1474, allocations: 161.4 kB / 277.4 MB, free: 6.277 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.1475, allocations: 33.7 kB / 277.4 MB, free: 6.238 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1476, allocations: 178.8 kB / 277.6 MB, free: 6.059 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.564e-05/0.1477, allocations: 47.27 kB / 277.6 MB, free: 6.012 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.658e-05/0.1477, allocations: 4 kB / 277.6 MB, free: 6.008 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1478, allocations: 326.8 kB / 278 MB, free: 5.68 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.1481, allocations: 91.95 kB / 278 MB, free: 5.59 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.1485, allocations: 139.3 kB / 278.2 MB, free: 5.441 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.1488, allocations: 111.9 kB / 278.3 MB, free: 5.332 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1488, allocations: 0 / 278.3 MB, free: 5.332 MB / 234.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008969/0.1497, allocations: 302.2 kB / 278.6 MB, free: 5.027 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1498, allocations: 4 kB / 278.6 MB, free: 5.023 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.024e-05/0.1498, allocations: 4 kB / 278.6 MB, free: 5.02 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000279/0.1501, allocations: 48.75 kB / 278.6 MB, free: 4.969 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.1504, allocations: 31.98 kB / 278.7 MB, free: 4.938 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.1521, allocations: 1.417 MB / 280.1 MB, free: 3.387 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.1524, allocations: 12.27 kB / 280.1 MB, free: 3.375 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.1524, allocations: 8 kB / 280.1 MB, free: 3.367 MB / 234.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.000188/0.1526, allocations: 137.8 kB / 280.2 MB, free: 3.223 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/0.1527, allocations: 15.81 kB / 280.3 MB, free: 3.207 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.136e-05/0.1528, allocations: 29.45 kB / 280.3 MB, free: 3.18 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1528, allocations: 4 kB / 280.3 MB, free: 3.176 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1528, allocations: 0 / 280.3 MB, free: 3.176 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1528, allocations: 0 / 280.3 MB, free: 3.176 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.1532, allocations: 245.5 kB / 280.5 MB, free: 2.887 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.1532, allocations: 8 kB / 280.5 MB, free: 2.879 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000527/0.1538, allocations: 51.95 kB / 280.6 MB, free: 2.828 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/0.1538, allocations: 4 kB / 280.6 MB, free: 2.824 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.1538, allocations: 4 kB / 280.6 MB, free: 2.82 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.1538, allocations: 0 / 280.6 MB, free: 2.82 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1539, allocations: 0 / 280.6 MB, free: 2.82 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009689/0.1548, allocations: 423 kB / 281 MB, free: 2.391 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.1549, allocations: 88.92 kB / 281.1 MB, free: 2.285 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.155, allocations: 4 kB / 281.1 MB, free: 2.281 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.1552, allocations: 8.031 kB / 281.1 MB, free: 2.273 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.1553, allocations: 15.98 kB / 281.1 MB, free: 2.258 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.1553, allocations: 3.938 kB / 281.1 MB, free: 2.254 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001562/0.1555, allocations: 124.2 kB / 281.3 MB, free: 2.133 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1555, allocations: 4 kB / 281.3 MB, free: 2.129 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002182/0.1577, allocations: 0.5156 MB / 281.8 MB, free: 1.613 MB / 234.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.002097/0.1598, allocations: 0.5482 MB / 282.3 MB, free: 1.062 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.161, allocations: 398.1 kB / 282.7 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.1611, allocations: 0 / 282.7 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.1614, allocations: 95.83 kB / 282.8 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.1618, allocations: 27.94 kB / 282.8 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.1628, allocations: 474.3 kB / 283.3 MB, free: 32 kB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.1633, allocations: 0.7402 MB / 284 MB, free: 15.27 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.885e-05/0.1634, allocations: 15.44 kB / 284 MB, free: 15.25 MB / 250.7 MB Notification: Performance of SimCode: time 1.263e-06/0.1634, allocations: 4 kB / 284.1 MB, free: 15.25 MB / 250.7 MB Notification: Performance of Templates: time 0.01913/0.1826, allocations: 7.078 MB / 291.1 MB, free: 8.164 MB / 250.7 MB