Running command: "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestScalarFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.49/2.49, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.304e-05/4.308e-05, allocations: 0 / 323.5 MB, free: 4.23 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.412, allocations: 58.84 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1613/0.5733, allocations: 85.47 MB / 467.8 MB, free: 7.051 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.5736, allocations: 63.97 kB / 467.8 MB, free: 6.988 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.03089/0.6045, allocations: 6.349 MB / 474.2 MB, free: 0.6289 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6046, allocations: 0 / 474.2 MB, free: 0.6289 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.6046, allocations: 0 / 474.2 MB, free: 0.6289 MB / 394.8 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.0004034/0.605, allocations: 380 kB / 474.5 MB, free: 212 kB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.6051, allocations: 8.031 kB / 474.6 MB, free: 204 kB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.6051, allocations: 34.5 kB / 474.6 MB, free: 160 kB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.6052, allocations: 8 kB / 474.6 MB, free: 152 kB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.6053, allocations: 163 kB / 474.8 MB, free: 15.95 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.6054, allocations: 0 / 474.8 MB, free: 15.95 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.6054, allocations: 0 / 474.8 MB, free: 15.95 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.87e-05/0.6055, allocations: 29.7 kB / 474.8 MB, free: 15.91 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.6055, allocations: 0 / 474.8 MB, free: 15.91 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.465e-06/0.6055, allocations: 4 kB / 474.8 MB, free: 15.91 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.6055, allocations: 0 / 474.8 MB, free: 15.91 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.341e-05/0.6056, allocations: 7.922 kB / 474.8 MB, free: 15.9 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.6057, allocations: 153.7 kB / 474.9 MB, free: 15.7 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.064e-05/0.6058, allocations: 14.58 kB / 475 MB, free: 15.68 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.6058, allocations: 12.86 kB / 475 MB, free: 15.66 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.6059, allocations: 0 / 475 MB, free: 15.66 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.372e-05/0.6059, allocations: 64.33 kB / 475 MB, free: 15.59 MB / 410.8 MB Notification: Performance of pre-optimization done (n=1): time 1.683e-06/0.6059, allocations: 0 / 475 MB, free: 15.59 MB / 410.8 MB Notification: Performance of matching and sorting (n=1): time 0.000181/0.6061, allocations: 59.39 kB / 475.1 MB, free: 15.52 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.6062, allocations: 85.05 kB / 475.2 MB, free: 15.41 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.691e-05/0.6063, allocations: 85 kB / 475.3 MB, free: 15.32 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.6063, allocations: 25.7 kB / 475.3 MB, free: 15.29 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.6063, allocations: 80.14 kB / 475.4 MB, free: 15.21 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.6064, allocations: 0 / 475.4 MB, free: 15.21 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.6064, allocations: 4.031 kB / 475.4 MB, free: 15.21 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.6065, allocations: 314.8 kB / 475.7 MB, free: 14.89 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.313e-05/0.6065, allocations: 4 kB / 475.7 MB, free: 14.89 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-06/0.6066, allocations: 0 / 475.7 MB, free: 14.89 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.772e-05/0.6066, allocations: 25.7 kB / 475.7 MB, free: 14.86 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.6066, allocations: 3.953 kB / 475.7 MB, free: 14.85 MB / 410.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.675e-05/0.6067, allocations: 63.39 kB / 475.8 MB, free: 14.78 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.6068, allocations: 30.33 kB / 475.8 MB, free: 14.74 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.6068, allocations: 4.094 kB / 475.8 MB, free: 14.74 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.6068, allocations: 4 kB / 475.8 MB, free: 14.73 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.462e-06/0.6068, allocations: 0 / 475.8 MB, free: 14.73 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.6069, allocations: 3.938 kB / 475.8 MB, free: 14.73 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.308e-05/0.6069, allocations: 0 / 475.8 MB, free: 14.73 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.6069, allocations: 0 / 475.8 MB, free: 14.73 MB / 410.8 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.65e-05/0.607, allocations: 143.1 kB / 475.9 MB, free: 14.58 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.607, allocations: 3.953 kB / 476 MB, free: 14.57 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.59e-05/0.6071, allocations: 3.125 kB / 476 MB, free: 14.57 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.6071, allocations: 0 / 476 MB, free: 14.57 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6071, allocations: 4 kB / 476 MB, free: 14.56 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.6071, allocations: 0 / 476 MB, free: 14.56 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.6072, allocations: 153.7 kB / 476.1 MB, free: 14.36 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.6072, allocations: 0 / 476.1 MB, free: 14.36 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-06/0.6073, allocations: 3.953 kB / 476.1 MB, free: 14.36 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.6073, allocations: 0 / 476.1 MB, free: 14.36 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.6073, allocations: 0 / 476.1 MB, free: 14.36 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6073, allocations: 0 / 476.1 MB, free: 14.36 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.6073, allocations: 4 kB / 476.1 MB, free: 14.36 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.6074, allocations: 90.83 kB / 476.2 MB, free: 14.24 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.6075, allocations: 77.11 kB / 476.3 MB, free: 14.15 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.6075, allocations: 7.953 kB / 476.3 MB, free: 14.14 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.253e-05/0.6076, allocations: 0 / 476.3 MB, free: 14.14 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.6076, allocations: 3.984 kB / 476.3 MB, free: 14.14 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.6076, allocations: 0 / 476.3 MB, free: 14.14 MB / 410.8 MB Notification: Performance of sorting global known variables: time 3.295e-05/0.6076, allocations: 75.28 kB / 476.4 MB, free: 14.06 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6076, allocations: 0 / 476.4 MB, free: 14.06 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002523/0.6079, allocations: 8.031 kB / 476.4 MB, free: 14.05 MB / 410.8 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.0006521/0.6086, allocations: 0.6488 MB / 477 MB, free: 13.38 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.6087, allocations: 55.41 kB / 477.1 MB, free: 13.31 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6087, allocations: 4.094 kB / 477.1 MB, free: 13.31 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 4.58e-05/0.6088, allocations: 59.41 kB / 477.1 MB, free: 13.24 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001086/0.6089, allocations: 7.953 kB / 477.1 MB, free: 13.23 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.6092, allocations: 78.58 kB / 477.2 MB, free: 13.12 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.6095, allocations: 0.677 MB / 477.9 MB, free: 12.41 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.941e-06/0.6095, allocations: 0 / 477.9 MB, free: 12.41 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/0.6095, allocations: 7.438 kB / 477.9 MB, free: 12.41 MB / 410.8 MB Notification: Performance of SimCode: time 6.91e-07/0.6095, allocations: 0 / 477.9 MB, free: 12.41 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.628, allocations: 0.8258 MB / 478.7 MB, free: 11.65 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002613/0.6284, allocations: 180.8 kB / 478.9 MB, free: 11.43 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/3.038, allocations: 0 / 478.9 MB, free: 11.43 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions_res.mat does not exist to compare? outputFormat=mat