Running command: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.765/2.765, allocations: 270 MB / 282.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.26e-05/3.268e-05, allocations: 0 / 347 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.4332, allocations: 61.87 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1695/0.6028, allocations: 89.26 MB / 498.2 MB, free: 1.266 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.6031, allocations: 63.97 kB / 498.2 MB, free: 1.203 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06615/0.6693, allocations: 13.02 MB / 0.4993 GB, free: 4.152 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6694, allocations: 0 / 0.4993 GB, free: 4.152 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.6694, allocations: 4 kB / 0.4993 GB, free: 4.148 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000733/0.6701, allocations: 443.9 kB / 0.4997 GB, free: 3.664 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.6702, allocations: 12.02 kB / 0.4997 GB, free: 3.652 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.901e-05/0.6703, allocations: 105.8 kB / 0.4998 GB, free: 3.539 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.436e-05/0.6704, allocations: 87.28 kB / 0.4999 GB, free: 3.453 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.6705, allocations: 234.4 kB / 0.5001 GB, free: 3.184 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.907e-05/0.6706, allocations: 154.5 kB / 0.5003 GB, free: 3.031 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-05/0.6707, allocations: 154.5 kB / 0.5004 GB, free: 2.879 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.858e-05/0.6707, allocations: 104.9 kB / 0.5005 GB, free: 2.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/0.6708, allocations: 79.22 kB / 0.5006 GB, free: 2.691 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.259e-05/0.6709, allocations: 158.6 kB / 0.5008 GB, free: 2.535 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.104e-05/0.6709, allocations: 150.6 kB / 0.5009 GB, free: 2.387 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.841e-05/0.671, allocations: 150.6 kB / 0.501 GB, free: 2.238 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.6713, allocations: 445.9 kB / 0.5015 GB, free: 1.754 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.937e-05/0.6715, allocations: 173.1 kB / 0.5016 GB, free: 1.574 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.6715, allocations: 80.14 kB / 0.5017 GB, free: 1.492 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.6716, allocations: 83.23 kB / 0.5018 GB, free: 1.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.872e-05/0.6716, allocations: 131.5 kB / 0.5019 GB, free: 1.266 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 2.094e-06/0.6717, allocations: 0 / 0.5019 GB, free: 1.266 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 8.974e-05/0.6718, allocations: 29.7 kB / 0.5019 GB, free: 1.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/0.6719, allocations: 160.4 kB / 0.5021 GB, free: 1.055 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.497e-05/0.6719, allocations: 85 kB / 0.5022 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.6719, allocations: 25.7 kB / 0.5022 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/0.672, allocations: 150.6 kB / 0.5023 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.672, allocations: 0 / 0.5023 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-07/0.672, allocations: 0 / 0.5023 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.6722, allocations: 314.8 kB / 0.5026 GB, free: 480 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-06/0.6722, allocations: 3.938 kB / 0.5026 GB, free: 476 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.638e-05/0.6722, allocations: 8 kB / 0.5027 GB, free: 468 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.36e-05/0.6723, allocations: 75.28 kB / 0.5027 GB, free: 392 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.957e-05/0.6723, allocations: 75.28 kB / 0.5028 GB, free: 316 kB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.374e-05/0.6724, allocations: 29.7 kB / 0.5028 GB, free: 280 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.185e-05/0.6725, allocations: 79.28 kB / 0.5029 GB, free: 200 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-05/0.6725, allocations: 79.23 kB / 0.503 GB, free: 120 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001135/0.6726, allocations: 162.5 kB / 0.5031 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.311e-05/0.6727, allocations: 79.31 kB / 0.5032 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-05/0.6727, allocations: 158.5 kB / 0.5034 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.12e-05/0.6728, allocations: 79.22 kB / 0.5034 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.6729, allocations: 75.28 kB / 0.5035 GB, free: 15.57 MB / 442.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001388/0.673, allocations: 255.5 kB / 0.5037 GB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.55e-05/0.6731, allocations: 105 kB / 0.5038 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.461e-05/0.6732, allocations: 119.8 kB / 0.504 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-05/0.6733, allocations: 188.1 kB / 0.5041 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.439e-05/0.6734, allocations: 176.3 kB / 0.5043 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.475e-05/0.6735, allocations: 180.2 kB / 0.5045 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.6738, allocations: 401.2 kB / 0.5049 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.546e-05/0.6738, allocations: 109 kB / 0.505 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.863e-05/0.6739, allocations: 104.9 kB / 0.5051 GB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.38e-05/0.674, allocations: 176.3 kB / 0.5052 GB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.678e-05/0.6741, allocations: 180.3 kB / 0.5054 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.608e-05/0.6741, allocations: 181 kB / 0.5056 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.678e-05/0.6742, allocations: 188.2 kB / 0.5058 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.6744, allocations: 315.7 kB / 0.5061 GB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.764e-05/0.6745, allocations: 178.1 kB / 0.5062 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.909e-05/0.6746, allocations: 180.3 kB / 0.5064 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.6747, allocations: 109.3 kB / 0.5065 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.485e-05/0.6748, allocations: 184.2 kB / 0.5067 GB, free: 12.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.825e-05/0.6749, allocations: 109 kB / 0.5068 GB, free: 11.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.132e-05/0.675, allocations: 83.27 kB / 0.5069 GB, free: 11.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.675, allocations: 0 / 0.5069 GB, free: 11.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001054/0.676, allocations: 167.7 kB / 0.507 GB, free: 11.74 MB / 442.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.00172/0.6778, allocations: 1.089 MB / 0.5081 GB, free: 10.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.528e-05/0.6779, allocations: 7.938 kB / 0.5081 GB, free: 10.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6779, allocations: 0 / 0.5081 GB, free: 10.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.6779, allocations: 0 / 0.5081 GB, free: 10.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.6782, allocations: 0.5185 MB / 0.5086 GB, free: 10.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006235/0.6789, allocations: 275.2 kB / 0.5089 GB, free: 9.801 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.6792, allocations: 0.677 MB / 0.5095 GB, free: 9.098 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.6792, allocations: 7.438 kB / 0.5095 GB, free: 9.09 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6792, allocations: 0 / 0.5095 GB, free: 9.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.694/3.373, allocations: 2.997 MB / 0.5125 GB, free: 6.086 MB / 442.7 MB