Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadModel(ModelicaTest): time 1.895/1.895, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.904e-05/5.923e-05, allocations: 0 / 273.1 MB, free: 3.668 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08937/0.08946, allocations: 48.7 MB / 321.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4082/0.4977, allocations: 73.23 MB / 395 MB, free: 6.922 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/0.498, allocations: 71.27 kB / 395 MB, free: 6.918 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01173/0.5097, allocations: 2.935 MB / 398 MB, free: 6.465 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.268e-06/0.5098, allocations: 0 / 398 MB, free: 6.465 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.673e-06/0.5098, allocations: 0 / 398 MB, free: 6.465 MB / 314.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.0002914/0.5101, allocations: 359 kB / 398.3 MB, free: 6.094 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.5102, allocations: 11.56 kB / 398.3 MB, free: 6.094 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.5102, allocations: 7.906 kB / 398.4 MB, free: 6.086 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.668e-05/0.5103, allocations: 169.2 kB / 398.5 MB, free: 5.887 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.5103, allocations: 4.812 kB / 398.5 MB, free: 5.887 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.5104, allocations: 3.875 kB / 398.5 MB, free: 5.887 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.5105, allocations: 56.8 kB / 398.6 MB, free: 5.852 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.5105, allocations: 0 / 398.6 MB, free: 5.852 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.5105, allocations: 0 / 398.6 MB, free: 5.852 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.401e-06/0.5105, allocations: 0 / 398.6 MB, free: 5.852 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.555e-05/0.5106, allocations: 29.77 kB / 398.6 MB, free: 5.852 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/0.5108, allocations: 176.5 kB / 398.8 MB, free: 5.652 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.511, allocations: 55.72 kB / 398.8 MB, free: 5.625 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.465e-05/0.5111, allocations: 24.17 kB / 398.9 MB, free: 5.617 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002382/0.5113, allocations: 111.3 kB / 399 MB, free: 5.523 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.5114, allocations: 42.53 kB / 399 MB, free: 5.477 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.593e-06/0.5114, allocations: 0 / 399 MB, free: 5.477 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.1219/0.6332, allocations: 5.273 MB / 404.3 MB, free: 3.285 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.6333, allocations: 55.5 kB / 404.3 MB, free: 3.219 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.401e-05/0.6334, allocations: 96.66 kB / 404.4 MB, free: 3.125 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.805e-05/0.6335, allocations: 28.64 kB / 404.5 MB, free: 3.094 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.6335, allocations: 150.6 kB / 404.6 MB, free: 2.945 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.427e-05/0.6336, allocations: 64.03 kB / 404.7 MB, free: 2.898 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.6337, allocations: 3.188 kB / 404.7 MB, free: 2.898 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.936e-05/0.6337, allocations: 318 kB / 405 MB, free: 2.586 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.6341, allocations: 176.8 kB / 405.2 MB, free: 2.566 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.6344, allocations: 176 kB / 405.3 MB, free: 2.555 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.6356, allocations: 227.1 kB / 405.5 MB, free: 2.516 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.6357, allocations: 0 / 405.5 MB, free: 2.516 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001821/0.6375, allocations: 492.1 kB / 406 MB, free: 2.406 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.6375, allocations: 10.03 kB / 406 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.6376, allocations: 0 / 406 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.6376, allocations: 0 / 406 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/0.6382, allocations: 96.59 kB / 406.1 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.88e-06/0.6382, allocations: 0 / 406.1 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.6386, allocations: 23.75 kB / 406.2 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.381e-05/0.6387, allocations: 30.72 kB / 406.2 MB, free: 2.355 MB / 314.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.0001175/0.6388, allocations: 112.2 kB / 406.3 MB, free: 2.246 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.6389, allocations: 11.75 kB / 406.3 MB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/0.641, allocations: 0.5805 MB / 406.9 MB, free: 2.078 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.969e-06/0.6411, allocations: 3.984 kB / 406.9 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.157e-06/0.6411, allocations: 3.984 kB / 406.9 MB, free: 2.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.329e-06/0.6411, allocations: 4 kB / 406.9 MB, free: 2.066 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003411/0.6445, allocations: 0.9783 MB / 407.9 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.049e-06/0.6446, allocations: 3.844 kB / 407.9 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005795/0.6452, allocations: 89.12 kB / 408 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.6452, allocations: 12.11 kB / 408 MB, free: 1.418 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/0.6453, allocations: 19.53 kB / 408 MB, free: 1.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.859e-06/0.6453, allocations: 3.844 kB / 408 MB, free: 1.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.383e-06/0.6453, allocations: 3.938 kB / 408 MB, free: 1.406 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.6469, allocations: 0.5444 MB / 408.6 MB, free: 17.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.647, allocations: 84.86 kB / 408.6 MB, free: 16.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.288e-05/0.6471, allocations: 9.969 kB / 408.6 MB, free: 16.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.6475, allocations: 29.16 kB / 408.7 MB, free: 16.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.6475, allocations: 22.31 kB / 408.7 MB, free: 16.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.811e-05/0.6476, allocations: 19.66 kB / 408.7 MB, free: 16.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.678e-05/0.6477, allocations: 90.47 kB / 408.8 MB, free: 16.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.6477, allocations: 0 / 408.8 MB, free: 16.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001731/0.6494, allocations: 0.6232 MB / 409.4 MB, free: 16.78 MB / 330.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.003709/0.6531, allocations: 329.1 kB / 409.7 MB, free: 16.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007773/0.654, allocations: 324.2 kB / 410.1 MB, free: 16.56 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.654, allocations: 3.938 kB / 410.1 MB, free: 16.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.6543, allocations: 138 kB / 410.2 MB, free: 16.53 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.6546, allocations: 18.22 kB / 410.2 MB, free: 16.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.6563, allocations: 447.8 kB / 410.7 MB, free: 16.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.6567, allocations: 0.7001 MB / 411.4 MB, free: 15.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/0.657, allocations: 69.72 kB / 411.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of SimCode: time 1.696e-06/0.657, allocations: 0 / 411.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of Templates: time 0.02945/0.6865, allocations: 16.29 MB / 427.7 MB, free: 3.559 MB / 330.7 MB