Running command: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.855/2.855, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.82e-05/2.834e-05, allocations: 3.281 kB / 299.6 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4363, allocations: 54.86 MB / 354.4 MB, free: 14.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1791/0.6155, allocations: 83.12 MB / 437.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.6158, allocations: 59.97 kB / 437.6 MB, free: 15.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05592/0.6718, allocations: 9.71 MB / 447.3 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.999e-06/0.6718, allocations: 0 / 447.3 MB, free: 5.379 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.6719, allocations: 3.938 kB / 447.3 MB, free: 5.375 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.0007534/0.6726, allocations: 475.8 kB / 447.8 MB, free: 4.859 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.6727, allocations: 8.031 kB / 447.8 MB, free: 4.852 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.6728, allocations: 11.89 kB / 447.8 MB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.6729, allocations: 163.1 kB / 448 MB, free: 4.641 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.6729, allocations: 4 kB / 448 MB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.6729, allocations: 0 / 448 MB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.725e-05/0.673, allocations: 7.938 kB / 448 MB, free: 4.629 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.34e-05/0.6731, allocations: 25.7 kB / 448 MB, free: 4.598 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.6731, allocations: 7.938 kB / 448 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.6731, allocations: 0 / 448 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.6731, allocations: 3.953 kB / 448 MB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.6733, allocations: 130.2 kB / 448.1 MB, free: 4.422 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.097e-05/0.6734, allocations: 14.58 kB / 448.2 MB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.967e-05/0.6734, allocations: 8.953 kB / 448.2 MB, free: 4.387 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.6734, allocations: 0 / 448.2 MB, free: 4.387 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.307e-05/0.6735, allocations: 56.7 kB / 448.2 MB, free: 4.316 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.984e-06/0.6735, allocations: 0 / 448.2 MB, free: 4.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002017/0.6737, allocations: 45.59 kB / 448.3 MB, free: 4.266 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.6738, allocations: 85.08 kB / 448.4 MB, free: 4.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.479e-05/0.6738, allocations: 85 kB / 448.4 MB, free: 4.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.6739, allocations: 25.7 kB / 448.5 MB, free: 4.043 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.6739, allocations: 80.14 kB / 448.5 MB, free: 3.961 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.6739, allocations: 0 / 448.5 MB, free: 3.961 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.674, allocations: 0 / 448.5 MB, free: 3.961 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.6741, allocations: 314.8 kB / 448.8 MB, free: 3.645 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.6741, allocations: 4 kB / 448.9 MB, free: 3.641 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-06/0.6742, allocations: 0 / 448.9 MB, free: 3.641 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.106e-05/0.6742, allocations: 4.062 kB / 448.9 MB, free: 3.637 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6742, allocations: 0 / 448.9 MB, free: 3.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001086/0.6743, allocations: 41.69 kB / 448.9 MB, free: 3.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.6744, allocations: 29.7 kB / 448.9 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.6744, allocations: 0 / 448.9 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.6745, allocations: 0 / 448.9 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.27e-06/0.6745, allocations: 4 kB / 448.9 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.6745, allocations: 0 / 448.9 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.502e-05/0.6745, allocations: 4 kB / 448.9 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.6746, allocations: 4.031 kB / 448.9 MB, free: 3.543 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 0.0001171/0.6747, allocations: 134.6 kB / 449.1 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001134/0.6748, allocations: 41.62 kB / 449.1 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.6748, allocations: 3.984 kB / 449.1 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.637e-05/0.6749, allocations: 7.703 kB / 449.1 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.6749, allocations: 0 / 449.1 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6749, allocations: 3.938 kB / 449.1 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.6749, allocations: 0 / 449.1 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.675, allocations: 142.1 kB / 449.3 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6751, allocations: 4.031 kB / 449.3 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-06/0.6751, allocations: 0 / 449.3 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.6751, allocations: 0 / 449.3 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.6751, allocations: 0 / 449.3 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.6751, allocations: 0 / 449.3 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.6751, allocations: 0 / 449.3 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.6753, allocations: 69.02 kB / 449.3 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.6753, allocations: 77.11 kB / 449.4 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.6754, allocations: 4.031 kB / 449.4 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.805e-05/0.6754, allocations: 4 kB / 449.4 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.6754, allocations: 4 kB / 449.4 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.6755, allocations: 0 / 449.4 MB, free: 2.969 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.259e-05/0.6755, allocations: 79.28 kB / 449.5 MB, free: 2.891 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6755, allocations: 0 / 449.5 MB, free: 2.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009975/0.6765, allocations: 175.8 kB / 449.7 MB, free: 2.719 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.001776/0.6783, allocations: 0.8962 MB / 450.6 MB, free: 1.793 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.6785, allocations: 59.41 kB / 450.6 MB, free: 1.723 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6785, allocations: 0 / 450.6 MB, free: 1.723 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.633e-05/0.6786, allocations: 55.34 kB / 450.7 MB, free: 1.656 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.6787, allocations: 4 kB / 450.7 MB, free: 1.652 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005706/0.6793, allocations: 167.6 kB / 450.8 MB, free: 1.453 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.6796, allocations: 0.6729 MB / 451.5 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.933e-06/0.6797, allocations: 3.938 kB / 451.5 MB, free: 0.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/0.6797, allocations: 15.55 kB / 451.5 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.6797, allocations: 0 / 451.5 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08864/0.7684, allocations: 4.684 MB / 456.2 MB, free: 12.06 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003235/0.7688, allocations: 183.9 kB / 456.4 MB, free: 11.86 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.874/3.643, allocations: 7.969 kB / 456.4 MB, free: 11.85 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat does not exist to compare? outputFormat=mat