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.135/2.135, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.489e-05/2.5e-05, allocations: 0 / 249.7 MB, free: 15.21 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3261, allocations: 44.5 MB / 294.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1864/0.5125, allocations: 84.17 MB / 378.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003543/0.513, allocations: 71.95 kB / 378.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06026/0.5733, allocations: 9.773 MB / 388.2 MB, free: 3.848 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5733, allocations: 0 / 388.2 MB, free: 3.848 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.683e-05/0.5734, allocations: 15.94 kB / 388.2 MB, free: 3.832 MB / 330.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.001036/0.5744, allocations: 0.5174 MB / 388.7 MB, free: 3.266 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.5745, allocations: 15.97 kB / 388.7 MB, free: 3.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.5746, allocations: 35.66 kB / 388.8 MB, free: 3.215 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008345/0.5755, allocations: 347.7 kB / 389.1 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.5755, allocations: 0 / 389.1 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.666e-05/0.5756, allocations: 12 kB / 389.1 MB, free: 2.824 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002501/0.5758, allocations: 80.28 kB / 389.2 MB, free: 2.746 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.5763, allocations: 206.2 kB / 389.4 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.5763, allocations: 0 / 389.4 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.5763, allocations: 0 / 389.4 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.5763, allocations: 4 kB / 389.4 MB, free: 2.496 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.5776, allocations: 473.4 kB / 389.9 MB, free: 1.996 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003678/0.578, allocations: 146.5 kB / 390 MB, free: 1.844 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.5781, allocations: 51.97 kB / 390.1 MB, free: 1.793 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.5782, allocations: 7.938 kB / 390.1 MB, free: 1.785 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.5782, allocations: 42.59 kB / 390.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.495e-06/0.5782, allocations: 4 kB / 390.1 MB, free: 1.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004556/0.5787, allocations: 145.6 kB / 390.3 MB, free: 1.582 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/0.5788, allocations: 290.7 kB / 390.6 MB, free: 1.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.5792, allocations: 233.1 kB / 390.8 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.5792, allocations: 25.7 kB / 390.8 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.5794, allocations: 203 kB / 391 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.118e-05/0.5795, allocations: 47.27 kB / 391.1 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.5795, allocations: 0 / 391.1 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5796, allocations: 326.8 kB / 391.4 MB, free: 400 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.5799, allocations: 83.97 kB / 391.5 MB, free: 316 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/0.5802, allocations: 160.5 kB / 391.6 MB, free: 124 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.5807, allocations: 120.2 kB / 391.7 MB, free: 4 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5807, allocations: 96 / 391.7 MB, free: 4 kB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000754/0.5814, allocations: 257.3 kB / 392 MB, free: 15.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.5815, allocations: 4.109 kB / 392 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.75e-05/0.5815, allocations: 15.88 kB / 392 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.5816, allocations: 0 / 392 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005086/0.5821, allocations: 47.97 kB / 392 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.5821, allocations: 0 / 392 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.5824, allocations: 23.69 kB / 392.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-05/0.5824, allocations: 19.98 kB / 392.1 MB, free: 15.64 MB / 346.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.0001347/0.5826, allocations: 112.7 kB / 392.2 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004083/0.583, allocations: 141.4 kB / 392.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.5831, allocations: 31.58 kB / 392.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.5832, allocations: 30.09 kB / 392.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.5832, allocations: 3.984 kB / 392.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5832, allocations: 0 / 392.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.5833, allocations: 3.984 kB / 392.4 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003966/0.5837, allocations: 230.1 kB / 392.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.5837, allocations: 4 kB / 392.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003964/0.5841, allocations: 31.92 kB / 392.7 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.5841, allocations: 0 / 392.7 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.5842, allocations: 7.953 kB / 392.7 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.5842, allocations: 0 / 392.7 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5842, allocations: 0 / 392.7 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005979/0.5848, allocations: 307.1 kB / 393 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.492e-05/0.5849, allocations: 104.8 kB / 393.1 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.335e-05/0.585, allocations: 11.89 kB / 393.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.5852, allocations: 8.125 kB / 393.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.5853, allocations: 7.984 kB / 393.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.5853, allocations: 4 kB / 393.1 MB, free: 14.53 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002787/0.5856, allocations: 188.7 kB / 393.3 MB, free: 14.35 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5856, allocations: 0 / 393.3 MB, free: 14.35 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00063/0.5863, allocations: 79.84 kB / 393.4 MB, free: 14.27 MB / 346.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.001294/0.5876, allocations: 0.8977 MB / 394.3 MB, free: 13.35 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006844/0.5883, allocations: 265 kB / 394.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5883, allocations: 0 / 394.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.5885, allocations: 51.98 kB / 394.6 MB, free: 13.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006576/0.5892, allocations: 60.67 kB / 394.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.5911, allocations: 0.556 MB / 395.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.5916, allocations: 0.7832 MB / 396 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.5919, allocations: 87.41 kB / 396.1 MB, free: 11.47 MB / 346.7 MB Notification: Performance of SimCode: time 1.293e-06/0.5919, allocations: 0 / 396.1 MB, free: 11.47 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.865/3.457, allocations: 4.933 MB / 401 MB, free: 6.535 MB / 346.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