Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.597/2.598, allocations: 270 MB / 282.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.39e-05/3.404e-05, allocations: 4 kB / 347.1 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3956, allocations: 61.87 MB / 408.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1572/0.5528, allocations: 85.55 MB / 494.5 MB, free: 5.094 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.5531, allocations: 63.97 kB / 494.5 MB, free: 5.031 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01504/0.5682, allocations: 3.03 MB / 497.6 MB, free: 1.996 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5682, allocations: 0 / 497.6 MB, free: 1.996 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.5682, allocations: 4 kB / 497.6 MB, free: 1.992 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004227/0.5687, allocations: 362.3 kB / 497.9 MB, free: 1.594 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.5687, allocations: 15.97 kB / 497.9 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.805e-05/0.5688, allocations: 38.55 kB / 498 MB, free: 1.531 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.5688, allocations: 8 kB / 498 MB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.569, allocations: 166.9 kB / 498.2 MB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.569, allocations: 7.953 kB / 498.2 MB, free: 1.312 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.569, allocations: 7.938 kB / 498.2 MB, free: 1.305 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.5692, allocations: 53.69 kB / 498.2 MB, free: 1.246 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.5692, allocations: 3.984 kB / 498.2 MB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.5692, allocations: 0 / 498.2 MB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.5693, allocations: 0 / 498.2 MB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.79e-05/0.5694, allocations: 35.92 kB / 498.3 MB, free: 1.207 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.5696, allocations: 165.7 kB / 498.4 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.5699, allocations: 62.55 kB / 498.5 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.879e-05/0.57, allocations: 24.86 kB / 498.5 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00035/0.5703, allocations: 109.1 kB / 498.6 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.5704, allocations: 38.56 kB / 498.6 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.894e-06/0.5704, allocations: 0 / 498.6 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.248/0.8185, allocations: 5.384 MB / 0.4922 GB, free: 11.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.8185, allocations: 55.41 kB / 0.4923 GB, free: 11.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.86e-05/0.8187, allocations: 96.94 kB / 0.4924 GB, free: 11.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.563e-05/0.8187, allocations: 29.7 kB / 0.4924 GB, free: 11.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.8188, allocations: 154.6 kB / 0.4925 GB, free: 10.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.819, allocations: 71 kB / 0.4926 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/0.819, allocations: 0 / 0.4926 GB, free: 10.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.8192, allocations: 322.8 kB / 0.4929 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/0.8197, allocations: 187.9 kB / 0.4931 GB, free: 10.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005639/0.8203, allocations: 187.9 kB / 0.4933 GB, free: 10.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.8219, allocations: 239.8 kB / 0.4935 GB, free: 9.953 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8219, allocations: 0 / 0.4935 GB, free: 9.953 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002489/0.8244, allocations: 0.5265 MB / 0.494 GB, free: 9.422 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.8244, allocations: 4 kB / 0.494 GB, free: 9.418 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.8245, allocations: 11.98 kB / 0.494 GB, free: 9.406 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.8245, allocations: 0 / 0.494 GB, free: 9.406 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.8258, allocations: 115.8 kB / 0.4941 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.8259, allocations: 0 / 0.4941 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009504/0.8268, allocations: 35.97 kB / 0.4942 GB, free: 9.258 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.8269, allocations: 31.94 kB / 0.4942 GB, free: 9.227 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001823/0.8271, allocations: 108.9 kB / 0.4943 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.761e-05/0.8272, allocations: 4 kB / 0.4943 GB, free: 9.109 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003004/0.8302, allocations: 0.6537 MB / 0.495 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.8303, allocations: 4 kB / 0.495 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8303, allocations: 0 / 0.495 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.8303, allocations: 4 kB / 0.495 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006723/0.837, allocations: 1.113 MB / 0.496 GB, free: 7.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.8371, allocations: 4 kB / 0.4961 GB, free: 7.246 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.8382, allocations: 104 kB / 0.4962 GB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.8382, allocations: 4.188 kB / 0.4962 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.161e-05/0.8383, allocations: 27.95 kB / 0.4962 GB, free: 7.113 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/0.8384, allocations: 7.938 kB / 0.4962 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.8384, allocations: 7.891 kB / 0.4962 GB, free: 7.098 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.8406, allocations: 0.5716 MB / 0.4968 GB, free: 6.457 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.8407, allocations: 89.02 kB / 0.4968 GB, free: 6.352 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.368e-05/0.8408, allocations: 4.25 kB / 0.4968 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008618/0.8417, allocations: 39.95 kB / 0.4969 GB, free: 6.309 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.8417, allocations: 19.81 kB / 0.4969 GB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.093e-05/0.8418, allocations: 35.95 kB / 0.4969 GB, free: 6.254 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.072e-05/0.8419, allocations: 83.28 kB / 0.497 GB, free: 6.172 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8419, allocations: 0 / 0.497 GB, free: 6.172 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002715/0.8446, allocations: 0.6325 MB / 0.4976 GB, free: 5.539 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.007212/0.8519, allocations: 1.749 MB / 0.4993 GB, free: 3.723 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.8532, allocations: 367.8 kB / 0.4997 GB, free: 3.363 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.8532, allocations: 0 / 0.4997 GB, free: 3.363 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005286/0.8537, allocations: 163.8 kB / 0.4998 GB, free: 3.203 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.854, allocations: 11.39 kB / 0.4999 GB, free: 3.195 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005316/0.8593, allocations: 0.6262 MB / 0.5005 GB, free: 2.508 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.8597, allocations: 0.7046 MB / 0.5012 GB, free: 1.773 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005486/0.8602, allocations: 95.28 kB / 0.5012 GB, free: 1.68 MB / 426.7 MB Notification: Performance of SimCode: time 8.91e-07/0.8602, allocations: 0 / 0.5012 GB, free: 1.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.124/3.984, allocations: 17.6 MB / 0.5184 GB, free: 0.5391 MB / 442.7 MB