Running command: "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.516/2.516, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.307e-05/5.321e-05, allocations: 7.922 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1444, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5025/0.6469, allocations: 86.41 MB / 496.8 MB, free: 1.531 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.6472, allocations: 63.97 kB / 496.8 MB, free: 1.469 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03872/0.6859, allocations: 6.466 MB / 0.4915 GB, free: 11.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.686, allocations: 0 / 0.4915 GB, free: 11.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.686, allocations: 0 / 0.4915 GB, free: 11.01 MB / 410.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.000537/0.6866, allocations: 360.2 kB / 0.4918 GB, free: 10.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.143e-05/0.6867, allocations: 16.03 kB / 0.4919 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.94e-05/0.6868, allocations: 30.56 kB / 0.4919 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.6868, allocations: 0 / 0.4919 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.687, allocations: 163.1 kB / 0.492 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.6871, allocations: 0 / 0.492 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.6871, allocations: 7.953 kB / 0.4921 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.6872, allocations: 33.62 kB / 0.4921 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.6873, allocations: 0 / 0.4921 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.6873, allocations: 0 / 0.4921 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.6873, allocations: 0 / 0.4921 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.273e-05/0.6874, allocations: 8 kB / 0.4921 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.6876, allocations: 149.7 kB / 0.4922 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.221e-05/0.6877, allocations: 22.55 kB / 0.4923 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.117e-05/0.6878, allocations: 4.859 kB / 0.4923 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.6878, allocations: 0 / 0.4923 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.227e-05/0.6879, allocations: 64.16 kB / 0.4923 GB, free: 9.984 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 3.556e-06/0.6879, allocations: 0 / 0.4923 GB, free: 9.984 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002612/0.6882, allocations: 67.47 kB / 0.4924 GB, free: 9.906 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/0.6883, allocations: 81.09 kB / 0.4925 GB, free: 9.809 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.4e-05/0.6884, allocations: 88.91 kB / 0.4926 GB, free: 9.715 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.6885, allocations: 25.7 kB / 0.4926 GB, free: 9.684 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.6885, allocations: 80.14 kB / 0.4927 GB, free: 9.602 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.6886, allocations: 4 kB / 0.4927 GB, free: 9.598 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-06/0.6886, allocations: 0 / 0.4927 GB, free: 9.598 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.6888, allocations: 310.8 kB / 0.493 GB, free: 9.285 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.6888, allocations: 7.969 kB / 0.493 GB, free: 9.277 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.156e-05/0.6888, allocations: 0 / 0.493 GB, free: 9.277 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.651e-05/0.6889, allocations: 29.7 kB / 0.493 GB, free: 9.242 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.6889, allocations: 0 / 0.493 GB, free: 9.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001841/0.6891, allocations: 71.33 kB / 0.4931 GB, free: 9.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.065e-05/0.6892, allocations: 29.7 kB / 0.4931 GB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.6893, allocations: 0 / 0.4931 GB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.6893, allocations: 3.953 kB / 0.4931 GB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.046e-06/0.6893, allocations: 0 / 0.4931 GB, free: 9.121 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.6893, allocations: 4.094 kB / 0.4931 GB, free: 9.117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.953e-05/0.6894, allocations: 8 kB / 0.4931 GB, free: 9.109 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.6894, allocations: 0 / 0.4931 GB, free: 9.109 MB / 410.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.0001386/0.6896, allocations: 129.3 kB / 0.4932 GB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.6896, allocations: 4 kB / 0.4932 GB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.6897, allocations: 11.06 kB / 0.4932 GB, free: 8.953 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.567e-06/0.6897, allocations: 3.953 kB / 0.4932 GB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6897, allocations: 0 / 0.4932 GB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.6897, allocations: 0 / 0.4932 GB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.6899, allocations: 145.7 kB / 0.4934 GB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.6899, allocations: 0 / 0.4934 GB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-06/0.69, allocations: 0 / 0.4934 GB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.69, allocations: 4 kB / 0.4934 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.69, allocations: 0 / 0.4934 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.69, allocations: 0 / 0.4934 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/0.6901, allocations: 7.938 kB / 0.4934 GB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.6903, allocations: 90.78 kB / 0.4935 GB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.6904, allocations: 81.14 kB / 0.4936 GB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.6904, allocations: 3.984 kB / 0.4936 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.447e-05/0.6905, allocations: 0 / 0.4936 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.6905, allocations: 7.938 kB / 0.4936 GB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.6905, allocations: 3.953 kB / 0.4936 GB, free: 8.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.305e-05/0.6906, allocations: 75.28 kB / 0.4936 GB, free: 8.445 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.082e-06/0.6906, allocations: 0 / 0.4936 GB, free: 8.445 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004339/0.6911, allocations: 12 kB / 0.4937 GB, free: 8.434 MB / 410.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.0008718/0.692, allocations: 0.6481 MB / 0.4943 GB, free: 7.758 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.6921, allocations: 59.34 kB / 0.4943 GB, free: 7.688 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6922, allocations: 3.938 kB / 0.4943 GB, free: 7.684 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.009e-05/0.6923, allocations: 67.47 kB / 0.4944 GB, free: 7.605 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.6924, allocations: 0 / 0.4944 GB, free: 7.605 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.6929, allocations: 78.72 kB / 0.4945 GB, free: 7.492 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.6933, allocations: 0.677 MB / 0.4951 GB, free: 6.789 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.138e-06/0.6933, allocations: 0 / 0.4951 GB, free: 6.789 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.6933, allocations: 7.438 kB / 0.4952 GB, free: 6.781 MB / 410.7 MB Notification: Performance of SimCode: time 1.713e-06/0.6934, allocations: 0 / 0.4952 GB, free: 6.781 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.7123, allocations: 0.8114 MB / 0.4959 GB, free: 6.051 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/0.7126, allocations: 188.8 kB / 0.4961 GB, free: 5.824 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.503/3.216, allocations: 3.938 kB / 0.4961 GB, free: 5.82 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_res.mat does not exist to compare? outputFormat=mat