Running command: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.48/2.48, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.722e-05/3.775e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4031, allocations: 54.85 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/0.5614, allocations: 84.33 MB / 444.2 MB, free: 12.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.5617, allocations: 65.16 kB / 444.3 MB, free: 12.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06887/0.6306, allocations: 13.52 MB / 457.8 MB, free: 14.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6307, allocations: 0 / 457.8 MB, free: 14.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.912e-05/0.6307, allocations: 16 kB / 457.8 MB, free: 14.89 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.003268/0.634, allocations: 0.9584 MB / 458.8 MB, free: 13.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.6341, allocations: 8.031 kB / 458.8 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001987/0.6343, allocations: 78.53 kB / 458.8 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002898/0.6346, allocations: 86.97 kB / 458.9 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.6364, allocations: 0.5346 MB / 459.5 MB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.962e-05/0.6365, allocations: 36.98 kB / 459.5 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.6367, allocations: 47.91 kB / 459.5 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.638, allocations: 467.1 kB / 460 MB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.638, allocations: 4 kB / 460 MB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.614e-05/0.6381, allocations: 16 kB / 460 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.6381, allocations: 12 kB / 460 MB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009806/0.6391, allocations: 301.5 kB / 460.3 MB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004858/0.644, allocations: 1.456 MB / 461.8 MB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004586/0.6487, allocations: 0.6911 MB / 462.5 MB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009187/0.6497, allocations: 189.6 kB / 462.7 MB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.6498, allocations: 11.94 kB / 462.7 MB, free: 9.805 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/0.6499, allocations: 42.5 kB / 462.7 MB, free: 9.754 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 4.659e-06/0.6499, allocations: 0 / 462.7 MB, free: 9.754 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.002135/0.652, allocations: 397.7 kB / 463.1 MB, free: 9.355 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.6522, allocations: 144.3 kB / 463.2 MB, free: 9.184 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.6534, allocations: 409 kB / 463.6 MB, free: 8.777 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001534/0.6536, allocations: 29.7 kB / 463.7 MB, free: 8.742 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/0.6541, allocations: 304.5 kB / 464 MB, free: 8.441 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003299/0.6545, allocations: 157.6 kB / 464.1 MB, free: 8.285 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-05/0.6546, allocations: 12 kB / 464.1 MB, free: 8.273 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002888/0.6549, allocations: 366.8 kB / 464.5 MB, free: 7.906 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008414/0.6558, allocations: 144.8 kB / 464.6 MB, free: 7.766 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006519/0.6564, allocations: 195.3 kB / 464.8 MB, free: 7.562 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004722/0.6569, allocations: 141.6 kB / 465 MB, free: 7.426 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6569, allocations: 0 / 465 MB, free: 7.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001332/0.6583, allocations: 447.4 kB / 465.4 MB, free: 6.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.6584, allocations: 187.7 kB / 465.6 MB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.6584, allocations: 32 / 465.6 MB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.6585, allocations: 8 kB / 465.6 MB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/0.6605, allocations: 191.8 kB / 465.8 MB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.6605, allocations: 0 / 465.8 MB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.6616, allocations: 111.6 kB / 465.9 MB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.016e-05/0.6617, allocations: 23.98 kB / 465.9 MB, free: 6.457 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.6617, allocations: 8 kB / 465.9 MB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001034/0.6628, allocations: 334.4 kB / 466.2 MB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.6628, allocations: 0 / 466.2 MB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.6628, allocations: 11.94 kB / 466.3 MB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/0.6644, allocations: 156.8 kB / 466.4 MB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.6644, allocations: 6.188 kB / 466.4 MB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008429/0.6653, allocations: 83.64 kB / 466.5 MB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.6653, allocations: 15.98 kB / 466.5 MB, free: 5.859 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.0002263/0.6656, allocations: 121.3 kB / 466.6 MB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/0.6658, allocations: 63.25 kB / 466.7 MB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.6661, allocations: 77.66 kB / 466.8 MB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.6661, allocations: 7.953 kB / 466.8 MB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.6661, allocations: 4 kB / 466.8 MB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.6661, allocations: 0 / 466.8 MB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002688/0.6688, allocations: 1.077 MB / 467.9 MB, free: 4.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.6689, allocations: 3.953 kB / 467.9 MB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/0.6703, allocations: 151.8 kB / 468 MB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/0.6703, allocations: 4 kB / 468 MB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.031e-05/0.6704, allocations: 15.98 kB / 468 MB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.6704, allocations: 4 kB / 468 MB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6705, allocations: 3.938 kB / 468 MB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.6725, allocations: 0.8061 MB / 468.8 MB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000341/0.6728, allocations: 185.2 kB / 469 MB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.673, allocations: 8 kB / 469 MB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.6741, allocations: 99.92 kB / 469.1 MB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.6743, allocations: 39.92 kB / 469.2 MB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.613e-05/0.6743, allocations: 12 kB / 469.2 MB, free: 3.082 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006234/0.675, allocations: 325.6 kB / 469.5 MB, free: 2.766 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.675, allocations: 0 / 469.5 MB, free: 2.766 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001021/0.676, allocations: 203.3 kB / 469.7 MB, free: 2.566 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.002386/0.6784, allocations: 1.436 MB / 471.1 MB, free: 1.094 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001827/0.6803, allocations: 0.5806 MB / 471.7 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.6804, allocations: 0 / 471.7 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006094/0.681, allocations: 201.4 kB / 471.9 MB, free: 328 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.6822, allocations: 125.1 kB / 472 MB, free: 204 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005175/0.6874, allocations: 1.15 MB / 473.2 MB, free: 15.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006179/0.6881, allocations: 0.8992 MB / 474.1 MB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009905/0.6891, allocations: 114.2 kB / 474.2 MB, free: 13.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005401/0.6897, allocations: 227.3 kB / 474.4 MB, free: 13.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6897, allocations: 0 / 474.4 MB, free: 13.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06062/0.7503, allocations: 12.39 MB / 486.8 MB, free: 1.441 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/0.7506, allocations: 134.3 kB / 486.9 MB, free: 1.223 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.885/3.636, allocations: 0 / 486.9 MB, free: 1.223 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat