Running command: "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.343/2.343, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.751e-05/3.756e-05, allocations: 4 kB / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4023, allocations: 54.85 MB / 359.9 MB, free: 2.703 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1996/0.6019, allocations: 80.58 MB / 440.4 MB, free: 424 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.6022, allocations: 64.91 kB / 440.5 MB, free: 360 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0358/0.638, allocations: 6.324 MB / 446.8 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6381, allocations: 0 / 446.8 MB, free: 10.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.6381, allocations: 0 / 446.8 MB, free: 10.05 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004365/0.6386, allocations: 376.1 kB / 447.2 MB, free: 9.633 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.6386, allocations: 8.031 kB / 447.2 MB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.119e-05/0.6387, allocations: 34.56 kB / 447.2 MB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.6387, allocations: 3.953 kB / 447.2 MB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.6389, allocations: 159.1 kB / 447.4 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.6389, allocations: 4 kB / 447.4 MB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.6389, allocations: 0 / 447.4 MB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.268e-05/0.639, allocations: 33.62 kB / 447.4 MB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.639, allocations: 4 kB / 447.4 MB, free: 9.336 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.6391, allocations: 0.5625 kB / 447.4 MB, free: 9.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.6391, allocations: 3.953 kB / 447.4 MB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.109e-05/0.6391, allocations: 0 / 447.4 MB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.6393, allocations: 154.4 kB / 447.6 MB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.442e-05/0.6393, allocations: 18.61 kB / 447.6 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.744e-05/0.6394, allocations: 4.859 kB / 447.6 MB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.6394, allocations: 0.5625 kB / 447.6 MB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.849e-05/0.6395, allocations: 64.31 kB / 447.7 MB, free: 9.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.553e-06/0.6395, allocations: 0 / 447.7 MB, free: 9.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001804/0.6397, allocations: 67.34 kB / 447.7 MB, free: 8.941 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.6397, allocations: 77.11 kB / 447.8 MB, free: 8.848 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.057e-05/0.6398, allocations: 89 kB / 447.9 MB, free: 8.754 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.6398, allocations: 27.3 kB / 447.9 MB, free: 8.723 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.6399, allocations: 150.6 kB / 448.1 MB, free: 8.574 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.6399, allocations: 0 / 448.1 MB, free: 8.574 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.6399, allocations: 0 / 448.1 MB, free: 8.574 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.6401, allocations: 318.8 kB / 448.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.6401, allocations: 4.031 kB / 448.4 MB, free: 8.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-06/0.6401, allocations: 4 kB / 448.4 MB, free: 8.246 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.278e-05/0.6402, allocations: 25.7 kB / 448.4 MB, free: 8.215 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6402, allocations: 0 / 448.4 MB, free: 8.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.892e-05/0.6403, allocations: 63.41 kB / 448.5 MB, free: 8.141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.6404, allocations: 31.42 kB / 448.5 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.6404, allocations: 3.984 kB / 448.5 MB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.6404, allocations: 7.938 kB / 448.5 MB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.216e-06/0.6404, allocations: 4 kB / 448.5 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.6404, allocations: 96 / 448.5 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.846e-05/0.6405, allocations: 4 kB / 448.5 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.6405, allocations: 0 / 448.5 MB, free: 8.086 MB / 378.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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001024/0.6406, allocations: 136 kB / 448.7 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.6406, allocations: 0 / 448.7 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.858e-05/0.6406, allocations: 7.078 kB / 448.7 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.6407, allocations: 3.984 kB / 448.7 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6407, allocations: 0 / 448.7 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.6407, allocations: 0 / 448.7 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.6408, allocations: 153.6 kB / 448.8 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6408, allocations: 4 kB / 448.8 MB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.001e-06/0.6408, allocations: 0 / 448.8 MB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.6409, allocations: 0 / 448.8 MB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.6409, allocations: 3.938 kB / 448.8 MB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6409, allocations: 0 / 448.8 MB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6409, allocations: 0 / 448.8 MB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.641, allocations: 94.78 kB / 448.9 MB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.6411, allocations: 77.11 kB / 449 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.6411, allocations: 9.344 kB / 449 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.17e-05/0.6411, allocations: 3.938 kB / 449 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.6412, allocations: 0 / 449 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.6412, allocations: 4 kB / 449 MB, free: 7.496 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.829e-05/0.6412, allocations: 75.28 kB / 449.1 MB, free: 7.422 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6412, allocations: 0 / 449.1 MB, free: 7.422 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002591/0.6415, allocations: 15.98 kB / 449.1 MB, free: 7.406 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0006291/0.6421, allocations: 0.6414 MB / 449.7 MB, free: 6.738 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.871e-05/0.6423, allocations: 55.41 kB / 449.8 MB, free: 6.672 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6423, allocations: 0 / 449.8 MB, free: 6.672 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.825e-05/0.6423, allocations: 59.34 kB / 449.9 MB, free: 6.602 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.6425, allocations: 9.109 kB / 449.9 MB, free: 6.598 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003389/0.6428, allocations: 108.4 kB / 450 MB, free: 6.449 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.6431, allocations: 0.6731 MB / 450.6 MB, free: 5.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.59e-05/0.6431, allocations: 7.438 kB / 450.6 MB, free: 5.742 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.6432, allocations: 0 / 450.6 MB, free: 5.742 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.241/2.884, allocations: 0.5879 MB / 451.2 MB, free: 5.156 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestScalarFunctions_res.mat does not exist to compare? outputFormat=mat