Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.54/2.54, allocations: 270 MB / 282.6 MB, free: 1.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.613e-05/3.624e-05, allocations: 0 / 347 MB, free: 3.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4138, allocations: 61.88 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1545/0.5684, allocations: 85.73 MB / 494.6 MB, free: 4.887 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.5687, allocations: 59.98 kB / 494.7 MB, free: 4.828 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006567/0.5752, allocations: 1.667 MB / 496.4 MB, free: 3.156 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5753, allocations: 0 / 496.4 MB, free: 3.156 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.5753, allocations: 0 / 496.4 MB, free: 3.156 MB / 410.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.0003295/0.5756, allocations: 356.2 kB / 496.7 MB, free: 2.758 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.5757, allocations: 15.97 kB / 496.7 MB, free: 2.742 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/0.5758, allocations: 34.56 kB / 496.8 MB, free: 2.699 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.449e-05/0.5758, allocations: 0 / 496.8 MB, free: 2.699 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.5759, allocations: 163.1 kB / 496.9 MB, free: 2.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.5759, allocations: 0 / 496.9 MB, free: 2.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.576, allocations: 3.953 kB / 496.9 MB, free: 2.496 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.709e-05/0.5761, allocations: 29.7 kB / 497 MB, free: 2.461 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.5761, allocations: 0 / 497 MB, free: 2.461 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.5761, allocations: 0 / 497 MB, free: 2.461 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5761, allocations: 0 / 497 MB, free: 2.461 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.283e-05/0.5761, allocations: 4 kB / 497 MB, free: 2.457 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.5763, allocations: 157.7 kB / 497.1 MB, free: 2.254 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.421e-05/0.5764, allocations: 19.16 kB / 497.1 MB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.333e-05/0.5764, allocations: 8.953 kB / 497.1 MB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.5764, allocations: 0 / 497.1 MB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.5765, allocations: 60.22 kB / 497.2 MB, free: 2.141 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.853e-06/0.5765, allocations: 4 kB / 497.2 MB, free: 2.137 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001646/0.5767, allocations: 59.41 kB / 497.3 MB, free: 2.066 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.5767, allocations: 85.09 kB / 497.3 MB, free: 1.965 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.205e-05/0.5768, allocations: 88.91 kB / 497.4 MB, free: 1.871 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.5768, allocations: 25.7 kB / 497.5 MB, free: 1.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.5769, allocations: 150.6 kB / 497.6 MB, free: 1.691 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.5769, allocations: 3.984 kB / 497.6 MB, free: 1.688 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.5769, allocations: 0 / 497.6 MB, free: 1.688 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5771, allocations: 318.9 kB / 497.9 MB, free: 1.367 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.5771, allocations: 3.938 kB / 497.9 MB, free: 1.363 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-06/0.5771, allocations: 0 / 497.9 MB, free: 1.363 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.392e-05/0.5772, allocations: 33.64 kB / 498 MB, free: 1.324 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5772, allocations: 0 / 498 MB, free: 1.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.589e-05/0.5773, allocations: 59.39 kB / 498 MB, free: 1.254 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.5773, allocations: 33.7 kB / 498 MB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.5773, allocations: 0 / 498 MB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.5774, allocations: 3.953 kB / 498.1 MB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-06/0.5774, allocations: 4.094 kB / 498.1 MB, free: 1.207 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.5774, allocations: 0 / 498.1 MB, free: 1.207 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/0.5774, allocations: 7.938 kB / 498.1 MB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.5775, allocations: 0 / 498.1 MB, free: 1.199 MB / 410.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.078e-05/0.5776, allocations: 130.7 kB / 498.2 MB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.5776, allocations: 3.984 kB / 498.2 MB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.585e-05/0.5776, allocations: 3.125 kB / 498.2 MB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.5776, allocations: 7.938 kB / 498.2 MB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.5776, allocations: 4 kB / 498.2 MB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5777, allocations: 4 kB / 498.2 MB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.5778, allocations: 141.7 kB / 498.4 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5778, allocations: 0 / 498.4 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-06/0.5778, allocations: 0 / 498.4 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.5778, allocations: 0 / 498.4 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.5778, allocations: 7.938 kB / 498.4 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.5778, allocations: 0 / 498.4 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.5778, allocations: 7.938 kB / 498.4 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.578, allocations: 86.84 kB / 498.5 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.578, allocations: 81.11 kB / 498.5 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.5781, allocations: 3.984 kB / 498.5 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.344e-05/0.5781, allocations: 0 / 498.5 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.5781, allocations: 0 / 498.5 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.5781, allocations: 3.953 kB / 498.5 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.157e-05/0.5782, allocations: 79.28 kB / 498.6 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5782, allocations: 0 / 498.6 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003185/0.5785, allocations: 28 kB / 498.6 MB, free: 0.5078 MB / 410.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.001061/0.5796, allocations: 0.8285 MB / 499.5 MB, free: 15.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.5797, allocations: 63.41 kB / 499.5 MB, free: 15.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5797, allocations: 0 / 499.5 MB, free: 15.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.327e-05/0.5798, allocations: 55.41 kB / 499.6 MB, free: 15.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.5799, allocations: 0 / 499.6 MB, free: 15.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.5803, allocations: 126.6 kB / 499.7 MB, free: 15.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.5806, allocations: 0.677 MB / 0.4887 GB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.503e-05/0.5806, allocations: 7.438 kB / 0.4887 GB, free: 14.71 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/0.5806, allocations: 0 / 0.4887 GB, free: 14.71 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.405/2.986, allocations: 1.127 MB / 0.4898 GB, free: 13.58 MB / 426.7 MB