Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_cpp_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.969/1.969, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.338e-05/3.343e-05, allocations: 4 kB / 292.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1038, allocations: 50.41 MB / 342.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4492/0.553, allocations: 90.42 MB / 433 MB, free: 3.598 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.5533, allocations: 70.34 kB / 433.1 MB, free: 3.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08/0.6333, allocations: 16.89 MB / 450 MB, free: 3.945 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6334, allocations: 0 / 450 MB, free: 3.945 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.404e-05/0.6334, allocations: 8 kB / 450 MB, free: 3.938 MB / 362.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.001479/0.6349, allocations: 0.5433 MB / 450.5 MB, free: 3.359 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.635, allocations: 12.02 kB / 450.6 MB, free: 3.348 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.352e-05/0.635, allocations: 42 kB / 450.6 MB, free: 3.301 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.346e-05/0.6351, allocations: 11.91 kB / 450.6 MB, free: 3.289 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.6356, allocations: 238.4 kB / 450.8 MB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.6356, allocations: 6.875 kB / 450.9 MB, free: 3.023 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.6357, allocations: 15.81 kB / 450.9 MB, free: 3.012 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.636, allocations: 122.8 kB / 451 MB, free: 2.891 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.636, allocations: 3.953 kB / 451 MB, free: 2.887 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.636, allocations: 7.938 kB / 451 MB, free: 2.883 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.636, allocations: 0 / 451 MB, free: 2.883 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.6362, allocations: 46.78 kB / 451 MB, free: 2.848 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008903/0.6371, allocations: 391.5 kB / 451.4 MB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.6376, allocations: 118.9 kB / 451.5 MB, free: 2.355 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.614e-05/0.6377, allocations: 34.67 kB / 451.6 MB, free: 2.328 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.6377, allocations: 3.984 kB / 451.6 MB, free: 2.324 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.6378, allocations: 38.56 kB / 451.6 MB, free: 2.277 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.524e-06/0.6378, allocations: 0 / 451.6 MB, free: 2.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.003094/0.6409, allocations: 1.139 MB / 452.8 MB, free: 1.164 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.717e-05/0.641, allocations: 136.5 kB / 452.9 MB, free: 1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.6412, allocations: 164.4 kB / 453.1 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.6413, allocations: 33.27 kB / 453.1 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.965e-05/0.6414, allocations: 168.6 kB / 453.2 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.739e-05/0.6415, allocations: 50.39 kB / 453.3 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.6415, allocations: 7.062 kB / 453.3 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6417, allocations: 326.6 kB / 453.6 MB, free: 292 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.6419, allocations: 86.22 kB / 453.7 MB, free: 236 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.6422, allocations: 121 kB / 453.8 MB, free: 136 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.6424, allocations: 116.8 kB / 453.9 MB, free: 56 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6424, allocations: 0 / 453.9 MB, free: 56 kB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007677/0.6432, allocations: 280.4 kB / 454.2 MB, free: 15.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.6433, allocations: 8 kB / 454.2 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/0.6433, allocations: 4 kB / 454.2 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002751/0.6436, allocations: 43.81 kB / 454.3 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.6439, allocations: 35.05 kB / 454.3 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.6455, allocations: 1.395 MB / 455.7 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.6457, allocations: 12.02 kB / 455.7 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.6458, allocations: 6.812 kB / 455.7 MB, free: 14.29 MB / 378.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.0001238/0.6459, allocations: 115.9 kB / 455.8 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.646, allocations: 16.8 kB / 455.8 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.916e-05/0.6461, allocations: 25.02 kB / 455.9 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6461, allocations: 0 / 455.9 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.6461, allocations: 0 / 455.9 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6461, allocations: 4 kB / 455.9 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003676/0.6465, allocations: 247.5 kB / 456.1 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.6465, allocations: 4 kB / 456.1 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/0.647, allocations: 47.97 kB / 456.2 MB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.647, allocations: 3.953 kB / 456.2 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.6471, allocations: 11.19 kB / 456.2 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.6471, allocations: 3.938 kB / 456.2 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6471, allocations: 0 / 456.2 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007321/0.6478, allocations: 397.7 kB / 456.6 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.6479, allocations: 92.95 kB / 456.7 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.648, allocations: 7.953 kB / 456.7 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.6482, allocations: 7.188 kB / 456.7 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.6482, allocations: 11.98 kB / 456.7 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.6483, allocations: 7.5 kB / 456.7 MB, free: 13.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001378/0.6484, allocations: 126.4 kB / 456.8 MB, free: 13.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6484, allocations: 0 / 456.8 MB, free: 13.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002143/0.6506, allocations: 0.5279 MB / 457.3 MB, free: 12.72 MB / 378.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.002906/0.6535, allocations: 1.397 MB / 458.7 MB, free: 11.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008919/0.6544, allocations: 380.5 kB / 459.1 MB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6544, allocations: 0 / 459.1 MB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.6546, allocations: 85.34 kB / 459.2 MB, free: 11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.655, allocations: 23.12 kB / 459.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.6565, allocations: 0.5318 MB / 459.8 MB, free: 10.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.6569, allocations: 0.7316 MB / 460.5 MB, free: 9.711 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.657, allocations: 46.23 kB / 460.5 MB, free: 9.695 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.657, allocations: 0 / 460.5 MB, free: 9.695 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.978/3.635, allocations: 7.701 MB / 468.2 MB, free: 2.004 MB / 378.7 MB