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.51/2.51, allocations: 235 MB / 247.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.468e-05/3.511e-05, allocations: 0 / 305 MB, free: 5.098 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4153, allocations: 54.86 MB / 359.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1631/0.5784, allocations: 83.79 MB / 443.6 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.5788, allocations: 59.97 kB / 443.7 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04705/0.6258, allocations: 9.868 MB / 453.6 MB, free: 3.133 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6259, allocations: 0 / 453.6 MB, free: 3.133 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.6259, allocations: 0 / 453.6 MB, free: 3.133 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.000711/0.6266, allocations: 475.8 kB / 454 MB, free: 2.617 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.6267, allocations: 8.031 kB / 454 MB, free: 2.609 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.442e-05/0.6267, allocations: 42.44 kB / 454.1 MB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.6268, allocations: 4 kB / 454.1 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.889e-05/0.6269, allocations: 163.1 kB / 454.2 MB, free: 2.355 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.6269, allocations: 0 / 454.2 MB, free: 2.355 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.6269, allocations: 0 / 454.2 MB, free: 2.355 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.713e-05/0.627, allocations: 29.7 kB / 454.3 MB, free: 2.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.6271, allocations: 0 / 454.3 MB, free: 2.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.6271, allocations: 0 / 454.3 MB, free: 2.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.6271, allocations: 3.953 kB / 454.3 MB, free: 2.316 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.93e-05/0.6271, allocations: 0 / 454.3 MB, free: 2.316 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.6273, allocations: 153.7 kB / 454.4 MB, free: 2.117 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.381e-05/0.6273, allocations: 22.95 kB / 454.5 MB, free: 2.086 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.6274, allocations: 8.953 kB / 454.5 MB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.6274, allocations: 3.984 kB / 454.5 MB, free: 2.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.6274, allocations: 56.27 kB / 454.5 MB, free: 2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.764e-06/0.6274, allocations: 0 / 454.5 MB, free: 2 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000176/0.6276, allocations: 64.33 kB / 454.6 MB, free: 1.926 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.6277, allocations: 89.09 kB / 454.7 MB, free: 1.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.252e-05/0.6278, allocations: 85 kB / 454.8 MB, free: 1.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.6278, allocations: 29.64 kB / 454.8 MB, free: 1.695 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.6278, allocations: 84.08 kB / 454.9 MB, free: 1.609 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.6279, allocations: 0 / 454.9 MB, free: 1.609 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.6279, allocations: 0 / 454.9 MB, free: 1.609 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.628, allocations: 314.8 kB / 455.2 MB, free: 1.293 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.628, allocations: 0 / 455.2 MB, free: 1.293 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-06/0.628, allocations: 0 / 455.2 MB, free: 1.293 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.697e-05/0.6281, allocations: 34.7 kB / 455.2 MB, free: 1.254 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6281, allocations: 0 / 455.2 MB, free: 1.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.881e-05/0.6282, allocations: 59.39 kB / 455.3 MB, free: 1.184 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.6283, allocations: 37.7 kB / 455.3 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6283, allocations: 1.938 kB / 455.3 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.6283, allocations: 0 / 455.3 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/0.6283, allocations: 0 / 455.3 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.6283, allocations: 0 / 455.3 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.083e-05/0.6284, allocations: 0 / 455.3 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.6284, allocations: 7.953 kB / 455.3 MB, free: 1.133 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.545e-05/0.6285, allocations: 131.3 kB / 455.4 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.6285, allocations: 7.922 kB / 455.4 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.824e-05/0.6285, allocations: 7.078 kB / 455.5 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.6286, allocations: 4 kB / 455.5 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6286, allocations: 0 / 455.5 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6286, allocations: 0 / 455.5 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.6287, allocations: 147.2 kB / 455.6 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6287, allocations: 0 / 455.6 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.6287, allocations: 0 / 455.6 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.6287, allocations: 7.984 kB / 455.6 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.6288, allocations: 6.5 kB / 455.6 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6288, allocations: 1.172 kB / 455.6 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6288, allocations: 0 / 455.6 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.6289, allocations: 94.8 kB / 455.7 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.629, allocations: 81.09 kB / 455.8 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.629, allocations: 0 / 455.8 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.163e-05/0.629, allocations: 0 / 455.8 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.6291, allocations: 4.031 kB / 455.8 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.6291, allocations: 4 kB / 455.8 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.491e-05/0.6291, allocations: 79.22 kB / 455.9 MB, free: 480 kB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6291, allocations: 3.938 kB / 455.9 MB, free: 476 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008724/0.63, allocations: 179.8 kB / 456.1 MB, free: 296 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.001506/0.6315, allocations: 0.9183 MB / 457 MB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.6317, allocations: 59.41 kB / 457 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6317, allocations: 0 / 457 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.372e-05/0.6318, allocations: 55.41 kB / 457.1 MB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/0.6319, allocations: 2.5 kB / 457.1 MB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/0.6324, allocations: 184.2 kB / 457.3 MB, free: 14.99 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.6326, allocations: 0.6698 MB / 457.9 MB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.761e-06/0.6326, allocations: 0 / 457.9 MB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.094e-05/0.6327, allocations: 11.44 kB / 457.9 MB, free: 14.28 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6327, allocations: 0 / 457.9 MB, free: 14.28 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03118/0.6639, allocations: 4.733 MB / 462.7 MB, free: 9.629 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003343/0.6643, allocations: 195.8 kB / 462.9 MB, free: 9.402 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.617/3.281, allocations: 0 / 462.9 MB, free: 9.402 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