Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.991/1.991, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.766e-05/2.772e-05, allocations: 0 / 267.6 MB, free: 5.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1579, allocations: 48.7 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.422/0.58, allocations: 75.25 MB / 391.6 MB, free: 1.062 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.5803, allocations: 64.59 kB / 391.6 MB, free: 1.031 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02082/0.6011, allocations: 3.67 MB / 395.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.6012, allocations: 0 / 395.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.508e-05/0.6013, allocations: 4 kB / 395.3 MB, free: 13.91 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00132/0.6026, allocations: 459.9 kB / 395.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.617e-05/0.6027, allocations: 8.031 kB / 395.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.6029, allocations: 15.81 kB / 395.8 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.6039, allocations: 258.9 kB / 396 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.6041, allocations: 85.09 kB / 396.1 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.451e-05/0.6042, allocations: 8 kB / 396.1 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002826/0.6045, allocations: 55.86 kB / 396.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.605, allocations: 138.7 kB / 396.3 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.605, allocations: 0 / 396.3 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.6051, allocations: 0 / 396.3 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.6051, allocations: 0 / 396.3 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.6072, allocations: 459.2 kB / 396.7 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.6075, allocations: 75.12 kB / 396.8 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.6076, allocations: 23.89 kB / 396.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.6077, allocations: 0 / 396.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/0.6078, allocations: 49.19 kB / 396.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.675e-06/0.6078, allocations: 0 / 396.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004365/0.6082, allocations: 84.12 kB / 397 MB, free: 12.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.672e-05/0.6083, allocations: 106.8 kB / 397.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.6086, allocations: 136.7 kB / 397.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.529e-05/0.6087, allocations: 25.7 kB / 397.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.6088, allocations: 178 kB / 397.4 MB, free: 11.74 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.6089, allocations: 23.64 kB / 397.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.6089, allocations: 0 / 397.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.6091, allocations: 314.8 kB / 397.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.6092, allocations: 27.12 kB / 397.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.6094, allocations: 49.12 kB / 397.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.6095, allocations: 18.81 kB / 397.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.6095, allocations: 3.938 kB / 397.8 MB, free: 11.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003541/0.6099, allocations: 93.3 kB / 397.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.61, allocations: 8 kB / 397.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.61, allocations: 4.031 kB / 397.9 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.61, allocations: 3.953 kB / 397.9 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.6105, allocations: 43.95 kB / 398 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.6105, allocations: 0 / 398 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.6108, allocations: 23.84 kB / 398 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.6108, allocations: 3.984 kB / 398 MB, free: 11.17 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001673/0.611, allocations: 112 kB / 398.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003342/0.6113, allocations: 82.97 kB / 398.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.981e-05/0.6114, allocations: 11.86 kB / 398.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.614e-05/0.6115, allocations: 15.86 kB / 398.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.6115, allocations: 0 / 398.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6116, allocations: 288 / 398.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.6116, allocations: 3.984 kB / 398.2 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.612, allocations: 200.9 kB / 398.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.612, allocations: 3.938 kB / 398.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/0.6126, allocations: 51.95 kB / 398.5 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.914e-06/0.6126, allocations: 0 / 398.5 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.6127, allocations: 4 kB / 398.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/0.6127, allocations: 7.891 kB / 398.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.6127, allocations: 3.984 kB / 398.5 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005705/0.6133, allocations: 205.7 kB / 398.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.6135, allocations: 99.39 kB / 398.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.07e-05/0.6136, allocations: 4 kB / 398.8 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006877/0.6143, allocations: 48.2 kB / 398.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.6144, allocations: 11.95 kB / 398.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.6144, allocations: 6.797 kB / 398.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001627/0.6146, allocations: 109 kB / 399 MB, free: 10.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6146, allocations: 4 kB / 399 MB, free: 10.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006079/0.6152, allocations: 23.94 kB / 399 MB, free: 10.18 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.001002/0.6162, allocations: 0.7323 MB / 399.7 MB, free: 9.457 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002967/0.6166, allocations: 49.12 kB / 399.8 MB, free: 9.422 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.6166, allocations: 0 / 399.8 MB, free: 9.422 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.6167, allocations: 33.61 kB / 399.8 MB, free: 9.398 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.6173, allocations: 19.39 kB / 399.8 MB, free: 9.383 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.6184, allocations: 203.1 kB / 400 MB, free: 9.152 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.6188, allocations: 0.708 MB / 400.7 MB, free: 8.418 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.619, allocations: 35.86 kB / 400.8 MB, free: 8.398 MB / 330.7 MB Notification: Performance of SimCode: time 1.242e-06/0.619, allocations: 0 / 400.8 MB, free: 8.398 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.371/2.99, allocations: 1.965 MB / 402.7 MB, free: 6.453 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat