Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.089/2.089, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.574e-05, allocations: 5.406 kB / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09931/0.09937, allocations: 44.51 MB / 299.9 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4927/0.5921, allocations: 84.83 MB / 384.8 MB, free: 12.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.5924, allocations: 69.72 kB / 384.8 MB, free: 12.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04237/0.6348, allocations: 9.844 MB / 394.7 MB, free: 10.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6349, allocations: 0 / 394.7 MB, free: 10.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.947e-05/0.6349, allocations: 7.688 kB / 394.7 MB, free: 10.68 MB / 314.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.0009195/0.6359, allocations: 0.5158 MB / 395.2 MB, free: 10.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.6359, allocations: 11.66 kB / 395.2 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.34e-05/0.636, allocations: 48.08 kB / 395.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.6361, allocations: 31.14 kB / 395.3 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000761/0.6369, allocations: 351.1 kB / 395.6 MB, free: 9.883 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.6369, allocations: 10.25 kB / 395.7 MB, free: 9.883 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.043e-05/0.637, allocations: 14.97 kB / 395.7 MB, free: 9.883 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003793/0.6374, allocations: 214.9 kB / 395.9 MB, free: 9.719 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.6374, allocations: 3.984 kB / 395.9 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.6375, allocations: 7.625 kB / 395.9 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.6375, allocations: 0 / 395.9 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.6377, allocations: 75.89 kB / 396 MB, free: 9.703 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.6389, allocations: 0.4976 MB / 396.5 MB, free: 9.344 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.6393, allocations: 166.4 kB / 396.6 MB, free: 9.293 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.6395, allocations: 48.72 kB / 396.7 MB, free: 9.281 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.6395, allocations: 3.875 kB / 396.7 MB, free: 9.281 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.6396, allocations: 38.11 kB / 396.7 MB, free: 9.238 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.695e-06/0.6396, allocations: 3.938 kB / 396.7 MB, free: 9.234 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004296/0.64, allocations: 153.9 kB / 396.9 MB, free: 9.176 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/0.6401, allocations: 289.7 kB / 397.1 MB, free: 8.832 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.6404, allocations: 254.9 kB / 397.4 MB, free: 8.695 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.6405, allocations: 28.98 kB / 397.4 MB, free: 8.664 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.6406, allocations: 208.3 kB / 397.6 MB, free: 8.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.6407, allocations: 53.75 kB / 397.7 MB, free: 8.465 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.665e-05/0.6407, allocations: 0 / 397.7 MB, free: 8.465 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.978e-05/0.6408, allocations: 325.8 kB / 398 MB, free: 8.148 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.641, allocations: 86.91 kB / 398.1 MB, free: 8.141 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.6413, allocations: 162.4 kB / 398.2 MB, free: 8.047 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.6416, allocations: 117.4 kB / 398.4 MB, free: 8.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.6416, allocations: 112 / 398.4 MB, free: 8.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005742/0.6422, allocations: 273.9 kB / 398.6 MB, free: 7.938 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.6422, allocations: 7.75 kB / 398.6 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.904e-05/0.6422, allocations: 7.875 kB / 398.6 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.6423, allocations: 0 / 398.6 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.6428, allocations: 53.64 kB / 398.7 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.6428, allocations: 7.812 kB / 398.7 MB, free: 7.918 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.643, allocations: 27.28 kB / 398.7 MB, free: 7.902 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.6431, allocations: 11.75 kB / 398.7 MB, free: 7.898 MB / 314.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 9.48e-05/0.6432, allocations: 114.7 kB / 398.9 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.414e-05/0.6432, allocations: 31.31 kB / 398.9 MB, free: 7.773 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.009e-05/0.6433, allocations: 32.42 kB / 398.9 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.6433, allocations: 0 / 398.9 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6434, allocations: 0 / 398.9 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.6434, allocations: 3.984 kB / 398.9 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.6437, allocations: 265.5 kB / 399.2 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.6437, allocations: 0 / 399.2 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/0.6441, allocations: 27.33 kB / 399.2 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.6441, allocations: 0 / 399.2 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.6442, allocations: 15.41 kB / 399.2 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.6442, allocations: 0 / 399.2 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6442, allocations: 4 kB / 399.2 MB, free: 7.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005227/0.6447, allocations: 312.4 kB / 399.5 MB, free: 7.352 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.6448, allocations: 100.5 kB / 399.6 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.721e-05/0.6449, allocations: 15.16 kB / 399.6 MB, free: 7.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.6451, allocations: 15.5 kB / 399.7 MB, free: 7.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.6452, allocations: 7.828 kB / 399.7 MB, free: 7.227 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.6452, allocations: 0 / 399.7 MB, free: 7.227 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002267/0.6454, allocations: 199 kB / 399.9 MB, free: 7.129 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6454, allocations: 3.938 kB / 399.9 MB, free: 7.125 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005395/0.646, allocations: 89.3 kB / 399.9 MB, free: 7.109 MB / 314.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.000945/0.647, allocations: 0.9096 MB / 400.9 MB, free: 6.383 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005272/0.6475, allocations: 276.9 kB / 401.1 MB, free: 6.254 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6475, allocations: 0 / 401.1 MB, free: 6.254 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.6477, allocations: 59.94 kB / 401.2 MB, free: 6.246 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006058/0.6483, allocations: 62.94 kB / 401.2 MB, free: 6.227 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.65, allocations: 0.5605 MB / 401.8 MB, free: 5.891 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.6503, allocations: 0.7771 MB / 402.6 MB, free: 5.145 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.6505, allocations: 86.12 kB / 402.7 MB, free: 5.133 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6505, allocations: 0 / 402.7 MB, free: 5.133 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.847/3.498, allocations: 4.94 MB / 407.6 MB, free: 2.645 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat does not exist to compare? outputFormat=mat