Running command: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.954/2.954, allocations: 249.5 MB / 261.6 MB, free: 2.176 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.035e-05/4.036e-05, allocations: 0 / 323.5 MB, free: 4.23 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.4446, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1734/0.618, allocations: 88.68 MB / 471 MB, free: 3.734 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.6183, allocations: 67.97 kB / 471 MB, free: 3.668 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.04694/0.6653, allocations: 9.897 MB / 480.9 MB, free: 9.758 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6654, allocations: 0 / 480.9 MB, free: 9.758 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.6654, allocations: 0 / 480.9 MB, free: 9.758 MB / 410.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.0008108/0.6662, allocations: 471.9 kB / 481.4 MB, free: 9.246 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.6663, allocations: 8.031 kB / 481.4 MB, free: 9.238 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/0.6663, allocations: 34.56 kB / 481.4 MB, free: 9.195 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.6664, allocations: 0 / 481.4 MB, free: 9.195 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.6665, allocations: 175 kB / 481.6 MB, free: 8.984 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.6665, allocations: 4 kB / 481.6 MB, free: 8.98 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.088e-06/0.6666, allocations: 0 / 481.6 MB, free: 8.98 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.574e-05/0.6667, allocations: 29.69 kB / 481.6 MB, free: 8.945 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.6667, allocations: 0 / 481.6 MB, free: 8.945 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.6667, allocations: 7.938 kB / 481.6 MB, free: 8.938 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.6667, allocations: 0 / 481.6 MB, free: 8.938 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.967e-05/0.6667, allocations: 0 / 481.6 MB, free: 8.938 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.6669, allocations: 149.6 kB / 481.8 MB, free: 8.742 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.323e-05/0.667, allocations: 23.03 kB / 481.8 MB, free: 8.711 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.194e-05/0.667, allocations: 8.797 kB / 481.8 MB, free: 8.699 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.667, allocations: 4 kB / 481.8 MB, free: 8.695 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.58e-05/0.6671, allocations: 64.33 kB / 481.9 MB, free: 8.617 MB / 410.8 MB Notification: Performance of pre-optimization done (n=1): time 1.803e-06/0.6671, allocations: 0 / 481.9 MB, free: 8.617 MB / 410.8 MB Notification: Performance of matching and sorting (n=1): time 0.0001912/0.6673, allocations: 55.44 kB / 481.9 MB, free: 8.551 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.6674, allocations: 81.11 kB / 482 MB, free: 8.453 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.029e-05/0.6675, allocations: 88.94 kB / 482.1 MB, free: 8.359 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.6675, allocations: 33.69 kB / 482.1 MB, free: 8.32 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.6675, allocations: 80.14 kB / 482.2 MB, free: 8.238 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.6676, allocations: 0 / 482.2 MB, free: 8.238 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.6676, allocations: 0 / 482.2 MB, free: 8.238 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6677, allocations: 314.8 kB / 482.5 MB, free: 7.922 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.6678, allocations: 0 / 482.5 MB, free: 7.922 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.07e-05/0.6678, allocations: 8 kB / 482.5 MB, free: 7.914 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.645e-05/0.6678, allocations: 29.66 kB / 482.6 MB, free: 7.879 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.6679, allocations: 0 / 482.6 MB, free: 7.879 MB / 410.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.42e-05/0.668, allocations: 63.34 kB / 482.6 MB, free: 7.805 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.225e-05/0.668, allocations: 33.69 kB / 482.7 MB, free: 7.766 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.668, allocations: 0 / 482.7 MB, free: 7.766 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.6681, allocations: 0 / 482.7 MB, free: 7.766 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.418e-06/0.6681, allocations: 4 kB / 482.7 MB, free: 7.762 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.6681, allocations: 0 / 482.7 MB, free: 7.762 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.6681, allocations: 4.094 kB / 482.7 MB, free: 7.758 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.6682, allocations: 0 / 482.7 MB, free: 7.758 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 0.0001096/0.6683, allocations: 134.6 kB / 482.8 MB, free: 7.613 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.6683, allocations: 0 / 482.8 MB, free: 7.613 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.785e-05/0.6683, allocations: 3.125 kB / 482.8 MB, free: 7.605 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.6683, allocations: 0 / 482.8 MB, free: 7.605 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6683, allocations: 0 / 482.8 MB, free: 7.605 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.6684, allocations: 3.984 kB / 482.8 MB, free: 7.602 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.6685, allocations: 149.7 kB / 483 MB, free: 7.406 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.716e-06/0.6685, allocations: 7.891 kB / 483 MB, free: 7.398 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.203e-06/0.6685, allocations: 4 kB / 483 MB, free: 7.395 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.6685, allocations: 0 / 483 MB, free: 7.395 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.6686, allocations: 0 / 483 MB, free: 7.395 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.6686, allocations: 0 / 483 MB, free: 7.395 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6686, allocations: 0 / 483 MB, free: 7.395 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.6688, allocations: 102.8 kB / 483.1 MB, free: 7.27 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.6688, allocations: 81.06 kB / 483.1 MB, free: 7.172 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.6688, allocations: 32 / 483.1 MB, free: 7.172 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.629e-05/0.6689, allocations: 8 kB / 483.2 MB, free: 7.164 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.6689, allocations: 3.984 kB / 483.2 MB, free: 7.16 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.6689, allocations: 0 / 483.2 MB, free: 7.16 MB / 410.8 MB Notification: Performance of sorting global known variables: time 3.882e-05/0.669, allocations: 75.28 kB / 483.2 MB, free: 7.086 MB / 410.8 MB Notification: Performance of sort global known variables: time 3.71e-07/0.669, allocations: 0 / 483.2 MB, free: 7.086 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0009946/0.67, allocations: 175.8 kB / 483.4 MB, free: 6.914 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.001739/0.6717, allocations: 0.9265 MB / 484.3 MB, free: 5.961 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.6719, allocations: 63.34 kB / 484.4 MB, free: 5.887 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6719, allocations: 0 / 484.4 MB, free: 5.887 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 4.408e-05/0.672, allocations: 55.41 kB / 484.4 MB, free: 5.82 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001125/0.6721, allocations: 4 kB / 484.4 MB, free: 5.816 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005278/0.6726, allocations: 178.4 kB / 484.6 MB, free: 5.605 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.6729, allocations: 0.6731 MB / 485.3 MB, free: 4.906 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.906e-06/0.673, allocations: 0 / 485.3 MB, free: 4.906 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.673, allocations: 11.38 kB / 485.3 MB, free: 4.895 MB / 410.8 MB Notification: Performance of SimCode: time 8.91e-07/0.673, allocations: 4.125 kB / 485.3 MB, free: 4.891 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07384/0.7468, allocations: 4.734 MB / 490 MB, free: 236 kB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003753/0.7473, allocations: 200.8 kB / 490.2 MB, free: 16 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.694/3.442, allocations: 0 / 490.2 MB, free: 16 MB / 426.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat does not exist to compare? outputFormat=mat