Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.199/2.199, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.408e-05/4.432e-05, allocations: 0 / 269.4 MB, free: 6.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1231, allocations: 47.58 MB / 317 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4564/0.5795, allocations: 89.34 MB / 406.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.5798, allocations: 66.16 kB / 406.4 MB, free: 14.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08487/0.6647, allocations: 16.83 MB / 423.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6648, allocations: 0 / 423.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.249e-05/0.6648, allocations: 4 kB / 423.2 MB, free: 14.98 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.00162/0.6665, allocations: 0.5482 MB / 423.8 MB, free: 14.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.6665, allocations: 8.031 kB / 423.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.131e-05/0.6666, allocations: 42.36 kB / 423.8 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.771e-05/0.6667, allocations: 15.81 kB / 423.9 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004645/0.6672, allocations: 229.9 kB / 424.1 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.6672, allocations: 4 kB / 424.1 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.6673, allocations: 15.92 kB / 424.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.6676, allocations: 124.9 kB / 424.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.6676, allocations: 0 / 424.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.6676, allocations: 4 kB / 424.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.6676, allocations: 0 / 424.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.6678, allocations: 46.98 kB / 424.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008937/0.6687, allocations: 401.9 kB / 424.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/0.6692, allocations: 109.7 kB / 424.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.992e-05/0.6694, allocations: 44.12 kB / 424.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.6694, allocations: 0 / 424.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.6694, allocations: 46.62 kB / 424.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.264e-06/0.6695, allocations: 0 / 424.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.00314/0.6726, allocations: 1.144 MB / 426 MB, free: 12.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.428e-05/0.6727, allocations: 132.5 kB / 426.1 MB, free: 12.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.673, allocations: 160.3 kB / 426.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/0.673, allocations: 29.7 kB / 426.3 MB, free: 11.87 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.513e-05/0.6731, allocations: 107.8 kB / 426.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.509e-05/0.6732, allocations: 62.61 kB / 426.5 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.591e-05/0.6732, allocations: 4 kB / 426.5 MB, free: 11.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6734, allocations: 326.7 kB / 426.8 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.6736, allocations: 86.03 kB / 426.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.6739, allocations: 126 kB / 427 MB, free: 11.24 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.6742, allocations: 106.7 kB / 427.1 MB, free: 11.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6742, allocations: 0 / 427.1 MB, free: 11.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007975/0.675, allocations: 287.5 kB / 427.4 MB, free: 10.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.6751, allocations: 11.94 kB / 427.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/0.6751, allocations: 0 / 427.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002834/0.6754, allocations: 52.38 kB / 427.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.6757, allocations: 27.98 kB / 427.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/0.6775, allocations: 1.41 MB / 428.9 MB, free: 9.387 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.6778, allocations: 8.016 kB / 428.9 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.6778, allocations: 11.69 kB / 428.9 MB, free: 9.371 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): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001862/0.678, allocations: 117 kB / 429 MB, free: 9.254 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.6781, allocations: 11.91 kB / 429 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.484e-05/0.6782, allocations: 28.83 kB / 429.1 MB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.6782, allocations: 0 / 429.1 MB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.6782, allocations: 0 / 429.1 MB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.6782, allocations: 4 kB / 429.1 MB, free: 9.227 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.6786, allocations: 240.2 kB / 429.3 MB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6786, allocations: 0 / 429.3 MB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005685/0.6792, allocations: 63.77 kB / 429.4 MB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.6792, allocations: 0 / 429.4 MB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.6793, allocations: 4 kB / 429.4 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.6793, allocations: 0 / 429.4 MB, free: 8.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6793, allocations: 4 kB / 429.4 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007705/0.6801, allocations: 395.5 kB / 429.8 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.839e-05/0.6802, allocations: 88.92 kB / 429.9 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.6802, allocations: 0 / 429.9 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.6804, allocations: 15.97 kB / 429.9 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.6805, allocations: 15.92 kB / 429.9 MB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.6805, allocations: 384 / 429.9 MB, free: 8.457 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001505/0.6807, allocations: 123.5 kB / 430 MB, free: 8.352 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6807, allocations: 0 / 430 MB, free: 8.352 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002326/0.683, allocations: 0.5271 MB / 430.5 MB, free: 7.828 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.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.00362/0.6867, allocations: 1.401 MB / 431.9 MB, free: 6.496 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009821/0.6877, allocations: 376.8 kB / 432.3 MB, free: 6.168 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6878, allocations: 0 / 432.3 MB, free: 6.168 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.688, allocations: 79.78 kB / 432.4 MB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.6883, allocations: 32.61 kB / 432.4 MB, free: 6.086 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.6903, allocations: 0.5009 MB / 432.9 MB, free: 5.602 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.6908, allocations: 0.7347 MB / 433.7 MB, free: 4.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001737/0.691, allocations: 29.19 kB / 433.7 MB, free: 4.812 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.6911, allocations: 47.23 kB / 433.7 MB, free: 4.793 MB / 346.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6911, allocations: 4 kB / 433.7 MB, free: 4.789 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09535/0.7865, allocations: 11.9 MB / 445.6 MB, free: 9.008 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/0.7868, allocations: 210.1 kB / 445.8 MB, free: 8.785 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.865/3.652, allocations: 0 / 445.8 MB, free: 8.785 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat