Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadModel(ModelicaTest): time 2.019/2.019, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.068e-05/3.079e-05, allocations: 0 / 273.1 MB, free: 3.672 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08592/0.08597, allocations: 48.69 MB / 321.7 MB, free: 2.883 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.339/0.4251, allocations: 72.71 MB / 394.5 MB, free: 7.07 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001597/0.4253, allocations: 59.05 kB / 394.5 MB, free: 7.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001805/0.4271, allocations: 0.6219 MB / 395.1 MB, free: 6.742 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4271, allocations: 0 / 395.1 MB, free: 6.742 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.552e-06/0.4271, allocations: 3.844 kB / 395.1 MB, free: 6.742 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001737/0.4273, allocations: 311.5 kB / 395.4 MB, free: 6.402 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.4274, allocations: 9.547 kB / 395.5 MB, free: 6.402 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.4274, allocations: 1.359 kB / 395.5 MB, free: 6.402 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.691e-05/0.4275, allocations: 163 kB / 395.6 MB, free: 6.203 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.4275, allocations: 11.8 kB / 395.6 MB, free: 6.195 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.4275, allocations: 1.266 kB / 395.6 MB, free: 6.195 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.514e-05/0.4276, allocations: 33.81 kB / 395.7 MB, free: 6.164 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4277, allocations: 0 / 395.7 MB, free: 6.164 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.4277, allocations: 4.688 kB / 395.7 MB, free: 6.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-06/0.4277, allocations: 0 / 395.7 MB, free: 6.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.802e-05/0.4277, allocations: 12.81 kB / 395.7 MB, free: 6.156 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/0.4279, allocations: 151.7 kB / 395.8 MB, free: 5.969 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.428, allocations: 39.97 kB / 395.9 MB, free: 5.938 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.4281, allocations: 12.48 kB / 395.9 MB, free: 5.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003018/0.4284, allocations: 116 kB / 396 MB, free: 5.836 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.4284, allocations: 38.38 kB / 396 MB, free: 5.793 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.246e-06/0.4285, allocations: 0 / 396 MB, free: 5.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.00115/0.4296, allocations: 172 kB / 396.2 MB, free: 5.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.4297, allocations: 52.5 kB / 396.2 MB, free: 5.688 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.366e-05/0.4297, allocations: 85 kB / 396.3 MB, free: 5.598 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.4297, allocations: 25.7 kB / 396.4 MB, free: 5.566 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.195e-05/0.4298, allocations: 154.2 kB / 396.5 MB, free: 5.418 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.4298, allocations: 11.69 kB / 396.5 MB, free: 5.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.556e-06/0.4298, allocations: 3.938 kB / 396.5 MB, free: 5.406 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.701e-05/0.4299, allocations: 317.1 kB / 396.8 MB, free: 5.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.53e-05/0.4299, allocations: 11.22 kB / 396.8 MB, free: 5.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.43, allocations: 11.41 kB / 396.8 MB, free: 5.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.122e-05/0.43, allocations: 11.36 kB / 396.9 MB, free: 5.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.776e-06/0.43, allocations: 3.938 kB / 396.9 MB, free: 5.086 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001342/0.4302, allocations: 62.03 kB / 396.9 MB, free: 5.047 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.4302, allocations: 3.844 kB / 396.9 MB, free: 5.047 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.785e-06/0.4302, allocations: 1.312 kB / 396.9 MB, free: 5.047 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.4303, allocations: 0 / 396.9 MB, free: 5.047 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.4304, allocations: 28.48 kB / 397 MB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4304, allocations: 0 / 397 MB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.4306, allocations: 6.109 kB / 397 MB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.4306, allocations: 3.688 kB / 397 MB, free: 5.043 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 (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.989e-05/0.4306, allocations: 104.9 kB / 397.1 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.4307, allocations: 3.953 kB / 397.1 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.4309, allocations: 77.7 kB / 397.1 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.814e-06/0.4309, allocations: 3.688 kB / 397.2 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.893e-06/0.4309, allocations: 0 / 397.2 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4309, allocations: 0 / 397.2 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000557/0.4315, allocations: 340.4 kB / 397.5 MB, free: 4.578 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.16e-06/0.4315, allocations: 0 / 397.5 MB, free: 4.578 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.4317, allocations: 22.33 kB / 397.5 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.244e-06/0.4317, allocations: 0 / 397.5 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.4317, allocations: 0.875 kB / 397.5 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.988e-06/0.4317, allocations: 0 / 397.5 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.231e-06/0.4317, allocations: 3.844 kB / 397.5 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.4319, allocations: 174.4 kB / 397.7 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.4319, allocations: 77.11 kB / 397.8 MB, free: 4.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.4319, allocations: 6.781 kB / 397.8 MB, free: 4.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.4321, allocations: 7.75 kB / 397.8 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.4321, allocations: 6.547 kB / 397.8 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.74e-06/0.4321, allocations: 0 / 397.8 MB, free: 4.316 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001769/0.4323, allocations: 86.94 kB / 397.9 MB, free: 20.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.39e-07/0.4323, allocations: 0 / 397.9 MB, free: 20.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003192/0.4327, allocations: 11.25 kB / 397.9 MB, free: 20.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001498/0.4328, allocations: 103.7 kB / 398 MB, free: 20.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.433, allocations: 29.27 kB / 398 MB, free: 20.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.698e-06/0.433, allocations: 0 / 398 MB, free: 20.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.62e-05/0.433, allocations: 15.44 kB / 398 MB, free: 20.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.4332, allocations: 11.98 kB / 398 MB, free: 20.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.4336, allocations: 121.4 kB / 398.1 MB, free: 20.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.434, allocations: 0.6761 MB / 398.8 MB, free: 19.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.434, allocations: 14.41 kB / 398.8 MB, free: 19.32 MB / 330.7 MB Notification: Performance of SimCode: time 1.406e-06/0.434, allocations: 0 / 398.8 MB, free: 19.32 MB / 330.7 MB Notification: Performance of Templates: time 0.002056/0.4361, allocations: 0.6613 MB / 399.5 MB, free: 19.28 MB / 330.7 MB