Running command: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.235/3.235, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.898e-05/2.931e-05, allocations: 0 / 299.5 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.4707, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1874/0.6582, allocations: 83.12 MB / 437.5 MB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/0.6585, allocations: 75.89 kB / 437.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06012/0.7187, allocations: 9.705 MB / 447.3 MB, free: 2.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.7187, allocations: 4 kB / 447.3 MB, free: 2.156 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.7187, allocations: 0 / 447.3 MB, free: 2.156 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.0008639/0.7196, allocations: 479.8 kB / 447.8 MB, free: 1.637 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.51e-05/0.7197, allocations: 8.031 kB / 447.8 MB, free: 1.629 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.679e-05/0.7198, allocations: 34.56 kB / 447.8 MB, free: 1.586 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.7198, allocations: 3.953 kB / 447.8 MB, free: 1.582 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.72, allocations: 163.1 kB / 448 MB, free: 1.383 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.72, allocations: 0 / 448 MB, free: 1.383 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.72, allocations: 4 kB / 448 MB, free: 1.379 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.641e-05/0.7201, allocations: 4 kB / 448 MB, free: 1.375 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.879e-05/0.7202, allocations: 25.7 kB / 448 MB, free: 1.344 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.7202, allocations: 4 kB / 448 MB, free: 1.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.7202, allocations: 3.953 kB / 448 MB, free: 1.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.7203, allocations: 0 / 448 MB, free: 1.336 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.7204, allocations: 122.2 kB / 448.1 MB, free: 1.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.073e-05/0.7205, allocations: 18.52 kB / 448.2 MB, free: 1.152 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.198e-05/0.7205, allocations: 9.391 kB / 448.2 MB, free: 1.141 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.7205, allocations: 7.984 kB / 448.2 MB, free: 1.133 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.321e-05/0.7206, allocations: 60.27 kB / 448.2 MB, free: 1.059 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 5.64e-06/0.7206, allocations: 0 / 448.2 MB, free: 1.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002114/0.7209, allocations: 41.55 kB / 448.3 MB, free: 1.012 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.7209, allocations: 77.11 kB / 448.4 MB, free: 0.918 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.439e-05/0.721, allocations: 85 kB / 448.4 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.721, allocations: 25.7 kB / 448.5 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.7211, allocations: 84.17 kB / 448.5 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.7211, allocations: 0 / 448.5 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.7211, allocations: 0 / 448.5 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.7213, allocations: 322.7 kB / 448.9 MB, free: 396 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.7213, allocations: 8 kB / 448.9 MB, free: 388 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-06/0.7214, allocations: 0 / 448.9 MB, free: 388 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.073e-05/0.7214, allocations: 0 / 448.9 MB, free: 388 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.7214, allocations: 0 / 448.9 MB, free: 388 kB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000112/0.7216, allocations: 33.8 kB / 448.9 MB, free: 348 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.675e-05/0.7216, allocations: 33.7 kB / 448.9 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.7217, allocations: 0 / 448.9 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.7217, allocations: 0 / 448.9 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.744e-06/0.7217, allocations: 0 / 448.9 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.7217, allocations: 7.984 kB / 448.9 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.237e-05/0.7217, allocations: 0 / 448.9 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.7218, allocations: 0 / 448.9 MB, free: 300 kB / 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.0001115/0.7219, allocations: 134.6 kB / 449.1 MB, free: 152 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.7219, allocations: 4 kB / 449.1 MB, free: 148 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.559e-05/0.7219, allocations: 11.7 kB / 449.1 MB, free: 140 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.722, allocations: 0 / 449.1 MB, free: 140 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.722, allocations: 4 kB / 449.1 MB, free: 136 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.722, allocations: 0 / 449.1 MB, free: 136 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.7221, allocations: 130.2 kB / 449.2 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.7222, allocations: 4 kB / 449.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.423e-06/0.7222, allocations: 3.938 kB / 449.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.7222, allocations: 0 / 449.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.7222, allocations: 0 / 449.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.7222, allocations: 0 / 449.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.7222, allocations: 0 / 449.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.7224, allocations: 73.12 kB / 449.3 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.7225, allocations: 85.05 kB / 449.4 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.7225, allocations: 0 / 449.4 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.563e-05/0.7225, allocations: 3.938 kB / 449.4 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.7226, allocations: 0 / 449.4 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.7226, allocations: 4 kB / 449.4 MB, free: 15.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.63e-05/0.7227, allocations: 79.31 kB / 449.5 MB, free: 15.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.7227, allocations: 4 kB / 449.5 MB, free: 15.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001064/0.7237, allocations: 179.8 kB / 449.6 MB, free: 15.5 MB / 394.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.001874/0.7256, allocations: 0.8864 MB / 450.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.7258, allocations: 55.41 kB / 450.6 MB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.7258, allocations: 0 / 450.6 MB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.049e-05/0.7259, allocations: 59.41 kB / 450.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.726, allocations: 4.125 kB / 450.6 MB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005811/0.7266, allocations: 173 kB / 450.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.727, allocations: 0.6767 MB / 451.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.833e-06/0.727, allocations: 0 / 451.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/0.727, allocations: 11.44 kB / 451.5 MB, free: 13.53 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.727, allocations: 0 / 451.5 MB, free: 13.53 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05928/0.7863, allocations: 4.698 MB / 456.2 MB, free: 8.836 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.00036/0.7868, allocations: 182.6 kB / 456.4 MB, free: 8.637 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.206/3.993, allocations: 0 / 456.4 MB, free: 8.637 MB / 394.7 MB