Running command: "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.268/2.268, allocations: 235 MB / 247.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.956e-05/5.017e-05, allocations: 4 kB / 305 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.394, allocations: 54.86 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1525/0.5465, allocations: 80.58 MB / 440.4 MB, free: 352 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.5468, allocations: 64.5 kB / 440.5 MB, free: 288 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02998/0.5768, allocations: 6.318 MB / 446.8 MB, free: 9.988 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5769, allocations: 0 / 446.8 MB, free: 9.988 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.5769, allocations: 0 / 446.8 MB, free: 9.988 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.0003585/0.5773, allocations: 372.1 kB / 447.2 MB, free: 9.574 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.5773, allocations: 8.031 kB / 447.2 MB, free: 9.566 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.963e-05/0.5774, allocations: 34.5 kB / 447.2 MB, free: 9.523 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.5774, allocations: 3.953 kB / 447.2 MB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.5775, allocations: 163.1 kB / 447.4 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.5776, allocations: 0.875 kB / 447.4 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.5776, allocations: 0 / 447.4 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.945e-05/0.5777, allocations: 37.69 kB / 447.4 MB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.5777, allocations: 0 / 447.4 MB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.5777, allocations: 1.5 kB / 447.4 MB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.5778, allocations: 3.953 kB / 447.4 MB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.802e-05/0.5778, allocations: 0 / 447.4 MB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.578, allocations: 145.7 kB / 447.6 MB, free: 9.082 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.112e-05/0.578, allocations: 26.48 kB / 447.6 MB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.578, allocations: 8.859 kB / 447.6 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.5781, allocations: 0 / 447.6 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/0.5781, allocations: 60.33 kB / 447.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.5781, allocations: 0 / 447.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001582/0.5783, allocations: 63.39 kB / 447.7 MB, free: 8.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.5784, allocations: 81.11 kB / 447.8 MB, free: 8.789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.399e-05/0.5784, allocations: 88.94 kB / 447.9 MB, free: 8.695 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.5784, allocations: 25.7 kB / 447.9 MB, free: 8.664 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.5785, allocations: 84.17 kB / 448 MB, free: 8.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.5785, allocations: 0 / 448 MB, free: 8.578 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-06/0.5785, allocations: 0 / 448 MB, free: 8.578 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.5787, allocations: 315.5 kB / 448.3 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.5787, allocations: 4 kB / 448.3 MB, free: 8.258 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-06/0.5787, allocations: 0 / 448.3 MB, free: 8.258 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.407e-05/0.5787, allocations: 29.69 kB / 448.3 MB, free: 8.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5788, allocations: 0 / 448.3 MB, free: 8.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.097e-05/0.5789, allocations: 68.72 kB / 448.4 MB, free: 8.145 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.5789, allocations: 33.7 kB / 448.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.5789, allocations: 0 / 448.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.5789, allocations: 0.8438 kB / 448.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/0.579, allocations: 0 / 448.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.579, allocations: 3.984 kB / 448.4 MB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.772e-05/0.579, allocations: 3.984 kB / 448.4 MB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.579, allocations: 0 / 448.4 MB, free: 8.098 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 9.781e-05/0.5791, allocations: 142.6 kB / 448.6 MB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.5791, allocations: 4.031 kB / 448.6 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.638e-05/0.5792, allocations: 7.078 kB / 448.6 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.5792, allocations: 0 / 448.6 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.5792, allocations: 1.406 kB / 448.6 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5792, allocations: 4 kB / 448.6 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.5793, allocations: 151.3 kB / 448.8 MB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.5793, allocations: 0 / 448.8 MB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.5793, allocations: 0 / 448.8 MB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5794, allocations: 0 / 448.8 MB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.5794, allocations: 0 / 448.8 MB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.5794, allocations: 7.938 kB / 448.8 MB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5794, allocations: 4 kB / 448.8 MB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.5795, allocations: 90.78 kB / 448.9 MB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/0.5796, allocations: 81.11 kB / 448.9 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.5796, allocations: 0 / 448.9 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.145e-05/0.5796, allocations: 0 / 448.9 MB, free: 7.512 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.5797, allocations: 4 kB / 448.9 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.5797, allocations: 0.875 kB / 448.9 MB, free: 7.508 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.478e-05/0.5797, allocations: 85.12 kB / 449 MB, free: 7.426 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5797, allocations: 4 kB / 449 MB, free: 7.422 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002329/0.58, allocations: 8 kB / 449 MB, free: 7.414 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.0005972/0.5806, allocations: 0.6427 MB / 449.7 MB, free: 6.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.794e-05/0.5807, allocations: 59.41 kB / 449.7 MB, free: 6.676 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5807, allocations: 0 / 449.7 MB, free: 6.676 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.243e-05/0.5808, allocations: 55.34 kB / 449.8 MB, free: 6.609 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.542e-05/0.5809, allocations: 6.5 kB / 449.8 MB, free: 6.605 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002678/0.5811, allocations: 82.7 kB / 449.9 MB, free: 6.488 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.5814, allocations: 0.6692 MB / 450.5 MB, free: 5.793 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.22e-06/0.5814, allocations: 4.125 kB / 450.5 MB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.5815, allocations: 7.438 kB / 450.6 MB, free: 5.781 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5815, allocations: 4 kB / 450.6 MB, free: 5.777 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.6046, allocations: 0.8281 MB / 451.4 MB, free: 5.023 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.6049, allocations: 194.1 kB / 451.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/2.776, allocations: 0 / 451.6 MB, free: 4.789 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions_res.mat does not exist to compare? outputFormat=mat