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.149/2.149, allocations: 194.9 MB / 208.4 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.719e-05/2.724e-05, allocations: 7.984 kB / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.09852, allocations: 44.5 MB / 299.9 MB, free: 6.555 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4343/0.5329, allocations: 84.96 MB / 384.9 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.5332, allocations: 71.97 kB / 385 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07309/0.6063, allocations: 16.79 MB / 401.7 MB, free: 6.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6063, allocations: 4 kB / 401.7 MB, free: 6.496 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.6064, allocations: 3.844 kB / 401.8 MB, free: 6.496 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.001429/0.6078, allocations: 0.5373 MB / 402.3 MB, free: 6.082 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.6079, allocations: 15.31 kB / 402.3 MB, free: 6.078 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.6079, allocations: 38.42 kB / 402.3 MB, free: 6.035 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.608, allocations: 11.53 kB / 402.4 MB, free: 6.031 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.6084, allocations: 241.5 kB / 402.6 MB, free: 5.801 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.6084, allocations: 10.58 kB / 402.6 MB, free: 5.797 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.6085, allocations: 14.95 kB / 402.6 MB, free: 5.793 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.6088, allocations: 125.9 kB / 402.7 MB, free: 5.703 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.6088, allocations: 0 / 402.7 MB, free: 5.703 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.6088, allocations: 3.75 kB / 402.7 MB, free: 5.703 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.6088, allocations: 7.781 kB / 402.7 MB, free: 5.699 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.609, allocations: 42.45 kB / 402.8 MB, free: 5.695 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007146/0.6097, allocations: 397.2 kB / 403.2 MB, free: 5.367 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.6102, allocations: 118.8 kB / 403.3 MB, free: 5.328 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.48e-05/0.6103, allocations: 38.88 kB / 403.3 MB, free: 5.316 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.6103, allocations: 0 / 403.3 MB, free: 5.316 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.6103, allocations: 34.69 kB / 403.4 MB, free: 5.273 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.6103, allocations: 0 / 403.4 MB, free: 5.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.002558/0.6129, allocations: 1.143 MB / 404.5 MB, free: 4.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.613, allocations: 135.9 kB / 404.6 MB, free: 4.344 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.6131, allocations: 159.2 kB / 404.8 MB, free: 4.234 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.6132, allocations: 33.52 kB / 404.8 MB, free: 4.199 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.6132, allocations: 177.2 kB / 405 MB, free: 4.039 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.6133, allocations: 54.45 kB / 405.1 MB, free: 4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-05/0.6133, allocations: 3.75 kB / 405.1 MB, free: 4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.225e-05/0.6134, allocations: 322.6 kB / 405.4 MB, free: 3.684 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.6136, allocations: 83.03 kB / 405.5 MB, free: 3.676 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.6138, allocations: 118.9 kB / 405.6 MB, free: 3.633 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.6141, allocations: 119.8 kB / 405.7 MB, free: 3.602 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6141, allocations: 0 / 405.7 MB, free: 3.602 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006955/0.6148, allocations: 277.9 kB / 406 MB, free: 3.523 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.6148, allocations: 5.5 kB / 406 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.6149, allocations: 3.719 kB / 406 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/0.6151, allocations: 43.72 kB / 406 MB, free: 3.504 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.6154, allocations: 31.2 kB / 406 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.6167, allocations: 1.4 MB / 407.4 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.6168, allocations: 16.83 kB / 407.5 MB, free: 2.168 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.6169, allocations: 7.484 kB / 407.5 MB, free: 2.168 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 9.314e-05/0.617, allocations: 116.3 kB / 407.6 MB, free: 2.055 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.617, allocations: 11.66 kB / 407.6 MB, free: 2.047 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.681e-05/0.6171, allocations: 28.06 kB / 407.6 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.6171, allocations: 7.734 kB / 407.6 MB, free: 2.031 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6172, allocations: 3.953 kB / 407.6 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.6172, allocations: 0 / 407.6 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.6175, allocations: 249.3 kB / 407.9 MB, free: 1.805 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6175, allocations: 0 / 407.9 MB, free: 1.805 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004881/0.618, allocations: 58.67 kB / 407.9 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.618, allocations: 0 / 407.9 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.618, allocations: 7.906 kB / 407.9 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.618, allocations: 0 / 407.9 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.618, allocations: 0 / 407.9 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006088/0.6187, allocations: 400.8 kB / 408.3 MB, free: 1.602 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.6187, allocations: 88.83 kB / 408.4 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.6188, allocations: 7.531 kB / 408.4 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.6189, allocations: 7.906 kB / 408.4 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.619, allocations: 11.58 kB / 408.4 MB, free: 1.492 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.619, allocations: 3.625 kB / 408.4 MB, free: 1.492 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.6191, allocations: 119.5 kB / 408.6 MB, free: 1.414 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6191, allocations: 0 / 408.6 MB, free: 1.414 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001928/0.6211, allocations: 0.539 MB / 409.1 MB, free: 1.387 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.002476/0.6236, allocations: 1.387 MB / 410.5 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008538/0.6244, allocations: 375.7 kB / 410.9 MB, free: 460 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6245, allocations: 4 kB / 410.9 MB, free: 456 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.6247, allocations: 84.62 kB / 410.9 MB, free: 440 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.625, allocations: 28.12 kB / 411 MB, free: 432 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.6264, allocations: 0.5368 MB / 411.5 MB, free: 152 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.6268, allocations: 0.7383 MB / 412.2 MB, free: 15.42 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.627, allocations: 49.83 kB / 412.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of SimCode: time 8.91e-07/0.627, allocations: 0 / 412.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.983/3.61, allocations: 7.713 MB / 420 MB, free: 11.43 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