Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadModel(ModelicaTest): time 1.821/1.821, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.026e-05, allocations: 4 kB / 273.1 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08639/0.08644, allocations: 48.69 MB / 321.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3398/0.4262, allocations: 72.7 MB / 394.5 MB, free: 7.059 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001805/0.4265, allocations: 66.17 kB / 394.5 MB, free: 7.055 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001546/0.428, allocations: 0.5676 MB / 395.1 MB, free: 6.734 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4281, allocations: 0 / 395.1 MB, free: 6.734 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.295e-06/0.4281, allocations: 0 / 395.1 MB, free: 6.734 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002126/0.4283, allocations: 325.1 kB / 395.4 MB, free: 6.387 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.4284, allocations: 7.625 kB / 395.4 MB, free: 6.387 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.4284, allocations: 3.781 kB / 395.4 MB, free: 6.387 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.205e-05/0.4285, allocations: 161 kB / 395.6 MB, free: 6.191 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.4285, allocations: 3.953 kB / 395.6 MB, free: 6.188 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.4285, allocations: 6.75 kB / 395.6 MB, free: 6.188 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.894e-05/0.4286, allocations: 56.27 kB / 395.6 MB, free: 6.137 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.779e-06/0.4287, allocations: 4 kB / 395.6 MB, free: 6.133 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.371e-06/0.4287, allocations: 0 / 395.6 MB, free: 6.133 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.651e-06/0.4287, allocations: 0 / 395.6 MB, free: 6.133 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.513e-05/0.4287, allocations: 10.61 kB / 395.7 MB, free: 6.133 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002363/0.429, allocations: 321.8 kB / 396 MB, free: 5.785 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.797e-05/0.4291, allocations: 25.69 kB / 396 MB, free: 5.758 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.072e-05/0.4291, allocations: 23.84 kB / 396 MB, free: 5.742 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.4291, allocations: 0 / 396 MB, free: 5.742 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.4292, allocations: 40.03 kB / 396.1 MB, free: 5.703 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.969e-06/0.4292, allocations: 0 / 396.1 MB, free: 5.703 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001525/0.4293, allocations: 46.77 kB / 396.1 MB, free: 5.668 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.4294, allocations: 55.34 kB / 396.2 MB, free: 5.602 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.659e-05/0.4294, allocations: 88.91 kB / 396.2 MB, free: 5.512 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.283e-06/0.4294, allocations: 33.56 kB / 396.3 MB, free: 5.477 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.4295, allocations: 152.4 kB / 396.4 MB, free: 5.328 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.4295, allocations: 11.47 kB / 396.4 MB, free: 5.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-06/0.4295, allocations: 2.812 kB / 396.4 MB, free: 5.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.84e-05/0.4296, allocations: 317.1 kB / 396.7 MB, free: 5.004 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.347e-05/0.4296, allocations: 10.62 kB / 396.8 MB, free: 5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.652e-05/0.4297, allocations: 20.44 kB / 396.8 MB, free: 4.984 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.007e-05/0.4297, allocations: 10.08 kB / 396.8 MB, free: 4.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.789e-06/0.4297, allocations: 0 / 396.8 MB, free: 4.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001024/0.4298, allocations: 53.92 kB / 396.8 MB, free: 4.945 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.4298, allocations: 7.562 kB / 396.8 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.713e-06/0.4299, allocations: 0 / 396.8 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4299, allocations: 0 / 396.8 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.491e-05/0.43, allocations: 14.34 kB / 396.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.43, allocations: 0 / 396.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.009e-05/0.43, allocations: 7.625 kB / 396.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.43, allocations: 0 / 396.9 MB, free: 4.938 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.369e-05/0.4301, allocations: 109 kB / 397 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.4301, allocations: 7.312 kB / 397 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.4303, allocations: 61.55 kB / 397 MB, free: 4.785 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.202e-06/0.4303, allocations: 0 / 397 MB, free: 4.785 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4303, allocations: 0 / 397 MB, free: 4.785 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.603e-06/0.4303, allocations: 0 / 397 MB, free: 4.785 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.4305, allocations: 166.9 kB / 397.2 MB, free: 4.594 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.031e-06/0.4305, allocations: 0.875 kB / 397.2 MB, free: 4.594 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.4305, allocations: 14.64 kB / 397.2 MB, free: 4.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.38e-06/0.4306, allocations: 4 kB / 397.2 MB, free: 4.586 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.041e-06/0.4306, allocations: 0 / 397.2 MB, free: 4.586 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.236e-06/0.4306, allocations: 0 / 397.2 MB, free: 4.586 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.554e-06/0.4306, allocations: 0 / 397.2 MB, free: 4.586 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.4307, allocations: 149 kB / 397.4 MB, free: 4.453 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.4308, allocations: 81.06 kB / 397.4 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.4308, allocations: 6.625 kB / 397.5 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.4309, allocations: 0 / 397.5 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.4309, allocations: 7.781 kB / 397.5 MB, free: 4.352 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.4309, allocations: 0 / 397.5 MB, free: 4.352 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.281e-05/0.4309, allocations: 79.19 kB / 397.5 MB, free: 4.277 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-07/0.431, allocations: 0 / 397.5 MB, free: 4.277 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002947/0.4313, allocations: 7.25 kB / 397.5 MB, free: 4.277 MB / 314.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 (5): * Single equations (assignments): 5 * 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.0002689/0.4315, allocations: 109.7 kB / 397.7 MB, free: 20.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.217e-05/0.4316, allocations: 22.38 kB / 397.7 MB, free: 20.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.678e-06/0.4317, allocations: 4.156 kB / 397.7 MB, free: 20.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.358e-05/0.4317, allocations: 14.28 kB / 397.7 MB, free: 20.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.4319, allocations: 8.656 kB / 397.7 MB, free: 20.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002081/0.4321, allocations: 100.2 kB / 397.8 MB, free: 20.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.4325, allocations: 0.6827 MB / 398.5 MB, free: 19.37 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.4325, allocations: 7.438 kB / 398.5 MB, free: 19.36 MB / 330.7 MB Notification: Performance of SimCode: time 1.385e-06/0.4325, allocations: 3.75 kB / 398.5 MB, free: 19.36 MB / 330.7 MB Notification: Performance of Templates: time 0.001926/0.4344, allocations: 0.5617 MB / 399.1 MB, free: 19.34 MB / 330.7 MB