Running command: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.007/2.007, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.656e-05/2.697e-05, allocations: 4 kB / 267.6 MB, free: 5.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 48.7 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4121/0.5171, allocations: 78.07 MB / 394.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.5174, allocations: 64.53 kB / 394.4 MB, free: 14.26 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09087/0.6083, allocations: 18.18 MB / 412.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.6084, allocations: 0 / 412.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.299e-05/0.6085, allocations: 23.88 kB / 412.6 MB, free: 14.99 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.003596/0.6121, allocations: 1.023 MB / 413.7 MB, free: 13.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.6122, allocations: 19.97 kB / 413.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004614/0.6126, allocations: 91.02 kB / 413.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/0.6152, allocations: 0.597 MB / 414.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.421e-05/0.6154, allocations: 16 kB / 414.4 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.6156, allocations: 27.44 kB / 414.4 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009327/0.6165, allocations: 307.9 kB / 414.7 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.6176, allocations: 447.3 kB / 415.1 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.6177, allocations: 0 / 415.1 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-05/0.6178, allocations: 7.953 kB / 415.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.6178, allocations: 8 kB / 415.2 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004305/0.6221, allocations: 1.399 MB / 416.6 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.6237, allocations: 0.6621 MB / 417.2 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004623/0.6241, allocations: 175.8 kB / 417.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.523e-05/0.6242, allocations: 23.42 kB / 417.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.6243, allocations: 41.88 kB / 417.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 3.496e-06/0.6243, allocations: 0 / 417.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.001153/0.6255, allocations: 388 kB / 417.8 MB, free: 10.51 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.491e-05/0.6256, allocations: 132.5 kB / 418 MB, free: 10.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006765/0.6263, allocations: 390.2 kB / 418.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.3e-05/0.6263, allocations: 25.7 kB / 418.4 MB, free: 10.01 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.6266, allocations: 326.9 kB / 418.7 MB, free: 9.785 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.6268, allocations: 153.8 kB / 418.8 MB, free: 9.652 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.6269, allocations: 4 kB / 418.8 MB, free: 9.648 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.627, allocations: 334.1 kB / 419.2 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004115/0.6275, allocations: 133.4 kB / 419.3 MB, free: 9.207 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000459/0.6279, allocations: 187.3 kB / 419.5 MB, free: 9.016 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004282/0.6284, allocations: 136.8 kB / 419.6 MB, free: 8.879 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.6284, allocations: 3.938 kB / 419.6 MB, free: 8.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001066/0.6295, allocations: 383.9 kB / 420 MB, free: 8.496 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.6295, allocations: 12.02 kB / 420 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.6295, allocations: 0 / 420 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.6296, allocations: 8 kB / 420 MB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0018/0.6314, allocations: 179.8 kB / 420.2 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.6314, allocations: 4 kB / 420.2 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009974/0.6324, allocations: 91.53 kB / 420.3 MB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.771e-05/0.6325, allocations: 19.98 kB / 420.3 MB, free: 8.188 MB / 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.000221/0.6327, allocations: 116.8 kB / 420.4 MB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001163/0.6339, allocations: 389.5 kB / 420.8 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.6341, allocations: 67.23 kB / 420.9 MB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.6353, allocations: 404.3 kB / 421.3 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-05/0.6354, allocations: 4 kB / 421.3 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.6354, allocations: 0 / 421.3 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.6354, allocations: 3.984 kB / 421.3 MB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/0.6381, allocations: 1.043 MB / 422.3 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.6382, allocations: 0 / 422.3 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/0.6395, allocations: 147.8 kB / 422.5 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/0.6396, allocations: 4 kB / 422.5 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.846e-05/0.6397, allocations: 7.984 kB / 422.5 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.6397, allocations: 3.953 kB / 422.5 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.6397, allocations: 0 / 422.5 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.6415, allocations: 0.7858 MB / 423.3 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003945/0.642, allocations: 196 kB / 423.4 MB, free: 4.934 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.6421, allocations: 15.88 kB / 423.5 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009777/0.6431, allocations: 67.94 kB / 423.5 MB, free: 4.852 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.6433, allocations: 35.94 kB / 423.6 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.517e-05/0.6434, allocations: 19.98 kB / 423.6 MB, free: 4.797 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005471/0.6439, allocations: 303 kB / 423.9 MB, free: 4.504 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6439, allocations: 0 / 423.9 MB, free: 4.504 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007245/0.6447, allocations: 99.69 kB / 424 MB, free: 4.406 MB / 346.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.002248/0.6469, allocations: 1.412 MB / 425.4 MB, free: 2.961 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.6481, allocations: 357.6 kB / 425.7 MB, free: 2.613 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.6481, allocations: 0 / 425.7 MB, free: 2.613 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005444/0.6487, allocations: 199.8 kB / 425.9 MB, free: 2.418 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.65, allocations: 118.5 kB / 426 MB, free: 2.301 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004972/0.655, allocations: 1.138 MB / 427.2 MB, free: 1.105 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006783/0.6557, allocations: 0.9019 MB / 428.1 MB, free: 180 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007231/0.6564, allocations: 239.3 kB / 428.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6564, allocations: 0 / 428.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.656/3.312, allocations: 9.542 MB / 437.9 MB, free: 6.422 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat