Running command: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.636/2.636, allocations: 270 MB / 283.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.034e-05/5.008e-05, allocations: 7.984 kB / 348.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4475, allocations: 61.86 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1942/0.6417, allocations: 89.65 MB / 0.4883 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/0.6421, allocations: 63.97 kB / 0.4883 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06449/0.7066, allocations: 9.977 MB / 0.4981 GB, free: 6.785 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.7067, allocations: 0 / 0.4981 GB, free: 6.785 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.7067, allocations: 0 / 0.4981 GB, free: 6.785 MB / 426.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.0006811/0.7074, allocations: 483.8 kB / 0.4986 GB, free: 6.262 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.7074, allocations: 8.031 kB / 0.4986 GB, free: 6.254 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.7075, allocations: 30.56 kB / 0.4986 GB, free: 6.215 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.7075, allocations: 4 kB / 0.4986 GB, free: 6.211 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.7076, allocations: 159.1 kB / 0.4987 GB, free: 6.016 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.7077, allocations: 0 / 0.4987 GB, free: 6.016 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.7077, allocations: 7.953 kB / 0.4988 GB, free: 6.008 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.624e-05/0.7078, allocations: 25.7 kB / 0.4988 GB, free: 5.977 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.7078, allocations: 0 / 0.4988 GB, free: 5.977 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.7078, allocations: 7.984 kB / 0.4988 GB, free: 5.969 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.7078, allocations: 11.88 kB / 0.4988 GB, free: 5.957 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.956e-05/0.7079, allocations: 0 / 0.4988 GB, free: 5.957 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.708, allocations: 141.7 kB / 0.4989 GB, free: 5.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.252e-05/0.7081, allocations: 22.55 kB / 0.499 GB, free: 5.738 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.216e-05/0.7081, allocations: 8.859 kB / 0.499 GB, free: 5.727 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.7082, allocations: 3.953 kB / 0.499 GB, free: 5.723 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/0.7082, allocations: 60.27 kB / 0.499 GB, free: 5.648 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.693e-06/0.7082, allocations: 64 / 0.499 GB, free: 5.648 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001765/0.7084, allocations: 67.3 kB / 0.4991 GB, free: 5.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.7085, allocations: 77.11 kB / 0.4992 GB, free: 5.477 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.741e-05/0.7085, allocations: 85 kB / 0.4992 GB, free: 5.387 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.7086, allocations: 29.7 kB / 0.4993 GB, free: 5.352 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.7086, allocations: 80.14 kB / 0.4993 GB, free: 5.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.7086, allocations: 0 / 0.4993 GB, free: 5.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.7086, allocations: 4.031 kB / 0.4993 GB, free: 5.266 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.7088, allocations: 314.8 kB / 0.4996 GB, free: 4.949 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.095e-05/0.7088, allocations: 3.938 kB / 0.4997 GB, free: 4.945 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-06/0.7088, allocations: 4 kB / 0.4997 GB, free: 4.941 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.688e-05/0.7089, allocations: 29.69 kB / 0.4997 GB, free: 4.906 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7089, allocations: 0 / 0.4997 GB, free: 4.906 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.852e-05/0.709, allocations: 59.41 kB / 0.4997 GB, free: 4.836 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.709, allocations: 29.7 kB / 0.4998 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.709, allocations: 4.047 kB / 0.4998 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.7091, allocations: 4 kB / 0.4998 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-06/0.7091, allocations: 0 / 0.4998 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.7091, allocations: 4 kB / 0.4998 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.403e-05/0.7091, allocations: 4 kB / 0.4998 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.7091, allocations: 0 / 0.4998 GB, free: 4.785 MB / 426.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.462e-05/0.7092, allocations: 130.7 kB / 0.4999 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-06/0.7093, allocations: 4 kB / 0.4999 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.5e-05/0.7093, allocations: 3.125 kB / 0.4999 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.7093, allocations: 3.953 kB / 0.4999 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.7093, allocations: 4 kB / 0.4999 GB, free: 4.625 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7093, allocations: 0 / 0.4999 GB, free: 4.625 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.7095, allocations: 149.7 kB / 0.5001 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.7095, allocations: 4 kB / 0.5001 GB, free: 4.426 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-06/0.7095, allocations: 7.875 kB / 0.5001 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.7095, allocations: 0 / 0.5001 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.7095, allocations: 0 / 0.5001 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7095, allocations: 0 / 0.5001 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.7095, allocations: 3.953 kB / 0.5001 GB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.7097, allocations: 94.83 kB / 0.5002 GB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.7097, allocations: 81.05 kB / 0.5002 GB, free: 4.199 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.7098, allocations: 0 / 0.5002 GB, free: 4.199 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.48e-05/0.7098, allocations: 4 kB / 0.5003 GB, free: 4.195 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.7098, allocations: 3.953 kB / 0.5003 GB, free: 4.191 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.7098, allocations: 0 / 0.5003 GB, free: 4.191 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.027e-05/0.7099, allocations: 75.28 kB / 0.5003 GB, free: 4.117 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7099, allocations: 0 / 0.5003 GB, free: 4.117 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009085/0.7108, allocations: 183.8 kB / 0.5005 GB, free: 3.938 MB / 426.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.00166/0.7125, allocations: 0.9333 MB / 0.5014 GB, free: 2.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.7126, allocations: 55.41 kB / 0.5015 GB, free: 2.914 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7126, allocations: 0 / 0.5015 GB, free: 2.914 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.663e-05/0.7127, allocations: 59.41 kB / 0.5015 GB, free: 2.844 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.7128, allocations: 3.984 kB / 0.5015 GB, free: 2.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005539/0.7134, allocations: 186.6 kB / 0.5017 GB, free: 2.621 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.7137, allocations: 0.677 MB / 0.5024 GB, free: 1.918 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.122e-06/0.7138, allocations: 0 / 0.5024 GB, free: 1.918 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.7138, allocations: 7.438 kB / 0.5024 GB, free: 1.91 MB / 426.7 MB Notification: Performance of SimCode: time 1.854e-06/0.7138, allocations: 3.938 kB / 0.5024 GB, free: 1.906 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.742, allocations: 4.733 MB / 0.507 GB, free: 13.25 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003373/0.7424, allocations: 197.5 kB / 0.5072 GB, free: 13.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.824/3.566, allocations: 0 / 0.5072 GB, free: 13.02 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat does not exist to compare? outputFormat=mat