Running command: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.155/2.155, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.869e-05/4.864e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.158, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4347/0.5928, allocations: 78.49 MB / 400.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.5931, allocations: 63.97 kB / 400.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09686/0.69, allocations: 18.28 MB / 418.7 MB, free: 8.754 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.6901, allocations: 4 kB / 418.7 MB, free: 8.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.141e-05/0.6902, allocations: 19.94 kB / 418.7 MB, free: 8.73 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.003968/0.6941, allocations: 1.032 MB / 419.8 MB, free: 7.652 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.6942, allocations: 8.031 kB / 419.8 MB, free: 7.645 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002724/0.6945, allocations: 82.53 kB / 419.9 MB, free: 7.555 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004039/0.6949, allocations: 103 kB / 420 MB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/0.6975, allocations: 0.5931 MB / 420.5 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.728e-05/0.6977, allocations: 40.86 kB / 420.6 MB, free: 6.777 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.6978, allocations: 48 kB / 420.6 MB, free: 6.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.6992, allocations: 488.9 kB / 421.1 MB, free: 6.223 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.6993, allocations: 11.88 kB / 421.1 MB, free: 6.211 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.6994, allocations: 20 kB / 421.1 MB, free: 6.191 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.6994, allocations: 15.95 kB / 421.2 MB, free: 6.176 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009867/0.7004, allocations: 313.5 kB / 421.5 MB, free: 5.871 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004953/0.7054, allocations: 1.483 MB / 422.9 MB, free: 4.328 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.7073, allocations: 0.6854 MB / 423.6 MB, free: 3.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005784/0.7079, allocations: 189.7 kB / 423.8 MB, free: 3.379 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.994e-05/0.708, allocations: 12.06 kB / 423.8 MB, free: 3.367 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.708, allocations: 34.56 kB / 423.9 MB, free: 3.324 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 3.556e-06/0.7081, allocations: 0 / 423.9 MB, free: 3.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.001457/0.7095, allocations: 429.7 kB / 424.3 MB, free: 2.895 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.7097, allocations: 136.5 kB / 424.4 MB, free: 2.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008486/0.7105, allocations: 413.1 kB / 424.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.7107, allocations: 37.7 kB / 424.9 MB, free: 2.273 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003331/0.711, allocations: 296.5 kB / 425.1 MB, free: 1.977 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.7113, allocations: 165.6 kB / 425.3 MB, free: 1.812 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.7113, allocations: 8 kB / 425.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002282/0.7116, allocations: 374.7 kB / 425.7 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.7121, allocations: 148.9 kB / 425.8 MB, free: 1.285 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000539/0.7126, allocations: 191.3 kB / 426 MB, free: 1.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/0.7131, allocations: 153.7 kB / 426.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.7132, allocations: 3.938 kB / 426.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001391/0.7146, allocations: 463.2 kB / 426.6 MB, free: 484 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.7146, allocations: 4 kB / 426.6 MB, free: 480 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.7146, allocations: 0 / 426.6 MB, free: 480 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/0.7147, allocations: 7.984 kB / 426.6 MB, free: 472 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/0.7165, allocations: 183.8 kB / 426.8 MB, free: 288 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/0.7166, allocations: 7.938 kB / 426.8 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.7177, allocations: 91.62 kB / 426.9 MB, free: 188 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.044e-05/0.7178, allocations: 19.98 kB / 426.9 MB, free: 168 kB / 346.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 (54): * Single equations (assignments): 54 * 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.0002082/0.718, allocations: 124.9 kB / 427 MB, free: 36 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.7182, allocations: 63.42 kB / 427.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.7196, allocations: 436.1 kB / 427.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.7197, allocations: 4 kB / 427.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.7197, allocations: 0 / 427.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.7197, allocations: 7.938 kB / 427.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002948/0.7227, allocations: 1.124 MB / 428.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.7227, allocations: 0 / 428.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/0.7242, allocations: 155.8 kB / 428.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.587e-05/0.7242, allocations: 4 kB / 428.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.077e-05/0.7243, allocations: 19.94 kB / 428.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/0.7244, allocations: 4 kB / 428.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7244, allocations: 0 / 428.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.7265, allocations: 0.817 MB / 429.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/0.727, allocations: 188.2 kB / 429.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.7271, allocations: 19.95 kB / 429.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.7282, allocations: 79.92 kB / 429.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.7284, allocations: 35.94 kB / 430 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-05/0.7285, allocations: 19.92 kB / 430 MB, free: 12.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006966/0.7292, allocations: 325.6 kB / 430.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7292, allocations: 0 / 430.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008007/0.73, allocations: 123.6 kB / 430.4 MB, free: 12.54 MB / 362.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 (46): * Single equations (assignments): 46 * 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.002431/0.7324, allocations: 1.447 MB / 431.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.7337, allocations: 377.6 kB / 432.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.7338, allocations: 0 / 432.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005817/0.7344, allocations: 203.8 kB / 432.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.7357, allocations: 124.5 kB / 432.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005225/0.7409, allocations: 1.145 MB / 433.7 MB, free: 9.188 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006291/0.7416, allocations: 0.8983 MB / 434.6 MB, free: 8.266 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006629/0.7423, allocations: 68.38 kB / 434.7 MB, free: 8.195 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000572/0.7429, allocations: 231.3 kB / 434.9 MB, free: 7.973 MB / 362.7 MB Notification: Performance of SimCode: time 1.613e-06/0.7429, allocations: 4 kB / 434.9 MB, free: 7.969 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04949/0.7924, allocations: 10.79 MB / 445.7 MB, free: 13.26 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003686/0.7929, allocations: 142.2 kB / 445.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.069/3.862, allocations: 0 / 445.8 MB, free: 13.04 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat