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 1.928/1.928, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.172e-05/4.174e-05, allocations: 4 kB / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09984/0.0999, allocations: 48.7 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4015/0.5014, allocations: 78.48 MB / 400.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.5017, allocations: 71.95 kB / 400.4 MB, free: 11.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09325/0.595, allocations: 18.28 MB / 418.7 MB, free: 9.098 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5951, allocations: 4 kB / 418.7 MB, free: 9.094 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.464e-05/0.5951, allocations: 16 kB / 418.7 MB, free: 9.078 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.003413/0.5986, allocations: 1.029 MB / 419.7 MB, free: 8.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.5986, allocations: 8.031 kB / 419.7 MB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001731/0.5988, allocations: 86.52 kB / 419.8 MB, free: 7.902 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003157/0.5991, allocations: 94.95 kB / 419.9 MB, free: 7.809 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002313/0.6015, allocations: 0.6008 MB / 420.5 MB, free: 7.168 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.706e-05/0.6016, allocations: 37 kB / 420.5 MB, free: 7.129 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.6017, allocations: 52 kB / 420.6 MB, free: 7.078 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.603, allocations: 498.8 kB / 421.1 MB, free: 6.562 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.603, allocations: 3.984 kB / 421.1 MB, free: 6.559 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.44e-05/0.6031, allocations: 16 kB / 421.1 MB, free: 6.543 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.6032, allocations: 19.95 kB / 421.1 MB, free: 6.523 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009678/0.6041, allocations: 323 kB / 421.4 MB, free: 6.211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004319/0.6085, allocations: 1.475 MB / 422.9 MB, free: 4.676 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.6102, allocations: 0.7017 MB / 423.6 MB, free: 3.906 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005091/0.6107, allocations: 197.6 kB / 423.8 MB, free: 3.707 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.708e-05/0.6108, allocations: 12.05 kB / 423.8 MB, free: 3.695 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.6108, allocations: 42.5 kB / 423.8 MB, free: 3.645 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 3.386e-06/0.6109, allocations: 0 / 423.8 MB, free: 3.645 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.001285/0.6122, allocations: 417.8 kB / 424.2 MB, free: 3.227 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.6122, allocations: 136.5 kB / 424.4 MB, free: 3.062 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007268/0.613, allocations: 421 kB / 424.8 MB, free: 2.641 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/0.6131, allocations: 33.7 kB / 424.8 MB, free: 2.602 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.6134, allocations: 326.9 kB / 425.1 MB, free: 2.277 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.6136, allocations: 161.6 kB / 425.3 MB, free: 2.117 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.6136, allocations: 8 kB / 425.3 MB, free: 2.109 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6138, allocations: 330.8 kB / 425.6 MB, free: 1.777 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000448/0.6142, allocations: 144.8 kB / 425.8 MB, free: 1.637 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005174/0.6148, allocations: 204.2 kB / 426 MB, free: 1.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/0.6152, allocations: 149.6 kB / 426.1 MB, free: 1.281 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6152, allocations: 0 / 426.1 MB, free: 1.281 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001164/0.6164, allocations: 411.8 kB / 426.5 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.6164, allocations: 4 kB / 426.5 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.6165, allocations: 0 / 426.5 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.6165, allocations: 4 kB / 426.5 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.6182, allocations: 183.8 kB / 426.7 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.6183, allocations: 4 kB / 426.7 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009591/0.6192, allocations: 103.5 kB / 426.8 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/0.6193, allocations: 19.94 kB / 426.8 MB, free: 0.5586 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.0001811/0.6195, allocations: 128.9 kB / 427 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.6197, allocations: 59.25 kB / 427 MB, free: 376 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.621, allocations: 436.5 kB / 427.4 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.621, allocations: 8 kB / 427.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.6211, allocations: 0 / 427.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.6211, allocations: 3.984 kB / 427.5 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/0.6237, allocations: 1.124 MB / 428.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.6238, allocations: 0 / 428.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/0.6251, allocations: 147.8 kB / 428.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.6252, allocations: 4 kB / 428.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.567e-05/0.6253, allocations: 15.94 kB / 428.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.6253, allocations: 4 kB / 428.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.6253, allocations: 3.938 kB / 428.7 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.6273, allocations: 0.8209 MB / 429.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.6276, allocations: 192 kB / 429.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.6278, allocations: 28.03 kB / 429.8 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009891/0.6288, allocations: 75.94 kB / 429.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.629, allocations: 43.92 kB / 429.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/0.629, allocations: 11.98 kB / 429.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006008/0.6296, allocations: 329.6 kB / 430.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6296, allocations: 0 / 430.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006303/0.6303, allocations: 119.6 kB / 430.4 MB, free: 12.93 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.002194/0.6325, allocations: 1.451 MB / 431.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.6337, allocations: 382.4 kB / 432.2 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6337, allocations: 0 / 432.2 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005634/0.6342, allocations: 208.2 kB / 432.4 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.6353, allocations: 118 kB / 432.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004643/0.64, allocations: 1.174 MB / 433.7 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/0.6406, allocations: 0.9022 MB / 434.6 MB, free: 8.602 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006207/0.6413, allocations: 231.3 kB / 434.8 MB, free: 8.375 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6413, allocations: 4 kB / 434.8 MB, free: 8.371 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.587/3.229, allocations: 9.571 MB / 444.4 MB, free: 14.82 MB / 378.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