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.2_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadModel(Modelica): time 2.256/2.256, allocations: 194.9 MB / 211.2 MB, free: 8.355 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.158e-05/3.148e-05, allocations: 7.938 kB / 258.8 MB, free: 8.727 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.305, allocations: 44.51 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002258/0.3074, allocations: 1.278 MB / 304.6 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006846/0.3143, allocations: 2.84 MB / 307.4 MB, free: 9.582 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.3145, allocations: 0 / 307.4 MB, free: 9.582 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004026/0.3149, allocations: 67.69 kB / 307.5 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.014e-05/0.315, allocations: 7.984 kB / 307.5 MB, free: 9.508 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004084/0.3191, allocations: 0.8692 MB / 308.3 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.3194, allocations: 79.72 kB / 308.4 MB, free: 8.559 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.626e-05/0.3195, allocations: 8 kB / 308.4 MB, free: 8.551 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.46e-05/0.3196, allocations: 43.91 kB / 308.5 MB, free: 8.508 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.3197, allocations: 43.84 kB / 308.5 MB, free: 8.465 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002575/0.3223, allocations: 1.05 MB / 309.6 MB, free: 7.414 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000495/0.3229, allocations: 68 kB / 309.6 MB, free: 7.348 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.359e-05/0.323, allocations: 31.91 kB / 309.7 MB, free: 7.316 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.323, allocations: 4 kB / 309.7 MB, free: 7.312 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.325, allocations: 1.08 MB / 310.7 MB, free: 6.23 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.325, allocations: 0 / 310.7 MB, free: 6.23 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.325, allocations: 0 / 310.7 MB, free: 6.23 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.325, allocations: 0 / 310.7 MB, free: 6.23 MB / 250.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.001309/0.3264, allocations: 0.5341 MB / 311.3 MB, free: 5.648 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.3264, allocations: 12.03 kB / 311.3 MB, free: 5.637 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.164e-05/0.3265, allocations: 11.91 kB / 311.3 MB, free: 5.625 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.3268, allocations: 206.8 kB / 311.5 MB, free: 5.383 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.3269, allocations: 8 kB / 311.5 MB, free: 5.375 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.3269, allocations: 19.84 kB / 311.5 MB, free: 5.355 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.3273, allocations: 121.1 kB / 311.7 MB, free: 5.219 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.3273, allocations: 4 kB / 311.7 MB, free: 5.215 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.3273, allocations: 7.938 kB / 311.7 MB, free: 5.207 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3273, allocations: 0 / 311.7 MB, free: 5.207 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/0.3276, allocations: 63.95 kB / 311.7 MB, free: 5.145 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008521/0.3285, allocations: 376.6 kB / 312.1 MB, free: 4.727 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005369/0.329, allocations: 126.5 kB / 312.2 MB, free: 4.594 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.3291, allocations: 0 / 312.2 MB, free: 4.594 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.3291, allocations: 38.56 kB / 312.3 MB, free: 4.547 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.3291, allocations: 0 / 312.3 MB, free: 4.547 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.003521/0.3326, allocations: 1.24 MB / 313.5 MB, free: 3.176 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/0.3328, allocations: 128.5 kB / 313.6 MB, free: 3.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.333, allocations: 153.5 kB / 313.8 MB, free: 2.859 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.3331, allocations: 29.7 kB / 313.8 MB, free: 2.824 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.3332, allocations: 178.9 kB / 314 MB, free: 2.648 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.119e-05/0.3333, allocations: 51.58 kB / 314 MB, free: 2.598 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/0.3333, allocations: 4 kB / 314 MB, free: 2.594 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3334, allocations: 322.8 kB / 314.3 MB, free: 2.27 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/0.3337, allocations: 99.88 kB / 314.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.3341, allocations: 139.3 kB / 314.6 MB, free: 2.023 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.3344, allocations: 120 kB / 314.7 MB, free: 1.906 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3344, allocations: 0 / 314.7 MB, free: 1.906 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008877/0.3353, allocations: 298.2 kB / 315 MB, free: 1.605 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.3354, allocations: 4 kB / 315 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/0.3354, allocations: 7.984 kB / 315 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002817/0.3357, allocations: 44.83 kB / 315 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.336, allocations: 31.97 kB / 315.1 MB, free: 1.516 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.3378, allocations: 1.417 MB / 316.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.3381, allocations: 15.98 kB / 316.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.3381, allocations: 4 kB / 316.5 MB, free: 15.95 MB / 266.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.0001875/0.3383, allocations: 137.8 kB / 316.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.3384, allocations: 7.906 kB / 316.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.056e-05/0.3385, allocations: 33.7 kB / 316.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.3385, allocations: 4 kB / 316.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3385, allocations: 0 / 316.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3385, allocations: 0 / 316.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.3389, allocations: 249.5 kB / 316.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3389, allocations: 0 / 316.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005479/0.3395, allocations: 47.97 kB / 317 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.3395, allocations: 0 / 317 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.3396, allocations: 8 kB / 317 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.3396, allocations: 0 / 317 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3396, allocations: 4 kB / 317 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009706/0.3406, allocations: 425.2 kB / 317.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/0.3407, allocations: 85.02 kB / 317.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.3407, allocations: 8.031 kB / 317.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.3409, allocations: 8 kB / 317.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.341, allocations: 7.984 kB / 317.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.3411, allocations: 8 kB / 317.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001564/0.3412, allocations: 119.2 kB / 317.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3412, allocations: 3.938 kB / 317.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.002163/0.3434, allocations: 0.5117 MB / 318.2 MB, free: 14.2 MB / 266.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.002043/0.3455, allocations: 0.5532 MB / 318.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.3467, allocations: 408.5 kB / 319.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3467, allocations: 0 / 319.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.347, allocations: 91.89 kB / 319.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.3474, allocations: 23.92 kB / 319.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.3484, allocations: 478.5 kB / 319.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.3488, allocations: 0.7363 MB / 320.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.536e-05/0.3489, allocations: 19.44 kB / 320.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3489, allocations: 0 / 320.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of Templates: time 0.01903/0.3679, allocations: 7.074 MB / 327.5 MB, free: 4.742 MB / 266.7 MB