Running command: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.42/2.42, allocations: 270 MB / 282.6 MB, free: 1.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.22e-05/3.228e-05, allocations: 0 / 347 MB, free: 3.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.4329, allocations: 61.87 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1618/0.5948, allocations: 89.64 MB / 498.6 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.5951, allocations: 63.97 kB / 498.6 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05058/0.6457, allocations: 9.976 MB / 0.4967 GB, free: 6.914 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.6458, allocations: 7.938 kB / 0.4967 GB, free: 6.906 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.6458, allocations: 0 / 0.4967 GB, free: 6.906 MB / 426.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.0009486/0.6468, allocations: 471.9 kB / 0.4971 GB, free: 6.395 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/0.6469, allocations: 8.031 kB / 0.4971 GB, free: 6.387 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.459e-05/0.6469, allocations: 30.56 kB / 0.4972 GB, free: 6.348 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.647, allocations: 7.938 kB / 0.4972 GB, free: 6.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.6471, allocations: 163.1 kB / 0.4973 GB, free: 6.141 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.6472, allocations: 0 / 0.4973 GB, free: 6.141 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.6472, allocations: 3.953 kB / 0.4973 GB, free: 6.137 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.6473, allocations: 33.7 kB / 0.4974 GB, free: 6.098 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.6473, allocations: 0 / 0.4974 GB, free: 6.098 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.6474, allocations: 0 / 0.4974 GB, free: 6.098 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.6474, allocations: 0 / 0.4974 GB, free: 6.098 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.813e-05/0.6474, allocations: 7.938 kB / 0.4974 GB, free: 6.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.6476, allocations: 149.7 kB / 0.4975 GB, free: 5.895 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.412e-05/0.6477, allocations: 18.56 kB / 0.4975 GB, free: 5.867 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.6478, allocations: 8.859 kB / 0.4975 GB, free: 5.855 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.6478, allocations: 12.05 kB / 0.4976 GB, free: 5.844 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.563e-05/0.6479, allocations: 56.27 kB / 0.4976 GB, free: 5.773 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 2.215e-06/0.6479, allocations: 0 / 0.4976 GB, free: 5.773 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002296/0.6481, allocations: 71.25 kB / 0.4977 GB, free: 5.691 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/0.6482, allocations: 77.11 kB / 0.4978 GB, free: 5.598 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.765e-05/0.6483, allocations: 85 kB / 0.4978 GB, free: 5.508 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.6483, allocations: 25.7 kB / 0.4979 GB, free: 5.477 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.6484, allocations: 154.5 kB / 0.498 GB, free: 5.324 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.6485, allocations: 4.031 kB / 0.498 GB, free: 5.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.6485, allocations: 0 / 0.498 GB, free: 5.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.6487, allocations: 310.8 kB / 0.4983 GB, free: 5.008 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.6487, allocations: 4 kB / 0.4983 GB, free: 5.004 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.012e-05/0.6487, allocations: 0 / 0.4983 GB, free: 5.004 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.752e-05/0.6488, allocations: 25.7 kB / 0.4983 GB, free: 4.973 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6488, allocations: 0 / 0.4983 GB, free: 4.973 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001477/0.649, allocations: 63.41 kB / 0.4984 GB, free: 4.898 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.579e-05/0.649, allocations: 45.72 kB / 0.4984 GB, free: 4.848 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.6491, allocations: 3.953 kB / 0.4984 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.6491, allocations: 0 / 0.4984 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.355e-06/0.6491, allocations: 0 / 0.4984 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.6491, allocations: 0 / 0.4984 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.6492, allocations: 0 / 0.4984 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.6492, allocations: 0 / 0.4984 GB, free: 4.844 MB / 426.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.0001298/0.6493, allocations: 134.6 kB / 0.4986 GB, free: 4.699 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.6494, allocations: 0 / 0.4986 GB, free: 4.699 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.6494, allocations: 7.125 kB / 0.4986 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.6495, allocations: 3.953 kB / 0.4986 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6495, allocations: 0 / 0.4986 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.6495, allocations: 7.984 kB / 0.4986 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.6497, allocations: 141.7 kB / 0.4987 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.6497, allocations: 3.938 kB / 0.4987 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-06/0.6497, allocations: 0 / 0.4987 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.6497, allocations: 3.984 kB / 0.4987 GB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.6497, allocations: 0 / 0.4987 GB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.187e-05/0.6498, allocations: 4 kB / 0.4987 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.6498, allocations: 3.953 kB / 0.4987 GB, free: 4.473 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.65, allocations: 90.83 kB / 0.4988 GB, free: 4.359 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.6501, allocations: 77.11 kB / 0.4989 GB, free: 4.266 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.6501, allocations: 4 kB / 0.4989 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.372e-05/0.6501, allocations: 0 / 0.4989 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.6502, allocations: 11.94 kB / 0.4989 GB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.6502, allocations: 0 / 0.4989 GB, free: 4.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.952e-05/0.6503, allocations: 75.28 kB / 0.499 GB, free: 4.176 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6503, allocations: 7.969 kB / 0.499 GB, free: 4.168 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001315/0.6516, allocations: 175.8 kB / 0.4992 GB, free: 3.996 MB / 426.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.002336/0.654, allocations: 0.933 MB / 0.5001 GB, free: 3.043 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.6542, allocations: 59.41 kB / 0.5001 GB, free: 2.973 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.6542, allocations: 0 / 0.5001 GB, free: 2.973 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.799e-05/0.6543, allocations: 55.41 kB / 0.5002 GB, free: 2.906 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.6545, allocations: 4.125 kB / 0.5002 GB, free: 2.902 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009276/0.6554, allocations: 216.1 kB / 0.5004 GB, free: 2.648 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.6558, allocations: 0.6731 MB / 0.501 GB, free: 1.949 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.6559, allocations: 7.438 kB / 0.5011 GB, free: 1.941 MB / 426.7 MB Notification: Performance of SimCode: time 4.028e-06/0.6559, allocations: 0 / 0.5011 GB, free: 1.941 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.475/3.131, allocations: 4.004 MB / 0.505 GB, free: 13.93 MB / 442.7 MB