Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadModel(ModelicaTest): time 2.144/2.144, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.716e-05/2.694e-05, allocations: 4 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3599, allocations: 54.86 MB / 359.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.4798, allocations: 79.71 MB / 439.5 MB, free: 1.289 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.4801, allocations: 63.97 kB / 439.5 MB, free: 1.227 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01391/0.494, allocations: 3.091 MB / 442.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.845e-06/0.4941, allocations: 0 / 442.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.101e-06/0.4941, allocations: 0 / 442.6 MB, free: 14.15 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004001/0.4945, allocations: 354.4 kB / 443 MB, free: 13.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4945, allocations: 12.03 kB / 443 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.4946, allocations: 3.906 kB / 443 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.4948, allocations: 175 kB / 443.2 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.4948, allocations: 3.984 kB / 443.2 MB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.4948, allocations: 12 kB / 443.2 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.495, allocations: 57.69 kB / 443.2 MB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.495, allocations: 11.19 kB / 443.2 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.495, allocations: 0 / 443.2 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.4951, allocations: 4 kB / 443.2 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.4952, allocations: 43.97 kB / 443.3 MB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.4954, allocations: 170.1 kB / 443.5 MB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.4956, allocations: 83.38 kB / 443.5 MB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.884e-05/0.4957, allocations: 28.86 kB / 443.6 MB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002613/0.496, allocations: 109.1 kB / 443.7 MB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.496, allocations: 34.56 kB / 443.7 MB, free: 12.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 6.86e-06/0.4961, allocations: 4 kB / 443.7 MB, free: 12.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.1175/0.6136, allocations: 4.969 MB / 448.7 MB, free: 7.898 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.6137, allocations: 51.41 kB / 448.7 MB, free: 7.836 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.002e-05/0.6137, allocations: 89 kB / 448.8 MB, free: 7.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/0.6138, allocations: 29.7 kB / 448.8 MB, free: 7.707 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.571e-05/0.6139, allocations: 151.1 kB / 449 MB, free: 7.555 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.989e-05/0.614, allocations: 78.91 kB / 449.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.614, allocations: 0 / 449.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.6142, allocations: 322.8 kB / 449.4 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.6145, allocations: 67.98 kB / 449.5 MB, free: 7.086 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.6147, allocations: 67.98 kB / 449.5 MB, free: 7.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007009/0.6154, allocations: 110.2 kB / 449.6 MB, free: 6.914 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6154, allocations: 0 / 449.6 MB, free: 6.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001074/0.6165, allocations: 265.4 kB / 449.9 MB, free: 6.648 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.6165, allocations: 4 kB / 449.9 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.12e-06/0.6165, allocations: 8 kB / 449.9 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.6166, allocations: 0 / 449.9 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005676/0.6171, allocations: 91.84 kB / 450 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.837e-06/0.6172, allocations: 0 / 450 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.6174, allocations: 39.97 kB / 450 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.783e-05/0.6175, allocations: 17.48 kB / 450 MB, free: 6.492 MB / 378.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 (23): * Single equations (assignments): 23 * 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.0001298/0.6177, allocations: 116.9 kB / 450.2 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.6177, allocations: 11.86 kB / 450.2 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.6191, allocations: 338.6 kB / 450.5 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.296e-06/0.6191, allocations: 0 / 450.5 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.753e-06/0.6191, allocations: 2.812 kB / 450.5 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.627e-06/0.6191, allocations: 7.938 kB / 450.5 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.6217, allocations: 0.7373 MB / 451.2 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.401e-06/0.6217, allocations: 4 kB / 451.3 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004286/0.6221, allocations: 83.94 kB / 451.3 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.6221, allocations: 4 kB / 451.3 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.6222, allocations: 15.98 kB / 451.4 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.6222, allocations: 0 / 451.4 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.279e-06/0.6222, allocations: 7.891 kB / 451.4 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.6233, allocations: 362.8 kB / 451.7 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.6234, allocations: 96.89 kB / 451.8 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.6234, allocations: 4 kB / 451.8 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.6237, allocations: 39.97 kB / 451.9 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.6237, allocations: 11.98 kB / 451.9 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/0.6238, allocations: 23.97 kB / 451.9 MB, free: 4.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.106e-05/0.6239, allocations: 75.28 kB / 452 MB, free: 4.445 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.63e-07/0.6239, allocations: 0 / 452 MB, free: 4.445 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001887/0.6258, allocations: 0.609 MB / 452.6 MB, free: 3.836 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.003527/0.6293, allocations: 338.8 kB / 452.9 MB, free: 3.496 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004665/0.6298, allocations: 163.8 kB / 453.1 MB, free: 3.336 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.049e-06/0.6298, allocations: 3.938 kB / 453.1 MB, free: 3.332 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.63, allocations: 87.91 kB / 453.1 MB, free: 3.246 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.6302, allocations: 7.984 kB / 453.2 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009226/0.6312, allocations: 282.8 kB / 453.4 MB, free: 2.926 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.6316, allocations: 0.7095 MB / 454.1 MB, free: 2.191 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.6318, allocations: 51.39 kB / 454.2 MB, free: 2.141 MB / 378.7 MB Notification: Performance of SimCode: time 1.452e-06/0.6318, allocations: 0 / 454.2 MB, free: 2.141 MB / 378.7 MB Notification: Performance of Templates: time 0.02779/0.6596, allocations: 14.91 MB / 469.1 MB, free: 3.262 MB / 394.7 MB