Running command: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.755/2.755, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.171e-05/4.173e-05, allocations: 0 / 323.4 MB, free: 4.234 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4729/0.4729, allocations: 58.85 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.6625, allocations: 88.68 MB / 471 MB, free: 3.723 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.6629, allocations: 63.97 kB / 471 MB, free: 3.66 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.04819/0.7111, allocations: 9.893 MB / 480.9 MB, free: 9.754 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7111, allocations: 4 kB / 480.9 MB, free: 9.75 MB / 410.8 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.7111, allocations: 0 / 480.9 MB, free: 9.75 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.000737/0.7119, allocations: 475.8 kB / 481.4 MB, free: 9.234 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.712, allocations: 8.031 kB / 481.4 MB, free: 9.227 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.712, allocations: 34.56 kB / 481.4 MB, free: 9.184 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.7121, allocations: 0 / 481.4 MB, free: 9.184 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.7122, allocations: 167 kB / 481.6 MB, free: 8.98 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.7122, allocations: 0 / 481.6 MB, free: 8.98 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.7122, allocations: 0 / 481.6 MB, free: 8.98 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.7124, allocations: 33.7 kB / 481.6 MB, free: 8.941 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.7124, allocations: 0 / 481.6 MB, free: 8.941 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.7124, allocations: 3.984 kB / 481.6 MB, free: 8.938 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.7124, allocations: 3.984 kB / 481.6 MB, free: 8.934 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.172e-05/0.7125, allocations: 3.938 kB / 481.7 MB, free: 8.93 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.7126, allocations: 153.6 kB / 481.8 MB, free: 8.73 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.063e-05/0.7127, allocations: 15.02 kB / 481.8 MB, free: 8.707 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.7127, allocations: 8.891 kB / 481.8 MB, free: 8.695 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.7128, allocations: 8 kB / 481.8 MB, free: 8.688 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.449e-05/0.7128, allocations: 56.27 kB / 481.9 MB, free: 8.617 MB / 410.8 MB Notification: Performance of pre-optimization done (n=1): time 1.974e-06/0.7128, allocations: 0 / 481.9 MB, free: 8.617 MB / 410.8 MB Notification: Performance of matching and sorting (n=1): time 0.000192/0.713, allocations: 67.39 kB / 482 MB, free: 8.539 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.7131, allocations: 77.11 kB / 482 MB, free: 8.445 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.487e-05/0.7132, allocations: 85 kB / 482.1 MB, free: 8.355 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.7132, allocations: 25.7 kB / 482.1 MB, free: 8.324 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.7132, allocations: 80.14 kB / 482.2 MB, free: 8.242 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.7133, allocations: 4.031 kB / 482.2 MB, free: 8.238 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.7133, allocations: 0 / 482.2 MB, free: 8.238 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.7134, allocations: 314.8 kB / 482.5 MB, free: 7.922 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/0.7134, allocations: 0 / 482.5 MB, free: 7.922 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-06/0.7135, allocations: 0 / 482.5 MB, free: 7.922 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.004e-05/0.7135, allocations: 37.58 kB / 482.6 MB, free: 7.879 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7135, allocations: 4 kB / 482.6 MB, free: 7.875 MB / 410.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.599e-05/0.7136, allocations: 59.41 kB / 482.6 MB, free: 7.805 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.7137, allocations: 41.73 kB / 482.7 MB, free: 7.758 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.7137, allocations: 0 / 482.7 MB, free: 7.758 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.7137, allocations: 0 / 482.7 MB, free: 7.758 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.7137, allocations: 0 / 482.7 MB, free: 7.758 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.7138, allocations: 0 / 482.7 MB, free: 7.758 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.7138, allocations: 0 / 482.7 MB, free: 7.758 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.7138, 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.0001017/0.7139, allocations: 138.6 kB / 482.8 MB, free: 7.609 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.7139, allocations: 0 / 482.8 MB, free: 7.609 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.917e-05/0.714, allocations: 7.125 kB / 482.8 MB, free: 7.598 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.714, allocations: 0 / 482.8 MB, free: 7.598 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.714, allocations: 0 / 482.8 MB, free: 7.598 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.714, allocations: 4 kB / 482.8 MB, free: 7.594 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.7141, allocations: 145.7 kB / 483 MB, free: 7.402 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.7141, allocations: 7.953 kB / 483 MB, free: 7.395 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-06/0.7142, allocations: 0 / 483 MB, free: 7.395 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.7142, allocations: 3.938 kB / 483 MB, free: 7.391 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.7142, allocations: 0 / 483 MB, free: 7.391 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.7142, allocations: 4 kB / 483 MB, free: 7.387 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.7142, allocations: 0 / 483 MB, free: 7.387 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.7143, allocations: 102.8 kB / 483.1 MB, free: 7.262 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.7144, allocations: 85.06 kB / 483.2 MB, free: 7.16 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.7144, allocations: 0 / 483.2 MB, free: 7.16 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.553e-05/0.7145, allocations: 0 / 483.2 MB, free: 7.16 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.7145, allocations: 0 / 483.2 MB, free: 7.16 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.7145, allocations: 0 / 483.2 MB, free: 7.16 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.107e-05/0.7145, allocations: 79.28 kB / 483.2 MB, free: 7.082 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.3e-07/0.7146, allocations: 8.031 kB / 483.2 MB, free: 7.074 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0008977/0.7155, allocations: 175.8 kB / 483.4 MB, free: 6.902 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.001734/0.7172, allocations: 0.9105 MB / 484.3 MB, free: 5.961 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.7174, allocations: 63.34 kB / 484.4 MB, free: 5.887 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7174, allocations: 0 / 484.4 MB, free: 5.887 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 4.607e-05/0.7175, allocations: 59.39 kB / 484.4 MB, free: 5.816 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/0.7176, allocations: 1.719 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.0006059/0.7182, allocations: 181.9 kB / 484.6 MB, free: 5.605 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.7185, allocations: 0.677 MB / 485.3 MB, free: 4.902 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 7.434e-06/0.7185, allocations: 0 / 485.3 MB, free: 4.902 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.7186, allocations: 11.38 kB / 485.3 MB, free: 4.891 MB / 410.8 MB Notification: Performance of SimCode: time 3.286e-06/0.7186, allocations: 4 kB / 485.3 MB, free: 4.887 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03398/0.7526, allocations: 4.729 MB / 490 MB, free: 232 kB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003135/0.753, allocations: 190.5 kB / 490.2 MB, free: 0 / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.728/3.481, allocations: 4.062 kB / 490.2 MB, free: 15.99 MB / 426.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.mat does not exist to compare? outputFormat=mat