Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.074/2.074, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.747e-05/4.767e-05, allocations: 8 kB / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1253, allocations: 44.51 MB / 300 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4434/0.5688, allocations: 84.96 MB / 384.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.5691, allocations: 68.23 kB / 385 MB, free: 12.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07521/0.6443, allocations: 16.79 MB / 401.8 MB, free: 6.102 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6444, allocations: 0 / 401.8 MB, free: 6.102 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.653e-05/0.6444, allocations: 3.75 kB / 401.8 MB, free: 6.102 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001518/0.646, allocations: 0.5439 MB / 402.3 MB, free: 5.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.646, allocations: 7.656 kB / 402.3 MB, free: 5.68 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.219e-05/0.6461, allocations: 44.8 kB / 402.4 MB, free: 5.637 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.974e-05/0.6462, allocations: 15.59 kB / 402.4 MB, free: 5.629 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.6466, allocations: 231.1 kB / 402.6 MB, free: 5.406 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.6466, allocations: 3.562 kB / 402.6 MB, free: 5.406 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.6467, allocations: 18.7 kB / 402.6 MB, free: 5.398 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.6469, allocations: 131.5 kB / 402.8 MB, free: 5.305 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.647, allocations: 0 / 402.8 MB, free: 5.305 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.647, allocations: 3.875 kB / 402.8 MB, free: 5.305 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.647, allocations: 0 / 402.8 MB, free: 5.305 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.6472, allocations: 45.02 kB / 402.8 MB, free: 5.301 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007728/0.6479, allocations: 403.3 kB / 403.2 MB, free: 4.969 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004774/0.6484, allocations: 111.5 kB / 403.3 MB, free: 4.934 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.532e-05/0.6486, allocations: 36.94 kB / 403.3 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.6486, allocations: 3.875 kB / 403.4 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.6486, allocations: 36.06 kB / 403.4 MB, free: 4.875 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.094e-06/0.6486, allocations: 0 / 403.4 MB, free: 4.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.002769/0.6514, allocations: 1.147 MB / 404.5 MB, free: 4.098 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.6515, allocations: 132.1 kB / 404.7 MB, free: 3.941 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.6517, allocations: 155.2 kB / 404.8 MB, free: 3.836 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.6517, allocations: 37.2 kB / 404.9 MB, free: 3.801 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.6518, allocations: 178.5 kB / 405 MB, free: 3.641 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/0.6519, allocations: 50.36 kB / 405.1 MB, free: 3.605 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/0.6519, allocations: 7.688 kB / 405.1 MB, free: 3.602 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.109e-05/0.652, allocations: 322.2 kB / 405.4 MB, free: 3.285 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.6522, allocations: 87.12 kB / 405.5 MB, free: 3.277 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.6525, allocations: 121.5 kB / 405.6 MB, free: 3.234 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.6527, allocations: 110.9 kB / 405.7 MB, free: 3.211 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6527, allocations: 0 / 405.7 MB, free: 3.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006955/0.6534, allocations: 282.7 kB / 406 MB, free: 3.125 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.6535, allocations: 7.719 kB / 406 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/0.6535, allocations: 3.938 kB / 406 MB, free: 3.121 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002651/0.6538, allocations: 39.94 kB / 406 MB, free: 3.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.6541, allocations: 34.39 kB / 406.1 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.6554, allocations: 1.406 MB / 407.5 MB, free: 1.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.6556, allocations: 7.891 kB / 407.5 MB, free: 1.766 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.6557, allocations: 11.67 kB / 407.5 MB, free: 1.762 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 (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.0001073/0.6558, allocations: 112.7 kB / 407.6 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.346e-05/0.6558, allocations: 15.56 kB / 407.6 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.39e-05/0.6559, allocations: 20.34 kB / 407.6 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.6559, allocations: 3.781 kB / 407.6 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.656, allocations: 7.922 kB / 407.6 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.656, allocations: 3.953 kB / 407.7 MB, free: 1.625 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.6563, allocations: 247.2 kB / 407.9 MB, free: 1.406 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.6563, allocations: 0 / 407.9 MB, free: 1.406 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005762/0.6569, allocations: 57.23 kB / 408 MB, free: 1.391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.657, allocations: 4 kB / 408 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.657, allocations: 3.688 kB / 408 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.657, allocations: 0 / 408 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.657, allocations: 3.75 kB / 408 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007258/0.6578, allocations: 390.2 kB / 408.3 MB, free: 1.207 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.6578, allocations: 89.33 kB / 408.4 MB, free: 1.105 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.6579, allocations: 6.375 kB / 408.4 MB, free: 1.105 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.6581, allocations: 9.938 kB / 408.4 MB, free: 1.102 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.6581, allocations: 12.77 kB / 408.5 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.6582, allocations: 4.562 kB / 408.5 MB, free: 1.094 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.6583, allocations: 127 kB / 408.6 MB, free: 1.012 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6583, allocations: 0 / 408.6 MB, free: 1.012 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002154/0.6605, allocations: 0.5314 MB / 409.1 MB, free: 0.9883 MB / 314.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.00287/0.6634, allocations: 1.397 MB / 410.5 MB, free: 16.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009485/0.6644, allocations: 362.3 kB / 410.9 MB, free: 16.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.986e-05/0.6644, allocations: 0 / 410.9 MB, free: 16.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.6646, allocations: 84.84 kB / 411 MB, free: 16.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.665, allocations: 31.53 kB / 411 MB, free: 16.03 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.6669, allocations: 0.5487 MB / 411.5 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.6674, allocations: 0.734 MB / 412.3 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.6676, allocations: 42.3 kB / 412.3 MB, free: 15.01 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6676, allocations: 3.938 kB / 412.3 MB, free: 15 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.12/3.787, allocations: 7.683 MB / 420 MB, free: 11.06 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat