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.379/2.379, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.701e-05/3.704e-05, allocations: 0.9375 kB / 305 MB, free: 5.094 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3845, allocations: 54.85 MB / 359.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1566/0.5412, allocations: 84.31 MB / 444.2 MB, free: 12.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.5415, allocations: 69.16 kB / 444.2 MB, free: 12.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06776/0.6093, allocations: 13.52 MB / 457.8 MB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6093, allocations: 0 / 457.8 MB, free: 15.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.298e-05/0.6094, allocations: 12 kB / 457.8 MB, free: 15.02 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.003263/0.6127, allocations: 0.9662 MB / 458.7 MB, free: 14.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.6128, allocations: 8.031 kB / 458.7 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002088/0.613, allocations: 78.53 kB / 458.8 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002994/0.6133, allocations: 82.97 kB / 458.9 MB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001704/0.615, allocations: 0.5346 MB / 459.4 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.823e-05/0.6151, allocations: 33 kB / 459.5 MB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.6153, allocations: 47.89 kB / 459.5 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.6165, allocations: 477.1 kB / 460 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.6166, allocations: 0 / 460 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-05/0.6167, allocations: 16 kB / 460 MB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.6167, allocations: 12 kB / 460 MB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000956/0.6177, allocations: 311 kB / 460.3 MB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004471/0.6222, allocations: 1.456 MB / 461.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002677/0.6249, allocations: 0.7061 MB / 462.5 MB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/0.6255, allocations: 186.6 kB / 462.7 MB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.603e-05/0.6256, allocations: 8 kB / 462.7 MB, free: 9.906 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.6256, allocations: 38.56 kB / 462.7 MB, free: 9.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.466e-06/0.6256, allocations: 0 / 462.7 MB, free: 9.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.001351/0.627, allocations: 409.2 kB / 463.1 MB, free: 9.449 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.6271, allocations: 144.5 kB / 463.2 MB, free: 9.277 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007599/0.6279, allocations: 401 kB / 463.6 MB, free: 8.879 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.089e-05/0.628, allocations: 33.7 kB / 463.7 MB, free: 8.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.6283, allocations: 300.5 kB / 464 MB, free: 8.543 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/0.6286, allocations: 161.6 kB / 464.1 MB, free: 8.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.6286, allocations: 8.938 kB / 464.1 MB, free: 8.375 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.6289, allocations: 370.8 kB / 464.5 MB, free: 8.004 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004692/0.6293, allocations: 140.9 kB / 464.6 MB, free: 7.867 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005223/0.6299, allocations: 200.2 kB / 464.8 MB, free: 7.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.6304, allocations: 141.6 kB / 465 MB, free: 7.523 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6304, allocations: 0 / 465 MB, free: 7.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001316/0.6317, allocations: 447.3 kB / 465.4 MB, free: 7.078 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.6318, allocations: 191.7 kB / 465.6 MB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.6319, allocations: 0 / 465.6 MB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.6319, allocations: 4 kB / 465.6 MB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/0.6337, allocations: 188.3 kB / 465.8 MB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.6338, allocations: 4 kB / 465.8 MB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.6349, allocations: 115.6 kB / 465.9 MB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/0.6349, allocations: 11.98 kB / 465.9 MB, free: 6.559 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.635, allocations: 4 kB / 465.9 MB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001023/0.636, allocations: 346.4 kB / 466.2 MB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.636, allocations: 1.594 kB / 466.2 MB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.636, allocations: 7.938 kB / 466.2 MB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.6375, allocations: 159.8 kB / 466.4 MB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.6376, allocations: 0 / 466.4 MB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008412/0.6384, allocations: 83.64 kB / 466.5 MB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/0.6385, allocations: 19.98 kB / 466.5 MB, free: 5.953 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.0002254/0.6387, allocations: 124.9 kB / 466.6 MB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.6389, allocations: 63.19 kB / 466.7 MB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.6392, allocations: 73.78 kB / 466.8 MB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.6392, allocations: 7.953 kB / 466.8 MB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.6392, allocations: 8 kB / 466.8 MB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.6392, allocations: 0 / 466.8 MB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002517/0.6418, allocations: 1.073 MB / 467.8 MB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.6418, allocations: 4 kB / 467.9 MB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/0.6433, allocations: 155.8 kB / 468 MB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.6433, allocations: 4 kB / 468 MB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.219e-05/0.6434, allocations: 15.98 kB / 468 MB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/0.6434, allocations: 4.938 kB / 468 MB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6434, allocations: 0 / 468 MB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.6454, allocations: 0.8061 MB / 468.8 MB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004046/0.6458, allocations: 184.2 kB / 469 MB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.646, allocations: 12 kB / 469 MB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.6471, allocations: 91.92 kB / 469.1 MB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.6473, allocations: 39.92 kB / 469.2 MB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/0.6474, allocations: 19.94 kB / 469.2 MB, free: 3.172 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005994/0.648, allocations: 321.6 kB / 469.5 MB, free: 2.859 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.648, allocations: 0 / 469.5 MB, free: 2.859 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009212/0.6489, allocations: 203.8 kB / 469.7 MB, free: 2.66 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.002274/0.6512, allocations: 1.437 MB / 471.1 MB, free: 1.191 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.6531, allocations: 0.586 MB / 471.7 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.6531, allocations: 8 kB / 471.7 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005994/0.6537, allocations: 199.8 kB / 471.9 MB, free: 412 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.655, allocations: 122.5 kB / 472 MB, free: 296 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004874/0.6599, allocations: 1.145 MB / 473.2 MB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/0.6605, allocations: 0.8992 MB / 474.1 MB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009548/0.6614, allocations: 122.4 kB / 474.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005428/0.662, allocations: 223.3 kB / 474.4 MB, free: 13.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.763e-06/0.662, allocations: 0 / 474.4 MB, free: 13.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05166/0.7137, allocations: 12.43 MB / 486.8 MB, free: 1.492 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003213/0.7141, allocations: 135.6 kB / 487 MB, free: 1.273 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.792/3.506, allocations: 0 / 487 MB, free: 1.273 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