Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.278/2.278, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.505e-05/3.516e-05, allocations: 8 kB / 249.7 MB, free: 15.21 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3239, allocations: 44.5 MB / 294.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1604/0.4844, allocations: 84.46 MB / 378.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.4847, allocations: 67.97 kB / 378.7 MB, free: 13.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1817/0.6664, allocations: 35.29 MB / 414 MB, free: 9.984 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6664, allocations: 3.938 kB / 414 MB, free: 9.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.486e-05/0.6665, allocations: 12 kB / 414 MB, free: 9.969 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.002912/0.6694, allocations: 0.8176 MB / 414.8 MB, free: 9.102 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.6695, allocations: 8.031 kB / 414.9 MB, free: 9.094 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002718/0.6698, allocations: 51.39 kB / 414.9 MB, free: 9.043 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.6712, allocations: 443.1 kB / 415.3 MB, free: 8.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.6712, allocations: 7.984 kB / 415.3 MB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.6714, allocations: 23.89 kB / 415.4 MB, free: 8.539 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004438/0.6718, allocations: 124.5 kB / 415.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006352/0.6725, allocations: 307.1 kB / 415.8 MB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.6725, allocations: 0 / 415.8 MB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/0.6726, allocations: 3.953 kB / 415.8 MB, free: 8.059 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.6726, allocations: 4 kB / 415.8 MB, free: 8.055 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/0.6747, allocations: 0.6304 MB / 416.4 MB, free: 7.383 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.6758, allocations: 295 kB / 416.7 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.6761, allocations: 97.19 kB / 416.8 MB, free: 6.988 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.6761, allocations: 4.188 kB / 416.8 MB, free: 6.984 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.6762, allocations: 38.75 kB / 416.9 MB, free: 6.938 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.576e-06/0.6762, allocations: 0 / 416.9 MB, free: 6.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.000834/0.677, allocations: 272.1 kB / 417.1 MB, free: 6.668 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002317/0.6773, allocations: 367.8 kB / 417.5 MB, free: 6.223 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006633/0.678, allocations: 337.1 kB / 417.8 MB, free: 5.891 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.6781, allocations: 33.64 kB / 417.8 MB, free: 5.852 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.6783, allocations: 235.6 kB / 418.1 MB, free: 5.621 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.6785, allocations: 78.83 kB / 418.1 MB, free: 5.543 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.6785, allocations: 0 / 418.1 MB, free: 5.543 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.6787, allocations: 334.8 kB / 418.5 MB, free: 5.207 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004767/0.6792, allocations: 184.5 kB / 418.7 MB, free: 5.027 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006287/0.6798, allocations: 290.2 kB / 418.9 MB, free: 4.699 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007646/0.6806, allocations: 225.5 kB / 419.2 MB, free: 4.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.6806, allocations: 0 / 419.2 MB, free: 4.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001858/0.6825, allocations: 0.572 MB / 419.7 MB, free: 3.895 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.6826, allocations: 4 kB / 419.7 MB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.412e-05/0.6827, allocations: 15.98 kB / 419.7 MB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000663/0.6833, allocations: 118.4 kB / 419.9 MB, free: 3.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006466/0.684, allocations: 63.89 kB / 419.9 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.684, allocations: 4 kB / 419.9 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.6845, allocations: 43.52 kB / 420 MB, free: 3.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.114e-05/0.6846, allocations: 12 kB / 420 MB, free: 3.629 MB / 362.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001858/0.6848, allocations: 112.9 kB / 420.1 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007172/0.6855, allocations: 269 kB / 420.4 MB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-05/0.6856, allocations: 39.48 kB / 420.4 MB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.6858, allocations: 39.53 kB / 420.4 MB, free: 3.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.6858, allocations: 4 kB / 420.4 MB, free: 3.156 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.6858, allocations: 7.938 kB / 420.4 MB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.6858, allocations: 0 / 420.4 MB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006008/0.6865, allocations: 313.8 kB / 420.8 MB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6865, allocations: 0 / 420.8 MB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006568/0.6871, allocations: 47.91 kB / 420.8 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.6872, allocations: 0 / 420.8 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.234e-05/0.6872, allocations: 7.953 kB / 420.8 MB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.365e-05/0.6873, allocations: 11.97 kB / 420.8 MB, free: 2.738 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6873, allocations: 0 / 420.8 MB, free: 2.738 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.6884, allocations: 483.3 kB / 421.3 MB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.6886, allocations: 112.6 kB / 421.4 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.6887, allocations: 11.94 kB / 421.4 MB, free: 2.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/0.689, allocations: 15.92 kB / 421.4 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.236e-05/0.6891, allocations: 7.984 kB / 421.4 MB, free: 2.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.6892, allocations: 8 kB / 421.4 MB, free: 2.078 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004543/0.6896, allocations: 247 kB / 421.7 MB, free: 1.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6896, allocations: 4 kB / 421.7 MB, free: 1.836 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003187/0.6928, allocations: 0.6793 MB / 422.4 MB, free: 1.156 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.2637/0.9566, allocations: 1.618 MB / 424 MB, free: 97.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.9584, allocations: 0.825 MB / 424.8 MB, free: 96.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.9584, allocations: 0.9062 kB / 424.8 MB, free: 96.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.9587, allocations: 112.4 kB / 424.9 MB, free: 96.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008261/0.9596, allocations: 88.42 kB / 425 MB, free: 96.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/0.9634, allocations: 1.077 MB / 426.1 MB, free: 96.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.9639, allocations: 0.8474 MB / 426.9 MB, free: 95.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.9643, allocations: 128 kB / 427.1 MB, free: 95.94 MB / 362.7 MB Notification: Performance of SimCode: time 1.353e-06/0.9643, allocations: 3.656 kB / 427.1 MB, free: 95.94 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.364/4.329, allocations: 14.57 MB / 441.6 MB, free: 95.08 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Blocks.Examples.Filter_res.mat does not exist to compare? outputFormat=mat