Running command: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_StrictLimiters",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.257/3.257, allocations: 235.2 MB / 242.3 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.238e-05, allocations: 4 kB / 299.5 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4245, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2042/0.6287, allocations: 83.66 MB / 438.1 MB, free: 11.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.6291, allocations: 67.97 kB / 438.1 MB, free: 11.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1002/0.7293, allocations: 13.44 MB / 451.6 MB, free: 13.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.809e-06/0.7294, allocations: 7.938 kB / 451.6 MB, free: 13.87 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.361e-05/0.7295, allocations: 16 kB / 451.6 MB, free: 13.86 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.004135/0.7337, allocations: 0.9568 MB / 452.6 MB, free: 12.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.509e-05/0.7337, allocations: 8.031 kB / 452.6 MB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002265/0.734, allocations: 66.52 kB / 452.6 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003475/0.7343, allocations: 79.06 kB / 452.7 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.7366, allocations: 0.5388 MB / 453.2 MB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.189e-05/0.7367, allocations: 21.27 kB / 453.3 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.7368, allocations: 24 kB / 453.3 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001272/0.7381, allocations: 306.5 kB / 453.6 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.7396, allocations: 422.6 kB / 454 MB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.7397, allocations: 0 / 454 MB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-05/0.7398, allocations: 0 / 454 MB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.7398, allocations: 8 kB / 454 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005704/0.7455, allocations: 1.381 MB / 455.4 MB, free: 9.898 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/0.749, allocations: 0.6784 MB / 456.1 MB, free: 9.184 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006384/0.7497, allocations: 177.7 kB / 456.2 MB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.256e-05/0.7498, allocations: 15.97 kB / 456.3 MB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/0.7499, allocations: 42.5 kB / 456.3 MB, free: 8.938 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 4.418e-06/0.7499, allocations: 0 / 456.3 MB, free: 8.938 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.001615/0.7516, allocations: 385.7 kB / 456.7 MB, free: 8.551 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.844e-05/0.7517, allocations: 136.3 kB / 456.8 MB, free: 8.387 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008919/0.7526, allocations: 378.4 kB / 457.2 MB, free: 8.012 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-05/0.7527, allocations: 33.7 kB / 457.2 MB, free: 7.973 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/0.7531, allocations: 296.5 kB / 457.5 MB, free: 7.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.7534, allocations: 149.8 kB / 457.6 MB, free: 7.531 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.815e-05/0.7534, allocations: 0 / 457.6 MB, free: 7.531 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000251/0.7537, allocations: 374.8 kB / 458 MB, free: 7.156 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005598/0.7543, allocations: 136.8 kB / 458.1 MB, free: 7.023 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006323/0.7549, allocations: 187.3 kB / 458.3 MB, free: 6.828 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005401/0.7555, allocations: 140.8 kB / 458.5 MB, free: 6.691 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.138e-06/0.7555, allocations: 3.984 kB / 458.5 MB, free: 6.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001593/0.7571, allocations: 419.3 kB / 458.9 MB, free: 6.273 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.7573, allocations: 191.6 kB / 459.1 MB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.7573, allocations: 4 kB / 459.1 MB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/0.7573, allocations: 4 kB / 459.1 MB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002461/0.7598, allocations: 191.8 kB / 459.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.7599, allocations: 4 kB / 459.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.7613, allocations: 103.5 kB / 459.4 MB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.95e-05/0.7614, allocations: 19.98 kB / 459.4 MB, free: 5.754 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7614, allocations: 4.625 kB / 459.4 MB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001233/0.7627, allocations: 306.3 kB / 459.7 MB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.7627, allocations: 4 kB / 459.7 MB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.7627, allocations: 0 / 459.7 MB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/0.7648, allocations: 159.8 kB / 459.8 MB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.7649, allocations: 0 / 459.8 MB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.766, allocations: 79.59 kB / 459.9 MB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-05/0.7661, allocations: 15.98 kB / 459.9 MB, free: 5.195 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002746/0.7664, allocations: 108.9 kB / 460 MB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/0.7666, allocations: 59.28 kB / 460.1 MB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.7669, allocations: 70.03 kB / 460.2 MB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.767, allocations: 4 kB / 460.2 MB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.767, allocations: 0 / 460.2 MB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.767, allocations: 11.94 kB / 460.2 MB, free: 4.938 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003259/0.7703, allocations: 0.9835 MB / 461.2 MB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.7704, allocations: 4 kB / 461.2 MB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002012/0.7724, allocations: 152 kB / 461.3 MB, free: 3.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.37e-05/0.7724, allocations: 4 kB / 461.3 MB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.7726, allocations: 15.97 kB / 461.3 MB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/0.7726, allocations: 3.953 kB / 461.3 MB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.7726, allocations: 11.94 kB / 461.4 MB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/0.775, allocations: 0.7749 MB / 462.1 MB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004889/0.7756, allocations: 184.2 kB / 462.3 MB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.7757, allocations: 7.953 kB / 462.3 MB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/0.7773, allocations: 87.92 kB / 462.4 MB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/0.7775, allocations: 35.94 kB / 462.4 MB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.711e-05/0.7776, allocations: 15.98 kB / 462.5 MB, free: 2.574 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007165/0.7784, allocations: 298.9 kB / 462.8 MB, free: 2.285 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.7784, allocations: 0 / 462.8 MB, free: 2.285 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0013/0.7797, allocations: 171.4 kB / 462.9 MB, free: 2.117 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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.002964/0.7827, allocations: 1.4 MB / 464.3 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002168/0.7849, allocations: 0.5611 MB / 464.9 MB, free: 124 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.7849, allocations: 0 / 464.9 MB, free: 124 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3675/1.152, allocations: 189.6 kB / 465.1 MB, free: 97.46 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/1.154, allocations: 114.3 kB / 465.2 MB, free: 97.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006411/1.161, allocations: 1.106 MB / 466.3 MB, free: 97.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000701/1.161, allocations: 0.898 MB / 467.2 MB, free: 96.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001336/1.163, allocations: 117.1 kB / 467.3 MB, free: 96.42 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000724/1.163, allocations: 219.9 kB / 467.5 MB, free: 96.42 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/1.163, allocations: 0 / 467.5 MB, free: 96.42 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08478/1.248, allocations: 12.16 MB / 479.7 MB, free: 93.88 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002482/1.248, allocations: 127.3 kB / 479.8 MB, free: 93.69 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.91/5.158, allocations: 0 / 479.8 MB, free: 93.69 MB / 394.7 MB "" Variables in the reference:time,PID1.D.x,PID1.I.y,PID2.D.x,PID2.I.y,limIntegrator1.y,limIntegrator2.y,slewRateLimiter1.y,slewRateLimiter2.y Variables in the result:PID1.D.T,PID1.D.initType,PID1.D.k,PID1.D.u,PID1.D.x,PID1.D.x_start,PID1.D.y,PID1.D.y_start,PID1.D.zeroGain,PID1.I.initType,PID1.I.k,PID1.I.u,PID1.I.y,PID1.I.y_start,PID1.Nd,PID1.Ni,PID1.P.k,PID1.P.u,PID1.P.y,PID1.Td,PID1.Ti,PID1.addD.k1,PID1.addD.k2,PID1.addD.u1,PID1.addD.u2,PID1.addD.y,PID1.addI.k1,PID1.addI.k2,PID1.addI.k3,PID1.addI.u1,PID1.addI.u2,PID1.addI.u3,PID1.addI.y,PID1.addP.k1,PID1.addP.k2,PID1.addP.u1,PID1.addP.u2,PID1.addP.y,PID1.addPID.k1,PID1.addPID.k2,PID1.addPID.k3,PID1.addPID.u1,PID1.addPID.u2,PID1.addPID.u3,PID1.addPID.y,PID1.addSat.k1,PID1.addSat.k2,PID1.addSat.u1,PID1.addSat.u2,PID1.addSat.y,PID1.controlError,PID1.controllerType,PID1.gainPID.k,PID1.gainPID.u,PID1.gainPID.y,PID1.gainTrack.k,PID1.gainTrack.u,PID1.gainTrack.y,PID1.initType,PID1.k,PID1.limiter.limitsAtInit,PID1.limiter.strict,PID1.limiter.u,PID1.limiter.uMax,PID1.limiter.uMin,PID1.limiter.y,PID1.limitsAtInit,PID1.strict,PID1.u_m,PID1.u_s,PID1.wd,PID1.with_D,PID1.with_I,PID1.wp,PID1.xd_start,PID1.xi_start,PID1.y,PID1.yMax,PID1.yMin,PID1.y_start,PID2.D.T,PID2.D.initType,PID2.D.k,PID2.D.u,PID2.D.x,PID2.D.x_start,PID2.D.y,PID2.D.y_start,PID2.D.zeroGain,PID2.I.initType,PID2.I.k,PID2.I.u,PID2.I.y,PID2.I.y_start,PID2.Nd,PID2.Ni,PID2.P.k,PID2.P.u,PID2.P.y,PID2.Td,PID2.Ti,PID2.addD.k1,PID2.addD.k2,PID2.addD.u1,PID2.addD.u2,PID2.addD.y,PID2.addI.k1,PID2.addI.k2,PID2.addI.k3,PID2.addI.u1,PID2.addI.u2,PID2.addI.u3,PID2.addI.y,PID2.addP.k1,PID2.addP.k2,PID2.addP.u1,PID2.addP.u2,PID2.addP.y,PID2.addPID.k1,PID2.addPID.k2,PID2.addPID.k3,PID2.addPID.u1,PID2.addPID.u2,PID2.addPID.u3,PID2.addPID.y,PID2.addSat.k1,PID2.addSat.k2,PID2.addSat.u1,PID2.addSat.u2,PID2.addSat.y,PID2.controlError,PID2.controllerType,PID2.gainPID.k,PID2.gainPID.u,PID2.gainPID.y,PID2.gainTrack.k,PID2.gainTrack.u,PID2.gainTrack.y,PID2.initType,PID2.k,PID2.limiter.limitsAtInit,PID2.limiter.strict,PID2.limiter.u,PID2.limiter.uMax,PID2.limiter.uMin,PID2.limiter.y,PID2.limitsAtInit,PID2.strict,PID2.u_m,PID2.u_s,PID2.wd,PID2.with_D,PID2.with_I,PID2.wp,PID2.xd_start,PID2.xi_start,PID2.y,PID2.yMax,PID2.yMin,PID2.y_start,der(PID1.D.x),der(PID1.I.y),der(PID2.D.x),der(PID2.I.y),der(limIntegrator1.y),der(limIntegrator2.y),der(slewRateLimiter1.y),der(slewRateLimiter2.y),der1.u,der1.y,der2.u,der2.y,limIntegrator1.initType,limIntegrator1.k,limIntegrator1.limitsAtInit,limIntegrator1.outMax,limIntegrator1.outMin,limIntegrator1.strict,limIntegrator1.u,limIntegrator1.y,limIntegrator1.y_start,limIntegrator2.initType,limIntegrator2.k,limIntegrator2.limitsAtInit,limIntegrator2.outMax,limIntegrator2.outMin,limIntegrator2.strict,limIntegrator2.u,limIntegrator2.y,limIntegrator2.y_start,limiter1.limitsAtInit,limiter1.strict,limiter1.u,limiter1.uMax,limiter1.uMin,limiter1.y,limiter2.limitsAtInit,limiter2.strict,limiter2.u,limiter2.uMax,limiter2.uMin,limiter2.y,sine1.amplitude,sine1.freqHz,sine1.offset,sine1.phase,sine1.startTime,sine1.y,sine2.amplitude,sine2.freqHz,sine2.offset,sine2.phase,sine2.startTime,sine2.y,sine2a.amplitude,sine2a.freqHz,sine2a.offset,sine2a.phase,sine2a.startTime,sine2a.y,sine2ab.amplitude,sine2ab.freqHz,sine2ab.offset,sine2ab.phase,sine2ab.startTime,sine2ab.y,sine3.amplitude,sine3.freqHz,sine3.offset,sine3.phase,sine3.startTime,sine3.y,slewRateLimiter1.Falling,slewRateLimiter1.Rising,slewRateLimiter1.Td,slewRateLimiter1.strict,slewRateLimiter1.u,slewRateLimiter1.val,slewRateLimiter1.y,slewRateLimiter2.Falling,slewRateLimiter2.Rising,slewRateLimiter2.Td,slewRateLimiter2.strict,slewRateLimiter2.u,slewRateLimiter2.val,slewRateLimiter2.y,time,variableLimiter1.limit1,variableLimiter1.limit2,variableLimiter1.limitsAtInit,variableLimiter1.strict,variableLimiter1.u,variableLimiter1.y,variableLimiter2.limit1,variableLimiter2.limit2,variableLimiter2.limitsAtInit,variableLimiter2.strict,variableLimiter2.u,variableLimiter2.y