Running command: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_ComplexMath_TestComplexOperations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.633/2.633, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.976e-05/2.981e-05, allocations: 3.938 kB / 299.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.418, allocations: 54.85 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1681/0.5862, allocations: 83.12 MB / 437.5 MB, free: 15.1 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003506/0.5867, allocations: 71.91 kB / 437.5 MB, free: 15.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0548/0.6415, allocations: 9.702 MB / 447.2 MB, free: 5.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6416, allocations: 4 kB / 447.2 MB, free: 5.316 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.6416, allocations: 0 / 447.2 MB, free: 5.316 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.0007392/0.6423, allocations: 475.8 kB / 447.7 MB, free: 4.801 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.6424, allocations: 11.97 kB / 447.7 MB, free: 4.789 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.6424, allocations: 7.953 kB / 447.7 MB, free: 4.781 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.6426, allocations: 167.1 kB / 447.9 MB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.6426, allocations: 0 / 447.9 MB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.6426, allocations: 0 / 447.9 MB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.079e-05/0.6427, allocations: 0 / 447.9 MB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.336e-05/0.6427, allocations: 33.64 kB / 447.9 MB, free: 4.539 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.6428, allocations: 0 / 447.9 MB, free: 4.539 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.6428, allocations: 0 / 447.9 MB, free: 4.539 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.6428, allocations: 3.953 kB / 447.9 MB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.6429, allocations: 130.2 kB / 448 MB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.718e-05/0.643, allocations: 22.59 kB / 448.1 MB, free: 4.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.643, allocations: 8.844 kB / 448.1 MB, free: 4.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.949e-06/0.643, allocations: 0 / 448.1 MB, free: 4.328 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.324e-05/0.6431, allocations: 56.7 kB / 448.1 MB, free: 4.258 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.6431, allocations: 0 / 448.1 MB, free: 4.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002016/0.6433, allocations: 41.61 kB / 448.2 MB, free: 4.211 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.6434, allocations: 81.14 kB / 448.2 MB, free: 4.113 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.835e-05/0.6435, allocations: 89 kB / 448.3 MB, free: 4.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.6435, allocations: 25.7 kB / 448.4 MB, free: 3.988 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.6435, allocations: 84.08 kB / 448.4 MB, free: 3.902 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.6436, allocations: 0 / 448.4 MB, free: 3.902 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.6436, allocations: 0 / 448.4 MB, free: 3.902 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.6437, allocations: 322.8 kB / 448.8 MB, free: 3.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.6437, allocations: 0 / 448.8 MB, free: 3.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.887e-06/0.6438, allocations: 4 kB / 448.8 MB, free: 3.574 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.686e-05/0.6438, allocations: 0 / 448.8 MB, free: 3.574 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.6438, allocations: 0 / 448.8 MB, free: 3.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001022/0.6439, allocations: 33.7 kB / 448.8 MB, free: 3.535 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.644, allocations: 29.7 kB / 448.8 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.644, allocations: 4 kB / 448.8 MB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.644, allocations: 4 kB / 448.8 MB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.907e-06/0.644, allocations: 3.984 kB / 448.8 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.6441, allocations: 3.938 kB / 448.8 MB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.6441, allocations: 0 / 448.8 MB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.6441, allocations: 4.094 kB / 448.8 MB, free: 3.48 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.0001049/0.6442, allocations: 138.6 kB / 449 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.025e-05/0.6443, allocations: 33.7 kB / 449 MB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.6443, allocations: 0 / 449 MB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.64e-05/0.6444, allocations: 11.69 kB / 449 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.6444, allocations: 0 / 449 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6444, allocations: 0 / 449 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6444, allocations: 7.938 kB / 449 MB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.6445, allocations: 126.2 kB / 449.1 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6445, allocations: 4.031 kB / 449.2 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.6446, allocations: 0 / 449.2 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6446, allocations: 0 / 449.2 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.6446, allocations: 0 / 449.2 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.6446, allocations: 4 kB / 449.2 MB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.6446, allocations: 3.984 kB / 449.2 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.6447, allocations: 65.03 kB / 449.2 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.6448, allocations: 77.14 kB / 449.3 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.6448, allocations: 4 kB / 449.3 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.521e-05/0.6449, allocations: 4 kB / 449.3 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.6449, allocations: 3.984 kB / 449.3 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.6449, allocations: 0 / 449.3 MB, free: 2.918 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.612e-05/0.6449, allocations: 83.22 kB / 449.4 MB, free: 2.836 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6449, allocations: 0 / 449.4 MB, free: 2.836 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009537/0.6459, allocations: 175.8 kB / 449.6 MB, free: 2.664 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.001671/0.6476, allocations: 0.9014 MB / 450.5 MB, free: 1.738 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.6478, allocations: 59.34 kB / 450.5 MB, free: 1.668 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6478, allocations: 0 / 450.5 MB, free: 1.668 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/0.6478, allocations: 59.41 kB / 450.6 MB, free: 1.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001116/0.648, allocations: 0 / 450.6 MB, free: 1.598 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005691/0.6485, allocations: 171 kB / 450.7 MB, free: 1.395 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.6488, allocations: 0.669 MB / 451.4 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.352e-06/0.6489, allocations: 128 / 451.4 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.6489, allocations: 15.44 kB / 451.4 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of SimCode: time 8.61e-07/0.6489, allocations: 0 / 451.4 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06515/0.7141, allocations: 4.68 MB / 456.1 MB, free: 12.01 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/0.7144, allocations: 167.8 kB / 456.3 MB, free: 11.82 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.356/3.07, allocations: 0.625 kB / 456.3 MB, free: 11.82 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_res.mat does not exist to compare? outputFormat=mat