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.843/1.843, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.152e-05/3.17e-05, allocations: 4 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 48.69 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4226/0.5231, allocations: 78.49 MB / 400.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.5234, allocations: 67.95 kB / 400.4 MB, free: 11.26 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1021/0.6255, allocations: 18.28 MB / 418.7 MB, free: 8.957 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6256, allocations: 0 / 418.7 MB, free: 8.957 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.48e-05/0.6256, allocations: 19.98 kB / 418.7 MB, free: 8.938 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.003524/0.6292, allocations: 1.029 MB / 419.7 MB, free: 7.863 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.6292, allocations: 8.031 kB / 419.7 MB, free: 7.855 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/0.6294, allocations: 90.52 kB / 419.8 MB, free: 7.758 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002548/0.6297, allocations: 91.02 kB / 419.9 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/0.632, allocations: 0.6009 MB / 420.5 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.198e-05/0.6321, allocations: 37 kB / 420.6 MB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.6322, allocations: 40 kB / 420.6 MB, free: 6.949 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.6335, allocations: 0.4929 MB / 421.1 MB, free: 6.426 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.6335, allocations: 4 kB / 421.1 MB, free: 6.422 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.742e-05/0.6336, allocations: 23.98 kB / 421.1 MB, free: 6.398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.6337, allocations: 11.95 kB / 421.1 MB, free: 6.387 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009838/0.6347, allocations: 321.5 kB / 421.4 MB, free: 6.074 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004235/0.6389, allocations: 1.479 MB / 422.9 MB, free: 4.535 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.6406, allocations: 0.6788 MB / 423.6 MB, free: 3.785 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005347/0.6412, allocations: 197.6 kB / 423.8 MB, free: 3.586 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-05/0.6413, allocations: 24.03 kB / 423.8 MB, free: 3.562 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.6413, allocations: 38.56 kB / 423.8 MB, free: 3.516 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 3.216e-06/0.6414, allocations: 0 / 423.8 MB, free: 3.516 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.001285/0.6427, allocations: 417.8 kB / 424.3 MB, free: 3.098 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.97e-05/0.6428, allocations: 136.5 kB / 424.4 MB, free: 2.934 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000745/0.6435, allocations: 417.1 kB / 424.8 MB, free: 2.516 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.514e-05/0.6436, allocations: 33.7 kB / 424.8 MB, free: 2.477 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.6439, allocations: 326.9 kB / 425.2 MB, free: 2.152 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.6441, allocations: 153.7 kB / 425.3 MB, free: 2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.6442, allocations: 12 kB / 425.3 MB, free: 1.988 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.6443, allocations: 334.8 kB / 425.6 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000477/0.6448, allocations: 148.9 kB / 425.8 MB, free: 1.508 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005346/0.6454, allocations: 191.3 kB / 426 MB, free: 1.312 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/0.6459, allocations: 149.6 kB / 426.1 MB, free: 1.164 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.6459, allocations: 3.938 kB / 426.1 MB, free: 1.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001187/0.6471, allocations: 415.8 kB / 426.5 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.6471, allocations: 4 kB / 426.5 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.6471, allocations: 0 / 426.5 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.6471, allocations: 8.031 kB / 426.5 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/0.6489, allocations: 175.8 kB / 426.7 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.649, allocations: 4 kB / 426.7 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009334/0.6499, allocations: 103.5 kB / 426.8 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/0.65, allocations: 15.98 kB / 426.8 MB, free: 452 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.0001775/0.6502, allocations: 131.7 kB / 427 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.6504, allocations: 63.25 kB / 427 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.6517, allocations: 436.1 kB / 427.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.6517, allocations: 8 kB / 427.5 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6517, allocations: 0 / 427.5 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.6517, allocations: 3.984 kB / 427.5 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.6544, allocations: 1.124 MB / 428.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.6544, allocations: 4 kB / 428.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/0.6558, allocations: 147.8 kB / 428.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.6558, allocations: 0 / 428.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.368e-05/0.6559, allocations: 15.98 kB / 428.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.6559, allocations: 7.953 kB / 428.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.6559, allocations: 4 kB / 428.8 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.6578, allocations: 0.8209 MB / 429.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/0.6581, allocations: 192.1 kB / 429.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.6583, allocations: 19.89 kB / 429.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009658/0.6592, allocations: 75.94 kB / 429.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.6594, allocations: 47.95 kB / 429.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-05/0.6595, allocations: 11.98 kB / 429.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006045/0.6601, allocations: 333.6 kB / 430.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6601, allocations: 0 / 430.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006376/0.6607, allocations: 115.6 kB / 430.4 MB, free: 12.81 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.002237/0.663, allocations: 1.451 MB / 431.8 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.6641, allocations: 369.6 kB / 432.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6642, allocations: 0 / 432.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005964/0.6648, allocations: 211.7 kB / 432.4 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.6658, allocations: 114.5 kB / 432.5 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.6705, allocations: 1.171 MB / 433.7 MB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005746/0.6711, allocations: 0.9022 MB / 434.6 MB, free: 8.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000635/0.6718, allocations: 239.3 kB / 434.8 MB, free: 8.27 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.6718, allocations: 0 / 434.8 MB, free: 8.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.463/3.134, allocations: 9.548 MB / 444.3 MB, free: 14.74 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