Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.821/1.821, allocations: 171.2 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.692e-05/2.693e-05, allocations: 4 kB / 219.5 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2806, allocations: 38.77 MB / 258.3 MB, free: 12.14 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.426, allocations: 79.26 MB / 337.6 MB, free: 14.62 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.4263, allocations: 67.97 kB / 337.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3921/0.8185, allocations: 35.37 MB / 373 MB, free: 81.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.8185, allocations: 0 / 373 MB, free: 81.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.277e-05/0.8186, allocations: 18.52 kB / 373 MB, free: 81.91 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.002501/0.8211, allocations: 0.8141 MB / 373.8 MB, free: 81.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.8212, allocations: 11.22 kB / 373.9 MB, free: 81.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002422/0.8214, allocations: 46.09 kB / 373.9 MB, free: 81.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.8226, allocations: 446.2 kB / 374.3 MB, free: 81.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.8227, allocations: 5.781 kB / 374.3 MB, free: 81.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.295e-05/0.8228, allocations: 22.42 kB / 374.4 MB, free: 81.19 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003601/0.8232, allocations: 129.3 kB / 374.5 MB, free: 81.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005027/0.8237, allocations: 296.8 kB / 374.8 MB, free: 81.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.8237, allocations: 0 / 374.8 MB, free: 81.03 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.8238, allocations: 1.094 kB / 374.8 MB, free: 81.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.8238, allocations: 7.5 kB / 374.8 MB, free: 81.03 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.8255, allocations: 0.6332 MB / 375.4 MB, free: 80.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008027/0.8264, allocations: 306.2 kB / 375.7 MB, free: 80.74 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.8266, allocations: 89.2 kB / 375.8 MB, free: 80.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.8266, allocations: 11.34 kB / 375.8 MB, free: 80.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.8267, allocations: 38.31 kB / 375.9 MB, free: 80.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 2.816e-06/0.8267, allocations: 0 / 375.9 MB, free: 80.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006855/0.8274, allocations: 269.8 kB / 376.1 MB, free: 80.63 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.473e-05/0.8275, allocations: 366.7 kB / 376.5 MB, free: 80.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.828, allocations: 334.7 kB / 376.8 MB, free: 80.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.041e-05/0.828, allocations: 28.7 kB / 376.8 MB, free: 80.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.8282, allocations: 234.8 kB / 377.1 MB, free: 79.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.421e-05/0.8283, allocations: 85.42 kB / 377.1 MB, free: 79.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.8283, allocations: 0 / 377.1 MB, free: 79.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.273e-05/0.8284, allocations: 331.8 kB / 377.5 MB, free: 79.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.8288, allocations: 183.3 kB / 377.6 MB, free: 79.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/0.8292, allocations: 285.6 kB / 377.9 MB, free: 79.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006344/0.8299, allocations: 231.8 kB / 378.2 MB, free: 79.4 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.8299, allocations: 0 / 378.2 MB, free: 79.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001497/0.8314, allocations: 0.571 MB / 378.7 MB, free: 79.33 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.8315, allocations: 7.844 kB / 378.7 MB, free: 79.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.167e-05/0.8315, allocations: 11.7 kB / 378.7 MB, free: 79.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000578/0.8321, allocations: 125.2 kB / 378.9 MB, free: 79.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/0.8327, allocations: 59.22 kB / 378.9 MB, free: 79.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.8327, allocations: 7.75 kB / 378.9 MB, free: 79.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.8331, allocations: 41.83 kB / 379 MB, free: 79.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.8331, allocations: 18.53 kB / 379 MB, free: 79.28 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 (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.0001337/0.8333, allocations: 116.7 kB / 379.1 MB, free: 79.17 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005696/0.8339, allocations: 266.7 kB / 379.4 MB, free: 79.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.569e-05/0.834, allocations: 35.12 kB / 379.4 MB, free: 79.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.8341, allocations: 45.53 kB / 379.4 MB, free: 79.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.8341, allocations: 0 / 379.4 MB, free: 79.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.8341, allocations: 0 / 379.4 MB, free: 79.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.8341, allocations: 0 / 379.4 MB, free: 79.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004351/0.8346, allocations: 316.9 kB / 379.8 MB, free: 78.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.8346, allocations: 3.5 kB / 379.8 MB, free: 78.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/0.8352, allocations: 46.83 kB / 379.8 MB, free: 78.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.8352, allocations: 0 / 379.8 MB, free: 78.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.414e-05/0.8353, allocations: 15.34 kB / 379.8 MB, free: 78.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.8353, allocations: 0 / 379.8 MB, free: 78.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.8353, allocations: 3.906 kB / 379.8 MB, free: 78.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007983/0.8361, allocations: 481.7 kB / 380.3 MB, free: 78.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.555e-05/0.8362, allocations: 111.8 kB / 380.4 MB, free: 78.44 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.311e-05/0.8363, allocations: 7.75 kB / 380.4 MB, free: 78.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.8367, allocations: 11.27 kB / 380.4 MB, free: 78.44 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.8367, allocations: 18.66 kB / 380.4 MB, free: 78.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.8368, allocations: 5.531 kB / 380.4 MB, free: 78.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003226/0.8371, allocations: 249 kB / 380.7 MB, free: 78.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.8371, allocations: 0 / 380.7 MB, free: 78.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002539/0.8397, allocations: 0.6802 MB / 381.4 MB, free: 78.24 MB / 314.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.003628/0.8433, allocations: 1.618 MB / 383 MB, free: 77.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.8447, allocations: 0.8322 MB / 383.8 MB, free: 76.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.8448, allocations: 0 / 383.8 MB, free: 76.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.845, allocations: 108 kB / 383.9 MB, free: 76.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008358/0.8459, allocations: 96.22 kB / 384 MB, free: 76.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.849, allocations: 1.094 MB / 385.1 MB, free: 76.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.8494, allocations: 0.8449 MB / 386 MB, free: 75.56 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003125/0.8497, allocations: 133.9 kB / 386.1 MB, free: 75.46 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.8497, allocations: 0 / 386.1 MB, free: 75.46 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.436/4.286, allocations: 14.57 MB / 400.7 MB, free: 72.27 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Blocks.Examples.Filter_res.mat does not exist to compare? outputFormat=mat