Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.536/2.536, allocations: 270 MB / 282.6 MB, free: 1.879 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.63e-05/3.636e-05, allocations: 4 kB / 347 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4233, allocations: 61.86 MB / 408.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2387/0.6621, allocations: 88.47 MB / 497.4 MB, free: 2.203 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.6624, allocations: 63.97 kB / 497.4 MB, free: 2.141 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02231/0.6847, allocations: 4.553 MB / 0.4902 GB, free: 13.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6848, allocations: 0 / 0.4902 GB, free: 13.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.6848, allocations: 0 / 0.4902 GB, free: 13.58 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008426/0.6856, allocations: 454 kB / 0.4907 GB, free: 13.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.6857, allocations: 12.03 kB / 0.4907 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.062e-05/0.6858, allocations: 34.56 kB / 0.4907 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.6858, allocations: 15.81 kB / 0.4907 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.6862, allocations: 215.9 kB / 0.4909 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.6862, allocations: 7.953 kB / 0.4909 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.6863, allocations: 15.98 kB / 0.491 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.6866, allocations: 128.2 kB / 0.4911 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.6867, allocations: 3.938 kB / 0.4911 GB, free: 12.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.6867, allocations: 4 kB / 0.4911 GB, free: 12.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.6867, allocations: 4 kB / 0.4911 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.6869, allocations: 51.98 kB / 0.4911 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.6881, allocations: 472.4 kB / 0.4916 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007684/0.6889, allocations: 162.5 kB / 0.4917 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.382e-05/0.689, allocations: 32.86 kB / 0.4918 GB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.6891, allocations: 0 / 0.4918 GB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.6891, allocations: 38.56 kB / 0.4918 GB, free: 11.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.6891, allocations: 0 / 0.4918 GB, free: 11.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003047/0.6894, allocations: 85.59 kB / 0.4919 GB, free: 11.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.6895, allocations: 102.8 kB / 0.492 GB, free: 11.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.6897, allocations: 144 kB / 0.4921 GB, free: 11.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.6898, allocations: 29.7 kB / 0.4922 GB, free: 11.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.733e-05/0.6899, allocations: 178.7 kB / 0.4923 GB, free: 11.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.6899, allocations: 23.69 kB / 0.4923 GB, free: 11.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.6899, allocations: 8 kB / 0.4924 GB, free: 11.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.6901, allocations: 310.8 kB / 0.4926 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.661e-05/0.6901, allocations: 24 kB / 0.4927 GB, free: 10.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.6903, allocations: 46.56 kB / 0.4927 GB, free: 10.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.632e-05/0.6904, allocations: 16 kB / 0.4927 GB, free: 10.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.6904, allocations: 0 / 0.4927 GB, free: 10.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002379/0.6906, allocations: 81.69 kB / 0.4928 GB, free: 10.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.311e-05/0.6907, allocations: 106.5 kB / 0.4929 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.6907, allocations: 4 kB / 0.4929 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.6907, allocations: 0 / 0.4929 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.6911, allocations: 43.91 kB / 0.493 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.6911, allocations: 0 / 0.493 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.6914, allocations: 43.81 kB / 0.493 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.6914, allocations: 7.938 kB / 0.493 GB, free: 10.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.6914, allocations: 4 kB / 0.493 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000145/0.6916, allocations: 47.97 kB / 0.4931 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/0.6916, allocations: 0 / 0.4931 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.979e-06/0.6916, allocations: 8 kB / 0.4931 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.6918, allocations: 19.98 kB / 0.4931 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.6918, allocations: 400 / 0.4931 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.692, allocations: 15.98 kB / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.692, allocations: 0 / 0.4931 GB, free: 10.39 MB / 426.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 (8): * Single equations (assignments): 8 * 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 prepare postOptimizeDAE: time 0.0001086/0.6921, allocations: 116.9 kB / 0.4932 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.6922, allocations: 11.91 kB / 0.4932 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.482e-05/0.6922, allocations: 16.61 kB / 0.4932 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.6922, allocations: 0 / 0.4932 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.6922, allocations: 0 / 0.4932 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.6923, allocations: 4 kB / 0.4932 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.6926, allocations: 225.4 kB / 0.4935 GB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.6926, allocations: 0 / 0.4935 GB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.6929, allocations: 43.97 kB / 0.4935 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.693, allocations: 3.938 kB / 0.4935 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.693, allocations: 4 kB / 0.4935 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.693, allocations: 0 / 0.4935 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.693, allocations: 3.984 kB / 0.4935 GB, free: 9.906 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004055/0.6934, allocations: 227.3 kB / 0.4937 GB, free: 9.668 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.6935, allocations: 92.97 kB / 0.4938 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.6936, allocations: 8.047 kB / 0.4938 GB, free: 9.551 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005121/0.6941, allocations: 51.95 kB / 0.4939 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.6941, allocations: 8 kB / 0.4939 GB, free: 9.492 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.6942, allocations: 3.984 kB / 0.4939 GB, free: 9.488 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.6943, allocations: 118.3 kB / 0.494 GB, free: 9.375 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6943, allocations: 4 kB / 0.494 GB, free: 9.371 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004513/0.6948, allocations: 39.91 kB / 0.494 GB, free: 9.332 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0007187/0.6955, allocations: 0.7614 MB / 0.4948 GB, free: 8.547 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003025/0.6958, allocations: 79.94 kB / 0.4949 GB, free: 8.469 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.6958, allocations: 3.938 kB / 0.4949 GB, free: 8.465 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.696, allocations: 39.92 kB / 0.4949 GB, free: 8.426 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.6964, allocations: 23.52 kB / 0.4949 GB, free: 8.406 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007044/0.6971, allocations: 235.3 kB / 0.4951 GB, free: 8.129 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.6974, allocations: 0.7126 MB / 0.4958 GB, free: 7.391 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.6975, allocations: 39.42 kB / 0.4959 GB, free: 7.352 MB / 426.7 MB Notification: Performance of SimCode: time 7.51e-07/0.6976, allocations: 0 / 0.4959 GB, free: 7.352 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.524/3.221, allocations: 2.234 MB / 0.4981 GB, free: 5.133 MB / 426.7 MB