Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_trunk_cpp_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.039/2.039, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.609e-05/3.614e-05, allocations: 7.984 kB / 292.2 MB, free: 8.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 50.41 MB / 342.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4282/0.5374, allocations: 77.53 MB / 420.2 MB, free: 204 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.5377, allocations: 66.41 kB / 420.2 MB, free: 172 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009765/0.5475, allocations: 2.377 MB / 422.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5475, allocations: 0 / 422.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.5476, allocations: 4 kB / 422.6 MB, free: 14.12 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000627/0.5482, allocations: 418.9 kB / 423 MB, free: 13.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.5483, allocations: 12.03 kB / 423 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.304e-05/0.5483, allocations: 40.95 kB / 423.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.5484, allocations: 15.81 kB / 423.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.5487, allocations: 201.4 kB / 423.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.5487, allocations: 7.25 kB / 423.3 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.5488, allocations: 11.25 kB / 423.3 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.549, allocations: 112.2 kB / 423.4 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.549, allocations: 0 / 423.4 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.5491, allocations: 7.375 kB / 423.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.5491, allocations: 0 / 423.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.5492, allocations: 41.98 kB / 423.4 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009218/0.5502, allocations: 0.5559 MB / 424 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.5504, allocations: 69.89 kB / 424.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.191e-05/0.5505, allocations: 29.67 kB / 424.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.5505, allocations: 4.438 kB / 424.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.5505, allocations: 41.56 kB / 424.1 MB, free: 12.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.963e-06/0.5505, allocations: 0 / 424.1 MB, free: 12.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007281/0.5513, allocations: 352.6 kB / 424.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.5513, allocations: 63.3 kB / 424.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.5515, allocations: 133.6 kB / 424.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.5515, allocations: 28.83 kB / 424.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.117e-05/0.5516, allocations: 180 kB / 424.9 MB, free: 11.76 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.5517, allocations: 38.64 kB / 424.9 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-06/0.5517, allocations: 3 kB / 424.9 MB, free: 11.72 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5519, allocations: 317.8 kB / 425.2 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.142e-05/0.5519, allocations: 25.5 kB / 425.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.5521, allocations: 57.55 kB / 425.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.965e-05/0.5522, allocations: 30.3 kB / 425.3 MB, free: 11.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5522, allocations: 0 / 425.3 MB, free: 11.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002653/0.5524, allocations: 112.7 kB / 425.5 MB, free: 11.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.5525, allocations: 11.94 kB / 425.5 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5525, allocations: 0 / 425.5 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.5525, allocations: 0 / 425.5 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.5528, allocations: 44.06 kB / 425.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.5528, allocations: 0 / 425.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.553, allocations: 27.25 kB / 425.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.553, allocations: 4 kB / 425.5 MB, free: 11.14 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (positionSmoothed.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.794e-05/0.5531, allocations: 115.7 kB / 425.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.5532, allocations: 11.81 kB / 425.7 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.948e-05/0.5532, allocations: 15.62 kB / 425.7 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5533, allocations: 4 kB / 425.7 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5533, allocations: 0 / 425.7 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.5533, allocations: 3.984 kB / 425.7 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007209/0.554, allocations: 419.6 kB / 426.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.554, allocations: 0 / 426.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/0.5544, allocations: 36.02 kB / 426.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.5544, allocations: 3.984 kB / 426.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.5544, allocations: 0 / 426.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.5544, allocations: 4 kB / 426.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.5544, allocations: 3.953 kB / 426.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.5548, allocations: 245.3 kB / 426.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.5549, allocations: 92.42 kB / 426.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.5549, allocations: 0 / 426.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.5551, allocations: 19.94 kB / 426.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.5552, allocations: 10.98 kB / 426.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.5552, allocations: 4 kB / 426.5 MB, free: 10.15 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001097/0.5553, allocations: 116.4 kB / 426.6 MB, free: 10.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5553, allocations: 0 / 426.6 MB, free: 10.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003413/0.5557, allocations: 19.44 kB / 426.6 MB, free: 10.04 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (v.u,limit_a.y,positionSmoothed.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0006814/0.5564, allocations: 0.8538 MB / 427.5 MB, free: 9.184 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.5566, allocations: 65.56 kB / 427.6 MB, free: 9.137 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5567, allocations: 0 / 427.6 MB, free: 9.137 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.5568, allocations: 35.19 kB / 427.6 MB, free: 9.109 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.5572, allocations: 34.95 kB / 427.6 MB, free: 9.082 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007554/0.558, allocations: 277.5 kB / 427.9 MB, free: 8.793 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.5583, allocations: 0.7129 MB / 428.6 MB, free: 8.055 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.385e-05/0.5584, allocations: 36.55 kB / 428.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5584, allocations: 0 / 428.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.444/3.003, allocations: 2.12 MB / 430.8 MB, free: 5.938 MB / 346.7 MB