Running command: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.679/2.679, allocations: 235 MB / 247.1 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.783e-05/3.793e-05, allocations: 4.938 kB / 305 MB, free: 5.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4099, allocations: 54.85 MB / 359.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.187/0.597, allocations: 83.79 MB / 443.6 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.5973, allocations: 69.12 kB / 443.7 MB, free: 13.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04748/0.6449, allocations: 9.857 MB / 453.6 MB, free: 3.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6449, allocations: 0 / 453.6 MB, free: 3.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.6449, allocations: 0 / 453.6 MB, free: 3.23 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.0007498/0.6457, allocations: 483.7 kB / 454 MB, free: 2.707 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/0.6458, allocations: 12.03 kB / 454 MB, free: 2.695 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.815e-05/0.6458, allocations: 35.31 kB / 454.1 MB, free: 2.652 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.6459, allocations: 7.953 kB / 454.1 MB, free: 2.645 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.646, allocations: 159.1 kB / 454.2 MB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.646, allocations: 0 / 454.2 MB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.646, allocations: 0 / 454.2 MB, free: 2.449 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.465e-05/0.6462, allocations: 33.69 kB / 454.3 MB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.6462, allocations: 0 / 454.3 MB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.6462, allocations: 0 / 454.3 MB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.6462, allocations: 3.953 kB / 454.3 MB, free: 2.406 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.236e-05/0.6462, allocations: 4 kB / 454.3 MB, free: 2.402 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.6464, allocations: 155.9 kB / 454.4 MB, free: 2.203 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.55e-05/0.6465, allocations: 22.98 kB / 454.5 MB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.777e-05/0.6465, allocations: 4.859 kB / 454.5 MB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-06/0.6465, allocations: 0 / 454.5 MB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.527e-05/0.6466, allocations: 56.27 kB / 454.5 MB, free: 2.094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.6466, allocations: 0 / 454.5 MB, free: 2.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001986/0.6468, allocations: 67.48 kB / 454.6 MB, free: 2.016 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.6469, allocations: 81.11 kB / 454.7 MB, free: 1.918 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.306e-05/0.647, allocations: 85 kB / 454.7 MB, free: 1.828 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.647, allocations: 33.58 kB / 454.8 MB, free: 1.789 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.647, allocations: 80.14 kB / 454.9 MB, free: 1.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.6471, allocations: 4 kB / 454.9 MB, free: 1.703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.6471, allocations: 0 / 454.9 MB, free: 1.703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.6472, allocations: 314.8 kB / 455.2 MB, free: 1.387 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/0.6472, allocations: 0 / 455.2 MB, free: 1.387 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.6473, allocations: 4 kB / 455.2 MB, free: 1.383 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.028e-05/0.6473, allocations: 33.69 kB / 455.2 MB, free: 1.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.6473, allocations: 0.8438 kB / 455.2 MB, free: 1.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.536e-05/0.6474, allocations: 63.41 kB / 455.3 MB, free: 1.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/0.6475, allocations: 29.7 kB / 455.3 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.6475, allocations: 0 / 455.3 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.6475, allocations: 2.375 kB / 455.3 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.6475, allocations: 0 / 455.3 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.6476, allocations: 0 / 455.3 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.6476, allocations: 12.08 kB / 455.3 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.6476, allocations: 0 / 455.3 MB, free: 1.223 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 9.481e-05/0.6477, allocations: 135.3 kB / 455.4 MB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.6478, allocations: 4 kB / 455.4 MB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.78e-05/0.6478, allocations: 7.078 kB / 455.5 MB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.6478, allocations: 0 / 455.5 MB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.6478, allocations: 0 / 455.5 MB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.6478, allocations: 0 / 455.5 MB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.648, allocations: 149.6 kB / 455.6 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.648, allocations: 8 kB / 455.6 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-06/0.648, allocations: 0.75 kB / 455.6 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.648, allocations: 0 / 455.6 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.648, allocations: 0 / 455.6 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.648, allocations: 0 / 455.6 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.648, allocations: 0 / 455.6 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.6482, allocations: 98.78 kB / 455.7 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.6482, allocations: 77.11 kB / 455.8 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.6483, allocations: 5.094 kB / 455.8 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.553e-05/0.6483, allocations: 4.844 kB / 455.8 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.06e-05/0.6483, allocations: 0 / 455.8 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.6483, allocations: 0 / 455.8 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.8e-05/0.6484, allocations: 87.16 kB / 455.9 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6484, allocations: 0 / 455.9 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009308/0.6493, allocations: 183.8 kB / 456.1 MB, free: 384 kB / 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.001626/0.651, allocations: 0.919 MB / 457 MB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.6511, allocations: 56.81 kB / 457 MB, free: 15.37 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6511, allocations: 0 / 457 MB, free: 15.37 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.791e-05/0.6512, allocations: 59.39 kB / 457.1 MB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001033/0.6513, allocations: 3.938 kB / 457.1 MB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005925/0.6519, allocations: 175.8 kB / 457.3 MB, free: 15.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.6522, allocations: 0.677 MB / 457.9 MB, free: 14.38 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.054e-06/0.6522, allocations: 0 / 457.9 MB, free: 14.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/0.6523, allocations: 7.562 kB / 457.9 MB, free: 14.38 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6523, allocations: 4 kB / 458 MB, free: 14.37 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/0.6875, allocations: 4.731 MB / 462.7 MB, free: 9.715 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003952/0.688, allocations: 186.6 kB / 462.9 MB, free: 9.496 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.644/3.332, allocations: 7.938 kB / 462.9 MB, free: 9.488 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat does not exist to compare? outputFormat=mat