Running command: translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadModel(Modelica): time 2.164/2.164, allocations: 224.7 MB / 241.1 MB, free: 1.695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.018e-05/2.998e-05, allocations: 4 kB / 294.5 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1072, allocations: 50.41 MB / 345 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002475/0.1097, allocations: 1.484 MB / 346.4 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007363/0.1171, allocations: 3.093 MB / 349.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.1174, allocations: 7.938 kB / 349.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005927/0.118, allocations: 143.5 kB / 349.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.1182, allocations: 31.81 kB / 349.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004793/0.123, allocations: 1.199 MB / 350.9 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004836/0.1236, allocations: 147.6 kB / 351.1 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1237, allocations: 23.97 kB / 351.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.1239, allocations: 75.77 kB / 351.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.1241, allocations: 79.69 kB / 351.2 MB, free: 2.668 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000369/0.1245, allocations: 107.8 kB / 351.3 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6e-05/0.1246, allocations: 8 kB / 351.3 MB, free: 2.555 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.1247, allocations: 63.8 kB / 351.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.1248, allocations: 19.94 kB / 351.4 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004648/0.1253, allocations: 235.5 kB / 351.7 MB, free: 2.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1253, allocations: 0 / 351.7 MB, free: 2.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1253, allocations: 0 / 351.7 MB, free: 2.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.1253, allocations: 4 kB / 351.7 MB, free: 2.238 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000972/0.1263, allocations: 0.5065 MB / 352.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1263, allocations: 8.031 kB / 352.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.503e-05/0.1265, allocations: 35.58 kB / 352.2 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005068/0.127, allocations: 263.2 kB / 352.5 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.127, allocations: 12.19 kB / 352.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.027e-05/0.1271, allocations: 16 kB / 352.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004939/0.1276, allocations: 202.6 kB / 352.7 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1276, allocations: 0 / 352.7 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.1277, allocations: 8 kB / 352.7 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.1277, allocations: 4 kB / 352.7 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.128, allocations: 92.45 kB / 352.8 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.1292, allocations: 496.2 kB / 353.3 MB, free: 460 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.1297, allocations: 170.5 kB / 353.4 MB, free: 280 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.1298, allocations: 4 kB / 353.5 MB, free: 276 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.1298, allocations: 38.56 kB / 353.5 MB, free: 228 kB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 3.186e-06/0.1298, allocations: 0 / 353.5 MB, free: 228 kB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008051/0.1307, allocations: 229.5 kB / 353.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/0.1308, allocations: 282.7 kB / 354 MB, free: 15.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004064/0.1313, allocations: 251.6 kB / 354.2 MB, free: 15.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.674e-05/0.1313, allocations: 29.7 kB / 354.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.1315, allocations: 214.8 kB / 354.5 MB, free: 15.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.746e-05/0.1316, allocations: 51.3 kB / 354.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.627e-05/0.1316, allocations: 3.938 kB / 354.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1318, allocations: 326.8 kB / 354.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.1321, allocations: 99.94 kB / 354.9 MB, free: 14.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/0.1325, allocations: 180.5 kB / 355.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.1329, allocations: 123.9 kB / 355.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1329, allocations: 0 / 355.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007849/0.1337, allocations: 293.3 kB / 355.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.1337, allocations: 4 kB / 355.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-05/0.1338, allocations: 7.984 kB / 355.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.1338, allocations: 0 / 355.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/0.1343, allocations: 55.91 kB / 355.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1343, allocations: 0 / 355.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.1345, allocations: 27.83 kB / 355.6 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.1346, allocations: 11.98 kB / 355.6 MB, free: 13.95 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 (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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.000229/0.1348, allocations: 145.8 kB / 355.8 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.091e-05/0.1349, allocations: 31.58 kB / 355.8 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.534e-05/0.135, allocations: 29.97 kB / 355.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/0.135, allocations: 4 kB / 355.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.1351, allocations: 0 / 355.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.1351, allocations: 3.984 kB / 355.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.1355, allocations: 273.4 kB / 356.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1355, allocations: 0 / 356.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/0.1359, allocations: 23.98 kB / 356.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.1359, allocations: 4 kB / 356.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.136, allocations: 12.06 kB / 356.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.136, allocations: 3.938 kB / 356.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.136, allocations: 0 / 356.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007712/0.1368, allocations: 335 kB / 356.5 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.1369, allocations: 104.8 kB / 356.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/0.137, allocations: 12.02 kB / 356.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.1372, allocations: 7.984 kB / 356.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.1373, allocations: 4 kB / 356.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.1373, allocations: 11.98 kB / 356.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002975/0.1376, allocations: 187.1 kB / 356.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1376, allocations: 0 / 356.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005248/0.1382, allocations: 87.83 kB / 356.9 MB, free: 12.59 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0003577/0.1385, allocations: 143.2 kB / 357 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007861/0.1393, allocations: 278.7 kB / 357.3 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.1394, allocations: 4 kB / 357.3 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.1396, allocations: 71.89 kB / 357.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/0.1402, allocations: 64.64 kB / 357.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.1419, allocations: 0.6455 MB / 358.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.1424, allocations: 0.7794 MB / 358.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.1426, allocations: 23.44 kB / 358.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1426, allocations: 0 / 358.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of Templates: time 0.01068/0.1533, allocations: 3.854 MB / 362.7 MB, free: 6.648 MB / 298.7 MB