Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.848/1.848, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.445e-05, allocations: 0 / 225.1 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2767, allocations: 38.77 MB / 263.8 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1695/0.4463, allocations: 79.65 MB / 343.5 MB, free: 9.988 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/0.4467, allocations: 71.95 kB / 343.5 MB, free: 9.918 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04987/0.4965, allocations: 9.859 MB / 353.4 MB, free: 44 kB / 298.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4966, allocations: 4 kB / 353.4 MB, free: 40 kB / 298.7 MB Notification: Performance of Transformations before backend: time 4.559e-05/0.4967, allocations: 12 kB / 353.4 MB, free: 28 kB / 298.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.001108/0.4978, allocations: 0.5174 MB / 353.9 MB, free: 15.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.4978, allocations: 8.031 kB / 353.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.316e-05/0.4979, allocations: 46.48 kB / 354 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.4981, allocations: 35.62 kB / 354 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000919/0.499, allocations: 351.7 kB / 354.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.4991, allocations: 8.188 kB / 354.4 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.4991, allocations: 23.84 kB / 354.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/0.4996, allocations: 217.8 kB / 354.6 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.4996, allocations: 0 / 354.6 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.4997, allocations: 4 kB / 354.6 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.4997, allocations: 4 kB / 354.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.5, allocations: 76.52 kB / 354.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.5013, allocations: 0.4934 MB / 355.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004353/0.5018, allocations: 166.5 kB / 355.3 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.502, allocations: 56.84 kB / 355.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.502, allocations: 0 / 355.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.5021, allocations: 38.56 kB / 355.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 4.779e-06/0.5021, allocations: 112 / 355.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.000542/0.5026, allocations: 161.2 kB / 355.6 MB, free: 13.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/0.5028, allocations: 286.7 kB / 355.9 MB, free: 13.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/0.5033, allocations: 254.6 kB / 356.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/0.5033, allocations: 33.7 kB / 356.2 MB, free: 12.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.5035, allocations: 203 kB / 356.4 MB, free: 12.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.608e-05/0.5036, allocations: 55.19 kB / 356.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/0.5036, allocations: 7.938 kB / 356.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5038, allocations: 322.8 kB / 356.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.504, allocations: 87.97 kB / 356.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.5044, allocations: 168.5 kB / 357 MB, free: 12.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.5047, allocations: 107.9 kB / 357.1 MB, free: 12.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5048, allocations: 0 / 357.1 MB, free: 12.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006875/0.5055, allocations: 261.8 kB / 357.3 MB, free: 11.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.5055, allocations: 4 kB / 357.3 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.527e-05/0.5056, allocations: 7.984 kB / 357.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.5056, allocations: 0 / 357.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/0.5061, allocations: 59.91 kB / 357.4 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.5062, allocations: 7.938 kB / 357.4 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.5064, allocations: 27.75 kB / 357.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.5065, allocations: 4 kB / 357.5 MB, free: 11.64 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 0.000141/0.5066, allocations: 116.4 kB / 357.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-05/0.5067, allocations: 23.72 kB / 357.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.5068, allocations: 30.14 kB / 357.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.5069, allocations: 4 kB / 357.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.5069, allocations: 4 kB / 357.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.5069, allocations: 8.031 kB / 357.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/0.5074, allocations: 273.3 kB / 357.9 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.5074, allocations: 0 / 357.9 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/0.5078, allocations: 27.92 kB / 357.9 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.5078, allocations: 4 kB / 357.9 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.5078, allocations: 11.97 kB / 357.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.5078, allocations: 4 kB / 357.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.5079, allocations: 0 / 357.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006861/0.5086, allocations: 327.2 kB / 358.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.5087, allocations: 108.9 kB / 358.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/0.5088, allocations: 8 kB / 358.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.509, allocations: 15.92 kB / 358.4 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.5091, allocations: 11.98 kB / 358.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.5091, allocations: 0 / 358.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002987/0.5094, allocations: 194.2 kB / 358.6 MB, free: 10.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5094, allocations: 0 / 358.6 MB, free: 10.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005702/0.51, allocations: 103.8 kB / 358.7 MB, free: 10.3 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.001271/0.5113, allocations: 0.8994 MB / 359.6 MB, free: 9.371 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000654/0.512, allocations: 265.4 kB / 359.9 MB, free: 9.094 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.512, allocations: 4 kB / 359.9 MB, free: 9.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.5122, allocations: 67.91 kB / 359.9 MB, free: 9.023 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006873/0.5129, allocations: 60.69 kB / 360 MB, free: 8.965 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.5148, allocations: 0.5721 MB / 360.6 MB, free: 8.344 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.5154, allocations: 0.7833 MB / 361.3 MB, free: 7.535 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.5156, allocations: 83.41 kB / 361.4 MB, free: 7.457 MB / 314.7 MB Notification: Performance of SimCode: time 1.442e-06/0.5156, allocations: 0 / 361.4 MB, free: 7.457 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.731/3.247, allocations: 4.96 MB / 366.4 MB, free: 2.496 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat does not exist to compare? outputFormat=mat