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.545/2.545, allocations: 235 MB / 247.2 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.639e-05/4.656e-05, allocations: 0.9375 kB / 305 MB, free: 5.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4171, allocations: 54.85 MB / 359.9 MB, free: 2.688 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1739/0.5911, allocations: 83.8 MB / 443.7 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/0.5915, allocations: 69.42 kB / 443.7 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0581/0.6496, allocations: 9.868 MB / 453.6 MB, free: 3.133 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6497, allocations: 0 / 453.6 MB, free: 3.133 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.6497, 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.0007995/0.6505, allocations: 479.8 kB / 454.1 MB, free: 2.613 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.6506, allocations: 12.03 kB / 454.1 MB, free: 2.602 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/0.6506, allocations: 30.56 kB / 454.1 MB, free: 2.562 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.6507, allocations: 9.078 kB / 454.1 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.6508, allocations: 159.1 kB / 454.3 MB, free: 2.359 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.6508, allocations: 0 / 454.3 MB, free: 2.359 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.6508, allocations: 0 / 454.3 MB, free: 2.359 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.651, allocations: 37.69 kB / 454.3 MB, free: 2.316 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.651, allocations: 0 / 454.3 MB, free: 2.316 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.651, allocations: 0 / 454.3 MB, free: 2.316 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.651, allocations: 3.953 kB / 454.3 MB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.618e-05/0.6511, allocations: 4 kB / 454.3 MB, free: 2.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.6512, allocations: 141.7 kB / 454.5 MB, free: 2.121 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.587e-05/0.6513, allocations: 22.52 kB / 454.5 MB, free: 2.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.361e-05/0.6513, allocations: 13.39 kB / 454.5 MB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-06/0.6513, allocations: 0 / 454.5 MB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/0.6514, allocations: 60.25 kB / 454.6 MB, free: 2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.663e-06/0.6514, allocations: 0 / 454.6 MB, free: 2 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001925/0.6516, allocations: 59.41 kB / 454.6 MB, free: 1.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.6517, allocations: 77.11 kB / 454.7 MB, free: 1.836 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.463e-05/0.6518, allocations: 85 kB / 454.8 MB, free: 1.746 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.6518, allocations: 25.7 kB / 454.8 MB, free: 1.715 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.415e-05/0.6519, allocations: 88.11 kB / 454.9 MB, free: 1.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.6519, allocations: 4 kB / 454.9 MB, free: 1.621 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/0.6519, allocations: 0 / 454.9 MB, free: 1.621 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.652, allocations: 322.8 kB / 455.2 MB, free: 1.297 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.6521, allocations: 0 / 455.2 MB, free: 1.297 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.15e-05/0.6521, allocations: 0 / 455.2 MB, free: 1.297 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/0.6522, allocations: 33.64 kB / 455.2 MB, free: 1.258 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6522, allocations: 0 / 455.2 MB, free: 1.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001067/0.6523, allocations: 61.12 kB / 455.3 MB, free: 1.188 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.905e-05/0.6523, allocations: 33.7 kB / 455.3 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.6524, allocations: 3.984 kB / 455.3 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.6524, allocations: 0 / 455.3 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.6524, allocations: 0 / 455.3 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.6524, allocations: 0 / 455.3 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/0.6524, allocations: 0 / 455.3 MB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.6525, allocations: 4 kB / 455.3 MB, free: 1.141 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.0001006/0.6526, allocations: 134.6 kB / 455.5 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.6526, allocations: 7.531 kB / 455.5 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.034e-05/0.6526, allocations: 7.078 kB / 455.5 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.6527, allocations: 4 kB / 455.5 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.6527, allocations: 0 / 455.5 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.6527, allocations: 0 / 455.5 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.6528, allocations: 149.6 kB / 455.6 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6528, allocations: 1.031 kB / 455.6 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-06/0.6528, allocations: 0 / 455.6 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.6528, allocations: 0 / 455.6 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.6529, allocations: 4 kB / 455.6 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.6529, allocations: 0 / 455.6 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.6529, allocations: 7.938 kB / 455.6 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.6531, allocations: 98.78 kB / 455.7 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.6531, allocations: 81.09 kB / 455.8 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.6531, allocations: 0 / 455.8 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.551e-05/0.6532, allocations: 0 / 455.8 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.162e-05/0.6532, allocations: 0 / 455.8 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.6532, allocations: 5.5 kB / 455.8 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.468e-05/0.6533, allocations: 79.31 kB / 455.9 MB, free: 484 kB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6533, allocations: 3.938 kB / 455.9 MB, free: 480 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009169/0.6542, allocations: 179.8 kB / 456.1 MB, free: 300 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.001909/0.6561, allocations: 0.9186 MB / 457 MB, free: 15.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.6563, allocations: 63.33 kB / 457.1 MB, free: 15.28 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.6564, allocations: 4 kB / 457.1 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.369e-05/0.6564, allocations: 55.41 kB / 457.1 MB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/0.6565, allocations: 4.125 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.0007496/0.6573, allocations: 171.8 kB / 457.3 MB, free: 15 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.6576, allocations: 0.6731 MB / 458 MB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.895e-06/0.6576, allocations: 0.9375 kB / 458 MB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.6577, allocations: 11.44 kB / 458 MB, free: 14.29 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6577, allocations: 0 / 458 MB, free: 14.29 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.687, allocations: 4.737 MB / 462.7 MB, free: 9.625 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003409/0.6874, allocations: 189.3 kB / 462.9 MB, free: 9.402 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.626/3.314, allocations: 4 kB / 462.9 MB, free: 9.398 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