Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.556e-05/3.558e-05, allocations: 0 / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4057, allocations: 44.49 MB / 294.2 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.5604, allocations: 84.3 MB / 378.5 MB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.5608, allocations: 67.97 kB / 378.6 MB, free: 13.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08414/0.6449, allocations: 16.75 MB / 395.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.645, allocations: 0 / 395.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.34e-05/0.645, allocations: 4 kB / 395.3 MB, free: 12.68 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001634/0.6467, allocations: 0.5411 MB / 395.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.6467, allocations: 11.97 kB / 395.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.647e-05/0.6468, allocations: 11.91 kB / 395.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.6473, allocations: 238.7 kB / 396.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.6473, allocations: 3.984 kB / 396.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.6474, allocations: 8 kB / 396.1 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001625/0.6475, allocations: 39.98 kB / 396.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.6478, allocations: 117.8 kB / 396.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.6478, allocations: 0 / 396.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.6479, allocations: 4 kB / 396.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.6479, allocations: 4 kB / 396.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008386/0.6487, allocations: 361 kB / 396.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/0.6492, allocations: 118.6 kB / 396.8 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.653e-05/0.6494, allocations: 32.84 kB / 396.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.6494, allocations: 0 / 396.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.6494, allocations: 38.75 kB / 396.8 MB, free: 11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.934e-06/0.6494, allocations: 0 / 396.8 MB, free: 11 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.002934/0.6524, allocations: 1.094 MB / 397.9 MB, free: 9.777 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.993e-05/0.6525, allocations: 132.5 kB / 398.1 MB, free: 9.617 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.6527, allocations: 153.4 kB / 398.2 MB, free: 9.461 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.6528, allocations: 29.7 kB / 398.2 MB, free: 9.426 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.293e-05/0.6529, allocations: 108.4 kB / 398.4 MB, free: 9.316 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.567e-05/0.653, allocations: 51.27 kB / 398.4 MB, free: 9.266 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.44e-05/0.653, allocations: 0 / 398.4 MB, free: 9.266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.6531, allocations: 334.8 kB / 398.7 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.6534, allocations: 79.97 kB / 398.8 MB, free: 8.852 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.6536, allocations: 119.4 kB / 398.9 MB, free: 8.723 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.654, allocations: 111.2 kB / 399 MB, free: 8.617 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.654, allocations: 0 / 399 MB, free: 8.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000793/0.6548, allocations: 278.3 kB / 399.3 MB, free: 8.336 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.6548, allocations: 8 kB / 399.3 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.649e-05/0.6549, allocations: 0 / 399.3 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002608/0.6551, allocations: 44.81 kB / 399.4 MB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.6554, allocations: 31.92 kB / 399.4 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6555, allocations: 4 kB / 399.4 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.6556, allocations: 4 kB / 399.4 MB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.6557, allocations: 7.984 kB / 399.4 MB, free: 8.234 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.6558, allocations: 112.7 kB / 399.5 MB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004501/0.6563, allocations: 182.5 kB / 399.7 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.6563, allocations: 11.81 kB / 399.7 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.452e-05/0.6564, allocations: 21.91 kB / 399.7 MB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.6565, allocations: 0 / 399.7 MB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.6565, allocations: 8.938 kB / 399.7 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.6565, allocations: 7.938 kB / 399.7 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008743/0.6574, allocations: 482.8 kB / 400.2 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.6574, allocations: 0 / 400.2 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/0.6578, allocations: 35.92 kB / 400.2 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.6578, allocations: 0 / 400.2 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.6578, allocations: 7.984 kB / 400.3 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.6579, allocations: 0 / 400.3 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.6579, allocations: 7.953 kB / 400.3 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006735/0.6586, allocations: 364.6 kB / 400.6 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.6586, allocations: 88.95 kB / 400.7 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/0.6587, allocations: 0 / 400.7 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.6589, allocations: 8.031 kB / 400.7 MB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/0.659, allocations: 15.94 kB / 400.7 MB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.659, allocations: 4 kB / 400.7 MB, free: 6.812 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000133/0.6591, allocations: 119.8 kB / 400.9 MB, free: 6.695 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6592, allocations: 3.938 kB / 400.9 MB, free: 6.691 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002243/0.6614, allocations: 0.5233 MB / 401.4 MB, free: 6.168 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Bessel.x[1],Bessel.x[2],der1.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.003225/0.6647, allocations: 1.362 MB / 402.7 MB, free: 4.789 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007985/0.6655, allocations: 337.2 kB / 403.1 MB, free: 4.426 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6655, allocations: 0 / 403.1 MB, free: 4.426 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.6657, allocations: 71.91 kB / 403.1 MB, free: 4.355 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.6661, allocations: 29.7 kB / 403.2 MB, free: 4.328 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.6683, allocations: 0.5123 MB / 403.7 MB, free: 3.777 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.6688, allocations: 0.7359 MB / 404.4 MB, free: 3.008 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001737/0.669, allocations: 25.19 kB / 404.4 MB, free: 2.984 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.6691, allocations: 47.42 kB / 404.5 MB, free: 2.938 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6691, allocations: 0 / 404.5 MB, free: 2.938 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05936/0.7285, allocations: 9.5 MB / 414 MB, free: 9.43 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/0.7288, allocations: 174 kB / 414.2 MB, free: 9.234 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.781/3.51, allocations: 128 / 414.2 MB, free: 9.234 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat