Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_cpp_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.061/2.061, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.783e-05/3.795e-05, allocations: 1.406 kB / 292.2 MB, free: 8.742 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1105, allocations: 50.43 MB / 342.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4562/0.5667, allocations: 90.57 MB / 433.2 MB, free: 3.418 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.567, allocations: 65.91 kB / 433.3 MB, free: 3.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1826/0.7496, allocations: 35.65 MB / 468.9 MB, free: 3.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.7497, allocations: 0 / 468.9 MB, free: 3.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.411e-05/0.7498, allocations: 19.94 kB / 468.9 MB, free: 3.941 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.002674/0.7524, allocations: 0.8123 MB / 469.7 MB, free: 3.109 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.7525, allocations: 15.97 kB / 469.8 MB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.803e-05/0.7526, allocations: 46.3 kB / 469.8 MB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/0.7529, allocations: 47.44 kB / 469.8 MB, free: 3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.7541, allocations: 445.1 kB / 470.3 MB, free: 2.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.7542, allocations: 18.23 kB / 470.3 MB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.7543, allocations: 33.03 kB / 470.3 MB, free: 2.535 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006861/0.755, allocations: 320.3 kB / 470.6 MB, free: 2.223 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.7551, allocations: 0 / 470.6 MB, free: 2.223 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.7551, allocations: 7 kB / 470.7 MB, free: 2.223 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.7551, allocations: 8 kB / 470.7 MB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003805/0.7555, allocations: 127.8 kB / 470.8 MB, free: 2.125 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.7576, allocations: 0.6841 MB / 471.5 MB, free: 1.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.7587, allocations: 313.6 kB / 471.8 MB, free: 1.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.759, allocations: 94.52 kB / 471.9 MB, free: 1.195 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.7591, allocations: 4.188 kB / 471.9 MB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.7591, allocations: 38.5 kB / 471.9 MB, free: 1.148 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 2.775e-06/0.7591, allocations: 0 / 471.9 MB, free: 1.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008346/0.76, allocations: 283.2 kB / 472.2 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002039/0.7602, allocations: 375.8 kB / 472.6 MB, free: 480 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006369/0.7609, allocations: 352.2 kB / 472.9 MB, free: 188 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.761, allocations: 36.33 kB / 472.9 MB, free: 152 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.7612, allocations: 234.6 kB / 473.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.7613, allocations: 84.05 kB / 473.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.7614, allocations: 10.94 kB / 473.3 MB, free: 15.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.7615, allocations: 329.1 kB / 473.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005131/0.7621, allocations: 188.6 kB / 473.8 MB, free: 15.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006376/0.7627, allocations: 294.4 kB / 474 MB, free: 15.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006283/0.7634, allocations: 236.8 kB / 474.3 MB, free: 14.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.7634, allocations: 0 / 474.3 MB, free: 14.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001737/0.7651, allocations: 0.599 MB / 474.9 MB, free: 14.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.7652, allocations: 4 kB / 474.9 MB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.877e-05/0.7653, allocations: 11.98 kB / 474.9 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007133/0.766, allocations: 126.5 kB / 475 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006031/0.7666, allocations: 67.89 kB / 475.1 MB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004777/0.7714, allocations: 4.212 MB / 479.3 MB, free: 9.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/0.7719, allocations: 55.5 kB / 479.3 MB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.202e-05/0.772, allocations: 15.98 kB / 479.4 MB, free: 9.348 MB / 394.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001767/0.7722, allocations: 124.9 kB / 479.5 MB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.7723, allocations: 39.44 kB / 479.5 MB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.7725, allocations: 47.62 kB / 479.6 MB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.7725, allocations: 4 kB / 479.6 MB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7725, allocations: 0 / 479.6 MB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.7725, allocations: 0 / 479.6 MB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005935/0.7731, allocations: 353.3 kB / 479.9 MB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.7732, allocations: 0 / 479.9 MB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006388/0.7738, allocations: 47.91 kB / 480 MB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.7738, allocations: 0 / 480 MB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.717e-05/0.7739, allocations: 8 kB / 480 MB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/0.7739, allocations: 8 kB / 480 MB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.7739, allocations: 4 kB / 480 MB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.7751, allocations: 0.4931 MB / 480.5 MB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.7752, allocations: 108.6 kB / 480.6 MB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.151e-05/0.7754, allocations: 15.98 kB / 480.6 MB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.7757, allocations: 15.94 kB / 480.6 MB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.749e-05/0.7758, allocations: 19.91 kB / 480.6 MB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.7758, allocations: 8 kB / 480.6 MB, free: 7.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004944/0.7763, allocations: 265.2 kB / 480.9 MB, free: 7.723 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7764, allocations: 0 / 480.9 MB, free: 7.723 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003015/0.7794, allocations: 0.6949 MB / 481.6 MB, free: 7.027 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.00453/0.784, allocations: 1.623 MB / 483.2 MB, free: 5.383 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002112/0.7861, allocations: 0.9041 MB / 484.1 MB, free: 4.406 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.7862, allocations: 3.938 kB / 484.1 MB, free: 4.402 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.7865, allocations: 119.8 kB / 484.2 MB, free: 4.285 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000886/0.7874, allocations: 96.22 kB / 484.3 MB, free: 4.195 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003777/0.7912, allocations: 1.107 MB / 485.4 MB, free: 3.047 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/0.7918, allocations: 0.8535 MB / 486.3 MB, free: 2.168 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/0.7922, allocations: 123.4 kB / 486.4 MB, free: 2.047 MB / 394.7 MB Notification: Performance of SimCode: time 1.272e-06/0.7922, allocations: 0 / 486.4 MB, free: 2.047 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.15/3.942, allocations: 14.44 MB / 0.4891 GB, free: 3.586 MB / 410.7 MB