Running command: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Limiters") Notification: Performance of loadModel(ModelicaTest): time 2.586/2.586, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.142e-05, allocations: 3.984 kB / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3922, allocations: 54.86 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002441/0.3947, allocations: 1.299 MB / 364.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.3961, allocations: 0.5091 MB / 364.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.3962, allocations: 6.719 kB / 364.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/0.3963, allocations: 7.922 kB / 364.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.3964, allocations: 9.266 kB / 364.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000526/0.3969, allocations: 102.2 kB / 364.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.3971, allocations: 68.97 kB / 364.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.3973, allocations: 23.25 kB / 364.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.3975, allocations: 53.09 kB / 364.9 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.3976, allocations: 45.39 kB / 365 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.517e-05/0.3977, allocations: 6.688 kB / 365 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.3977, allocations: 6.625 kB / 365 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.535e-05/0.3978, allocations: 28.16 kB / 365 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.3978, allocations: 6.75 kB / 365 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.398, allocations: 83.09 kB / 365.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.398, allocations: 0 / 365.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.398, allocations: 3.938 kB / 365.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.398, allocations: 0 / 365.1 MB, free: 10.45 MB / 298.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.0009394/0.399, allocations: 434.4 kB / 365.5 MB, free: 10.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.3991, allocations: 9 kB / 365.6 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.954e-05/0.3992, allocations: 11.25 kB / 365.6 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.3995, allocations: 206.4 kB / 365.8 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.3995, allocations: 10.59 kB / 365.8 MB, free: 9.793 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.3996, allocations: 5.344 kB / 365.8 MB, free: 9.793 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007109/0.4003, allocations: 191.1 kB / 366 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.4004, allocations: 1.219 kB / 366 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.4004, allocations: 5.156 kB / 366 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4004, allocations: 1.5 kB / 366 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007839/0.4012, allocations: 154 kB / 366.1 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.4027, allocations: 465.8 kB / 366.6 MB, free: 9.199 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.404, allocations: 248 kB / 366.8 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.222e-05/0.4041, allocations: 1.062 kB / 366.8 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.104e-05/0.4042, allocations: 36.56 kB / 366.9 MB, free: 9.051 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 3.707e-06/0.4042, allocations: 0 / 366.9 MB, free: 9.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.003216/0.4074, allocations: 0.6539 MB / 367.5 MB, free: 8.629 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.4076, allocations: 112.7 kB / 367.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.4079, allocations: 144.3 kB / 367.8 MB, free: 8.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.043e-05/0.4079, allocations: 26.58 kB / 367.8 MB, free: 8.348 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.408, allocations: 105.4 kB / 367.9 MB, free: 8.246 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/0.4081, allocations: 30.8 kB / 367.9 MB, free: 8.219 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.4081, allocations: 0.9062 kB / 367.9 MB, free: 8.219 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.4083, allocations: 325.1 kB / 368.2 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000526/0.4089, allocations: 86.34 kB / 368.3 MB, free: 7.863 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005358/0.4094, allocations: 110.1 kB / 368.4 MB, free: 7.805 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004865/0.4099, allocations: 85.3 kB / 368.5 MB, free: 7.773 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.41, allocations: 0 / 368.5 MB, free: 7.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.001141/0.4111, allocations: 226.2 kB / 368.7 MB, free: 7.609 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.4113, allocations: 101 kB / 368.8 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.4113, allocations: 0 / 368.8 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.4113, allocations: 4 kB / 368.8 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.4117, allocations: 43.91 kB / 368.9 MB, free: 7.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.4118, allocations: 0 / 368.9 MB, free: 7.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/0.4121, allocations: 39.92 kB / 368.9 MB, free: 7.418 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.4121, allocations: 4 kB / 368.9 MB, free: 7.414 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.4122, allocations: 4 kB / 368.9 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004647/0.4126, allocations: 95.89 kB / 369 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4127, allocations: 3.984 kB / 369 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.4127, allocations: 0 / 369 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.4129, allocations: 23.98 kB / 369 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.4129, allocations: 0 / 369 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.4131, allocations: 19.98 kB / 369.1 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.4132, allocations: 4 kB / 369.1 MB, free: 7.266 MB / 298.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 (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 prepare postOptimizeDAE: time 0.0001988/0.4134, allocations: 117.8 kB / 369.2 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.548e-05/0.4135, allocations: 15.77 kB / 369.2 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.157e-05/0.4135, allocations: 16.72 kB / 369.2 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4136, allocations: 0 / 369.2 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.4136, allocations: 0 / 369.2 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/0.4136, allocations: 7.969 kB / 369.2 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.4154, allocations: 0.546 MB / 369.8 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.4154, allocations: 3.938 kB / 369.8 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.4158, allocations: 39.97 kB / 369.8 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.4158, allocations: 4.188 kB / 369.8 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.4159, allocations: 7.984 kB / 369.8 MB, free: 6.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.4159, allocations: 7.969 kB / 369.8 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4159, allocations: 0 / 369.8 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.4174, allocations: 425.8 kB / 370.3 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.543e-05/0.4175, allocations: 92.94 kB / 370.3 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/0.4176, allocations: 4 kB / 370.3 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005279/0.4181, allocations: 56.02 kB / 370.4 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.136e-05/0.4182, allocations: 8 kB / 370.4 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.4183, allocations: 7.984 kB / 370.4 MB, free: 5.805 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001222/0.4184, allocations: 119.2 kB / 370.5 MB, free: 5.688 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4184, allocations: 0 / 370.5 MB, free: 5.688 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004216/0.4189, allocations: 32 kB / 370.6 MB, free: 5.656 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001508/0.419, allocations: 103.2 kB / 370.7 MB, free: 5.547 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.4202, allocations: 236.4 kB / 370.9 MB, free: 5.316 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.4202, allocations: 4 kB / 370.9 MB, free: 5.312 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004639/0.4207, allocations: 95.94 kB / 371 MB, free: 5.219 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.421, allocations: 23.88 kB / 371 MB, free: 5.195 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.422, allocations: 322.2 kB / 371.3 MB, free: 4.848 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.4224, allocations: 0.705 MB / 372 MB, free: 4.117 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.4226, allocations: 24.98 kB / 372.1 MB, free: 4.094 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-05/0.4227, allocations: 15.42 kB / 372.1 MB, free: 4.078 MB / 298.7 MB Notification: Performance of SimCode: time 1.673e-06/0.4227, allocations: 480 / 372.1 MB, free: 4.078 MB / 298.7 MB Notification: Performance of Templates: time 0.01008/0.4328, allocations: 1.946 MB / 374 MB, free: 2.16 MB / 298.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.uMax,deadZone.uMin,deadZone.y,idealDerivative.y,limiter.limitsAtInit,limiter.strict,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.y,time,variableLimiter.limit1,variableLimiter.limit2,variableLimiter.limitsAtInit,variableLimiter.strict,variableLimiter.y