Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_Limiters",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.176/3.176, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.686e-05/2.721e-05, allocations: 4 kB / 299.6 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4136, allocations: 54.86 MB / 354.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1831/0.5968, allocations: 81.08 MB / 435.5 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.5972, allocations: 63.97 kB / 435.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02628/0.6235, allocations: 3.958 MB / 439.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.602e-05/0.6236, allocations: 3.938 kB / 439.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.6236, allocations: 7.875 kB / 439.5 MB, free: 10.04 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001042/0.6246, allocations: 442.1 kB / 440 MB, free: 9.566 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/0.6247, allocations: 8.031 kB / 440 MB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.004e-05/0.6248, allocations: 38.55 kB / 440 MB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.909e-05/0.6249, allocations: 11.91 kB / 440 MB, free: 9.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.6253, allocations: 208.4 kB / 440.2 MB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.6253, allocations: 4 kB / 440.2 MB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/0.6254, allocations: 4 kB / 440.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002559/0.6257, allocations: 63.92 kB / 440.3 MB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.6261, allocations: 118.1 kB / 440.4 MB, free: 9.059 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.6261, allocations: 4 kB / 440.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.6261, allocations: 0 / 440.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.6262, allocations: 0 / 440.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.6277, allocations: 417 kB / 440.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009781/0.6287, allocations: 162.6 kB / 441 MB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.6288, allocations: 32.86 kB / 441 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/0.6289, allocations: 0 / 441 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.629, allocations: 42.48 kB / 441 MB, free: 8.355 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.565e-06/0.629, allocations: 4 kB / 441 MB, free: 8.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004637/0.6295, allocations: 85.58 kB / 441.1 MB, free: 8.262 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.6295, allocations: 102.8 kB / 441.2 MB, free: 8.137 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.6297, allocations: 121.5 kB / 441.3 MB, free: 8.012 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.6298, allocations: 33.69 kB / 441.4 MB, free: 7.973 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.094e-05/0.6299, allocations: 104.1 kB / 441.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.262e-05/0.63, allocations: 27.64 kB / 441.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/0.63, allocations: 0 / 441.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.6302, allocations: 326.8 kB / 441.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.6303, allocations: 28.55 kB / 441.9 MB, free: 7.484 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.6304, allocations: 46.52 kB / 441.9 MB, free: 7.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.799e-05/0.6305, allocations: 19.92 kB / 441.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6306, allocations: 0 / 441.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000311/0.6309, allocations: 97.73 kB / 442 MB, free: 7.309 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.817e-05/0.631, allocations: 89 kB / 442.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.631, allocations: 8.016 kB / 442.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.631, allocations: 0 / 442.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004376/0.6315, allocations: 39.97 kB / 442.2 MB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.6315, allocations: 0 / 442.2 MB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003653/0.6319, allocations: 43.83 kB / 442.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.6319, allocations: 4 kB / 442.2 MB, free: 7.121 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.6319, allocations: 4.625 kB / 442.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000175/0.6321, allocations: 43.92 kB / 442.2 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-06/0.6322, allocations: 3.938 kB / 442.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.877e-06/0.6322, allocations: 0 / 442.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.6324, allocations: 27.98 kB / 442.3 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.6324, allocations: 0 / 442.3 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.6326, allocations: 11.98 kB / 442.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.6327, allocations: 4 kB / 442.3 MB, free: 7.027 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 (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.0001265/0.6328, allocations: 105 kB / 442.4 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.828e-05/0.6329, allocations: 15.86 kB / 442.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.605e-05/0.633, allocations: 8.625 kB / 442.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.633, allocations: 8 kB / 442.4 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.633, allocations: 3.984 kB / 442.4 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.633, allocations: 0 / 442.4 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.6334, allocations: 186.1 kB / 442.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6334, allocations: 0 / 442.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.6339, allocations: 43.91 kB / 442.7 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.6339, allocations: 4 kB / 442.7 MB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.6339, allocations: 7.953 kB / 442.7 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.634, allocations: 0 / 442.7 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.634, allocations: 3.984 kB / 442.7 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005017/0.6345, allocations: 211.8 kB / 442.9 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.189e-05/0.6346, allocations: 88.98 kB / 443 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.6346, allocations: 0 / 443 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000677/0.6353, allocations: 59.91 kB / 443 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.6354, allocations: 3.984 kB / 443 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/0.6355, allocations: 7.984 kB / 443 MB, free: 6.207 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.6356, allocations: 109.9 kB / 443.1 MB, free: 6.102 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6356, allocations: 0 / 443.1 MB, free: 6.102 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005688/0.6362, allocations: 28 kB / 443.2 MB, free: 6.074 MB / 378.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.0009343/0.6371, allocations: 0.7592 MB / 443.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003931/0.6376, allocations: 88.55 kB / 444 MB, free: 5.203 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.6376, allocations: 4 kB / 444 MB, free: 5.199 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.6377, allocations: 28 kB / 444 MB, free: 5.172 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.6381, allocations: 15.94 kB / 444.1 MB, free: 5.156 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000877/0.639, allocations: 172.4 kB / 444.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.6394, allocations: 0.7124 MB / 444.9 MB, free: 4.207 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002248/0.6397, allocations: 20.97 kB / 445 MB, free: 4.184 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.6398, allocations: 35.42 kB / 445 MB, free: 4.148 MB / 378.7 MB Notification: Performance of SimCode: time 1.193e-06/0.6399, allocations: 0 / 445 MB, free: 4.148 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05295/0.6928, allocations: 2.641 MB / 447.6 MB, free: 1.535 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004078/0.6933, allocations: 123.9 kB / 447.8 MB, free: 1.34 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.133/3.827, allocations: 4.031 kB / 447.8 MB, free: 1.336 MB / 378.7 MB "" Variables in the reference:time,slewRateLimiter.y,limiter.y,variableLimiter.y,deadZone.y,sine.y,constPos.y,constNeg.y,slewRateLimiter.y,idealDerivative.y Variables in the result:constNeg.k,constNeg.y,constPos.k,constPos.y,deadZone.deadZoneAtInit,deadZone.u,deadZone.uMax,deadZone.uMin,deadZone.y,der(slewRateLimiter.y),idealDerivative.u,idealDerivative.y,limiter.limitsAtInit,limiter.strict,limiter.u,limiter.uMax,limiter.uMin,limiter.y,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,slewRateLimiter.Falling,slewRateLimiter.Rising,slewRateLimiter.Td,slewRateLimiter.strict,slewRateLimiter.u,slewRateLimiter.val,slewRateLimiter.y,time,variableLimiter.limit1,variableLimiter.limit2,variableLimiter.limitsAtInit,variableLimiter.strict,variableLimiter.u,variableLimiter.y