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 2.553/2.553, allocations: 235.1 MB / 242.3 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.766e-05/2.806e-05, allocations: 4 kB / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3782, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/0.5376, allocations: 81.07 MB / 435.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.5379, allocations: 63.97 kB / 435.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02261/0.5605, allocations: 3.966 MB / 439.5 MB, free: 9.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5606, allocations: 0 / 439.5 MB, free: 9.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.5606, allocations: 4 kB / 439.5 MB, free: 9.98 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.0008646/0.5615, allocations: 438.1 kB / 440 MB, free: 9.508 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.5616, allocations: 12.03 kB / 440 MB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.701e-05/0.5617, allocations: 11.89 kB / 440 MB, free: 9.484 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.562, allocations: 208.9 kB / 440.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.562, allocations: 4 kB / 440.2 MB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.5621, allocations: 11.94 kB / 440.2 MB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002181/0.5623, allocations: 52 kB / 440.3 MB, free: 9.176 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.5626, allocations: 120.1 kB / 440.4 MB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.5627, allocations: 0 / 440.4 MB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.5627, allocations: 0 / 440.4 MB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.5627, allocations: 0 / 440.4 MB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.5641, allocations: 428.9 kB / 440.8 MB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008381/0.565, allocations: 154.5 kB / 440.9 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.5651, allocations: 36.89 kB / 441 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.5651, allocations: 4 kB / 441 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.5652, allocations: 42.55 kB / 441 MB, free: 8.332 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.276e-06/0.5652, allocations: 0 / 441 MB, free: 8.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003764/0.5656, allocations: 85.73 kB / 441.1 MB, free: 8.242 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.5657, allocations: 106.8 kB / 441.2 MB, free: 8.113 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.5658, allocations: 121.5 kB / 441.3 MB, free: 7.988 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.5659, allocations: 29.7 kB / 441.4 MB, free: 7.953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.388e-05/0.566, allocations: 108.1 kB / 441.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.566, allocations: 27.64 kB / 441.5 MB, free: 7.816 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.566, allocations: 0 / 441.5 MB, free: 7.816 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5662, allocations: 326.8 kB / 441.8 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-05/0.5663, allocations: 28 kB / 441.8 MB, free: 7.461 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.5664, allocations: 42.58 kB / 441.9 MB, free: 7.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.351e-05/0.5665, allocations: 15.98 kB / 441.9 MB, free: 7.395 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.5665, allocations: 4 kB / 441.9 MB, free: 7.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002725/0.5668, allocations: 89.59 kB / 442 MB, free: 7.297 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.768e-05/0.5669, allocations: 93.03 kB / 442.1 MB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.5669, allocations: 0 / 442.1 MB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.5669, allocations: 3.938 kB / 442.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.5673, allocations: 43.95 kB / 442.1 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.5674, allocations: 0 / 442.1 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.5677, allocations: 43.83 kB / 442.2 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.5677, allocations: 0 / 442.2 MB, free: 7.109 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/0.5677, allocations: 4 kB / 442.2 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001483/0.5679, allocations: 44.36 kB / 442.2 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.5679, allocations: 3.984 kB / 442.2 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.576e-06/0.5679, allocations: 0 / 442.2 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.5681, allocations: 27.98 kB / 442.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.5681, allocations: 3.938 kB / 442.3 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.5683, allocations: 11.98 kB / 442.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.5683, allocations: 4 kB / 442.3 MB, free: 7.012 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.0001209/0.5685, allocations: 105 kB / 442.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002597/0.5687, allocations: 85.55 kB / 442.5 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.5688, allocations: 19.84 kB / 442.5 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.477e-05/0.5689, allocations: 8.625 kB / 442.5 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-06/0.5689, allocations: 7.938 kB / 442.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5689, allocations: 0 / 442.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.5689, allocations: 3.984 kB / 442.5 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/0.5693, allocations: 194 kB / 442.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.5693, allocations: 3.953 kB / 442.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003611/0.5697, allocations: 47.91 kB / 442.7 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5697, allocations: 0 / 442.7 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.5697, allocations: 0 / 442.7 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.5697, allocations: 0 / 442.7 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5697, allocations: 0 / 442.7 MB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004169/0.5702, allocations: 211.4 kB / 442.9 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.5703, allocations: 92.94 kB / 443 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.5703, allocations: 64 / 443 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005743/0.5709, allocations: 51.95 kB / 443.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.571, allocations: 7.984 kB / 443.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.571, allocations: 11.98 kB / 443.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.962e-05/0.5711, allocations: 100.7 kB / 443.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.5712, allocations: 0 / 443.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005397/0.5717, allocations: 28 kB / 443.2 MB, free: 5.969 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.0008559/0.5726, allocations: 0.763 MB / 444 MB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003371/0.5729, allocations: 88.48 kB / 444.1 MB, free: 5.094 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.573, allocations: 0 / 444.1 MB, free: 5.094 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.5731, allocations: 28 kB / 444.1 MB, free: 5.066 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.5734, allocations: 12.61 kB / 444.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007882/0.5742, allocations: 182.1 kB / 444.3 MB, free: 4.836 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.5746, allocations: 0.7085 MB / 445 MB, free: 4.102 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002042/0.5749, allocations: 20.97 kB / 445 MB, free: 4.078 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.575, allocations: 35.42 kB / 445.1 MB, free: 4.043 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.575, allocations: 3.938 kB / 445.1 MB, free: 4.039 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04778/0.6228, allocations: 2.52 MB / 447.6 MB, free: 1.543 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003432/0.6232, allocations: 124.6 kB / 447.7 MB, free: 1.348 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.647/3.271, allocations: 0 / 447.7 MB, free: 1.348 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat