Running command: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_ComplexMath_TestComplexOperations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.378/2.378, allocations: 235 MB / 247.6 MB, free: 14.6 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.273e-05/3.28e-05, allocations: 0.9375 kB / 305 MB, free: 5.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3947, allocations: 54.85 MB / 359.8 MB, free: 2.219 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.5506, allocations: 83.8 MB / 443.6 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.5509, allocations: 63.97 kB / 443.7 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0473/0.5983, allocations: 9.859 MB / 453.6 MB, free: 3.199 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5983, allocations: 0 / 453.6 MB, free: 3.199 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.5983, allocations: 0 / 453.6 MB, free: 3.199 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.0007082/0.5991, allocations: 487.8 kB / 454 MB, free: 2.672 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.5991, allocations: 8.031 kB / 454.1 MB, free: 2.664 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.5992, allocations: 34.55 kB / 454.1 MB, free: 2.621 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.5992, allocations: 3.953 kB / 454.1 MB, free: 2.617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.5993, allocations: 159.1 kB / 454.2 MB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.5993, allocations: 0 / 454.2 MB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.5994, allocations: 4 kB / 454.3 MB, free: 2.418 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.745e-05/0.5995, allocations: 29.64 kB / 454.3 MB, free: 2.383 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.5995, allocations: 4.938 kB / 454.3 MB, free: 2.379 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.5995, allocations: 0 / 454.3 MB, free: 2.379 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.5995, allocations: 7.953 kB / 454.3 MB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.5996, allocations: 0 / 454.3 MB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.5998, allocations: 145.7 kB / 454.4 MB, free: 2.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.302e-05/0.5998, allocations: 26.61 kB / 454.5 MB, free: 2.145 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.859e-05/0.5999, allocations: 4.859 kB / 454.5 MB, free: 2.137 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.5999, allocations: 0 / 454.5 MB, free: 2.137 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.5999, allocations: 64.25 kB / 454.5 MB, free: 2.059 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.744e-06/0.5999, allocations: 0 / 454.5 MB, free: 2.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001769/0.6001, allocations: 67.39 kB / 454.6 MB, free: 1.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.6002, allocations: 77.11 kB / 454.7 MB, free: 1.887 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.673e-05/0.6003, allocations: 88.94 kB / 454.8 MB, free: 1.793 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.6003, allocations: 25.7 kB / 454.8 MB, free: 1.762 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.6004, allocations: 154.6 kB / 454.9 MB, free: 1.609 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.6004, allocations: 4 kB / 454.9 MB, free: 1.605 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.6004, allocations: 4.031 kB / 454.9 MB, free: 1.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.6006, allocations: 314.8 kB / 455.2 MB, free: 1.285 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.6006, allocations: 0 / 455.2 MB, free: 1.285 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-06/0.6006, allocations: 0 / 455.2 MB, free: 1.285 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.062e-05/0.6006, allocations: 29.7 kB / 455.3 MB, free: 1.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.6006, allocations: 0 / 455.3 MB, free: 1.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.531e-05/0.6007, allocations: 63.39 kB / 455.3 MB, free: 1.176 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.6008, allocations: 29.7 kB / 455.4 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6008, allocations: 8.031 kB / 455.4 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.6008, allocations: 0.9375 kB / 455.4 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.405e-06/0.6009, allocations: 1.625 kB / 455.4 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.6009, allocations: 0 / 455.4 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/0.6009, allocations: 4 kB / 455.4 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.6009, allocations: 0 / 455.4 MB, free: 1.129 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.995e-05/0.601, allocations: 134.6 kB / 455.5 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.601, allocations: 7.984 kB / 455.5 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.734e-05/0.6011, allocations: 7.078 kB / 455.5 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.6011, allocations: 4 kB / 455.5 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6011, allocations: 0 / 455.5 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.6011, allocations: 0.9375 kB / 455.5 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.6012, allocations: 145.6 kB / 455.7 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.6013, allocations: 4 kB / 455.7 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.163e-06/0.6013, allocations: 0 / 455.7 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.6013, allocations: 3.984 kB / 455.7 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.6013, allocations: 1.25 kB / 455.7 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.6013, allocations: 0 / 455.7 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.6013, allocations: 0.7812 kB / 455.7 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.6015, allocations: 94.8 kB / 455.8 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.6015, allocations: 81.09 kB / 455.9 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.6015, allocations: 4.5 kB / 455.9 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.193e-05/0.6016, allocations: 0 / 455.9 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.6016, allocations: 4 kB / 455.9 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-06/0.6016, allocations: 3.938 kB / 455.9 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.673e-05/0.6017, allocations: 75.28 kB / 455.9 MB, free: 476 kB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6017, allocations: 0 / 455.9 MB, free: 476 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008828/0.6026, allocations: 185.4 kB / 456.1 MB, free: 292 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.0016/0.6042, allocations: 0.9258 MB / 457.1 MB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.6043, allocations: 55.41 kB / 457.1 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6044, allocations: 0 / 457.1 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.292e-05/0.6044, allocations: 63.34 kB / 457.2 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.0001078/0.6045, allocations: 0 / 457.2 MB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.6051, allocations: 205.6 kB / 457.4 MB, free: 14.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.6054, allocations: 0.6692 MB / 458 MB, free: 14.26 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.6055, allocations: 11.44 kB / 458 MB, free: 14.25 MB / 394.7 MB Notification: Performance of SimCode: time 9.02e-07/0.6055, allocations: 0 / 458 MB, free: 14.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.345/2.951, allocations: 4.013 MB / 462.1 MB, free: 10.25 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.ComplexMath.TestComplexOperations_res.mat does not exist to compare? outputFormat=mat