Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadModel(ModelicaTest): time 2.381/2.381, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.039e-05/3.047e-05, allocations: 4 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3605, allocations: 58.82 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.4938, allocations: 85.27 MB / 467.5 MB, free: 7.277 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.4941, allocations: 67.97 kB / 467.5 MB, free: 7.211 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.039/0.5331, allocations: 8.196 MB / 475.7 MB, free: 15 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.289e-06/0.5331, allocations: 0 / 475.7 MB, free: 15 MB / 410.8 MB Notification: Performance of Transformations before backend: time 7.156e-06/0.5331, allocations: 0 / 475.7 MB, free: 15 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003661/0.5335, allocations: 337.2 kB / 476.1 MB, free: 14.63 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5336, allocations: 12.03 kB / 476.1 MB, free: 14.62 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.5336, allocations: 4 kB / 476.1 MB, free: 14.62 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.5338, allocations: 170.9 kB / 476.2 MB, free: 14.41 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.5338, allocations: 0 / 476.2 MB, free: 14.41 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.5338, allocations: 3.984 kB / 476.2 MB, free: 14.41 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.365e-05/0.5339, allocations: 37.69 kB / 476.3 MB, free: 14.36 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.5339, allocations: 0 / 476.3 MB, free: 14.36 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.133e-06/0.534, allocations: 0 / 476.3 MB, free: 14.36 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.072e-06/0.534, allocations: 0 / 476.3 MB, free: 14.36 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.194e-05/0.534, allocations: 11.94 kB / 476.3 MB, free: 14.35 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.5342, allocations: 149.6 kB / 476.4 MB, free: 14.16 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.792e-05/0.5343, allocations: 18.61 kB / 476.5 MB, free: 14.13 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.5343, allocations: 8.859 kB / 476.5 MB, free: 14.12 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.5343, allocations: 4.062 kB / 476.5 MB, free: 14.11 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.5344, allocations: 30.56 kB / 476.5 MB, free: 14.07 MB / 410.8 MB Notification: Performance of pre-optimization done (n=1): time 2.091e-06/0.5344, allocations: 0 / 476.5 MB, free: 14.07 MB / 410.8 MB Notification: Performance of matching and sorting (n=1): time 0.0001147/0.5345, allocations: 37.64 kB / 476.5 MB, free: 14.03 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.5346, allocations: 55.41 kB / 476.6 MB, free: 13.96 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.763e-05/0.5346, allocations: 85 kB / 476.7 MB, free: 13.88 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.5347, allocations: 25.7 kB / 476.7 MB, free: 13.84 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.5347, allocations: 84.12 kB / 476.8 MB, free: 13.76 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.5348, allocations: 8 kB / 476.8 MB, free: 13.75 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.5348, allocations: 0 / 476.8 MB, free: 13.75 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.5349, allocations: 315 kB / 477.1 MB, free: 13.43 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.535, allocations: 0 / 477.1 MB, free: 13.43 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.218e-05/0.535, allocations: 4 kB / 477.1 MB, free: 13.43 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.093e-05/0.535, allocations: 3.953 kB / 477.1 MB, free: 13.43 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.129e-06/0.535, allocations: 0 / 477.1 MB, free: 13.43 MB / 410.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.25e-05/0.5351, allocations: 37.64 kB / 477.1 MB, free: 13.38 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5352, allocations: 4 kB / 477.1 MB, free: 13.38 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.5352, allocations: 3.984 kB / 477.1 MB, free: 13.38 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.5352, allocations: 4 kB / 477.1 MB, free: 13.37 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.646e-06/0.5352, allocations: 4.094 kB / 477.2 MB, free: 13.37 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.128e-06/0.5352, allocations: 0 / 477.2 MB, free: 13.37 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.5353, allocations: 3.938 kB / 477.2 MB, free: 13.36 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.867e-06/0.5353, allocations: 0 / 477.2 MB, free: 13.36 MB / 410.8 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.291e-05/0.5354, allocations: 104.9 kB / 477.3 MB, free: 13.25 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.5354, allocations: 7.906 kB / 477.3 MB, free: 13.25 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.5356, allocations: 48.75 kB / 477.3 MB, free: 13.19 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.5356, allocations: 4.031 kB / 477.3 MB, free: 13.18 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.484e-06/0.5356, allocations: 4 kB / 477.3 MB, free: 13.18 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.778e-06/0.5356, allocations: 0 / 477.3 MB, free: 13.18 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.5358, allocations: 153.7 kB / 477.5 MB, free: 12.98 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.5358, allocations: 3.953 kB / 477.5 MB, free: 12.98 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.295e-06/0.5358, allocations: 0 / 477.5 MB, free: 12.98 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.573e-06/0.5358, allocations: 0 / 477.5 MB, free: 12.98 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.06e-06/0.5358, allocations: 0 / 477.5 MB, free: 12.98 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.825e-06/0.5358, allocations: 0 / 477.5 MB, free: 12.98 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.508e-06/0.5358, allocations: 0 / 477.5 MB, free: 12.98 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.957e-05/0.5359, allocations: 61.08 kB / 477.5 MB, free: 12.9 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.536, allocations: 89.05 kB / 477.6 MB, free: 12.79 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.536, allocations: 0 / 477.6 MB, free: 12.79 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.902e-05/0.5361, allocations: 0 / 477.6 MB, free: 12.79 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.5361, allocations: 4 kB / 477.6 MB, free: 12.79 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.5361, allocations: 0 / 477.6 MB, free: 12.79 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.459e-05/0.5362, allocations: 83.31 kB / 477.7 MB, free: 12.71 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.87e-07/0.5362, allocations: 0 / 477.7 MB, free: 12.71 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003498/0.5366, allocations: 55.91 kB / 477.8 MB, free: 12.65 MB / 410.8 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003415/0.5369, allocations: 143.2 kB / 477.9 MB, free: 12.5 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 9.114e-05/0.537, allocations: 33.7 kB / 477.9 MB, free: 12.46 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.808e-06/0.5371, allocations: 0 / 477.9 MB, free: 12.46 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.5371, allocations: 33.64 kB / 478 MB, free: 12.43 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/0.5372, allocations: 0 / 478 MB, free: 12.43 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000209/0.5375, allocations: 61.14 kB / 478 MB, free: 12.34 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.5378, allocations: 0.677 MB / 478.7 MB, free: 11.64 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.364e-05/0.5378, allocations: 0 / 478.7 MB, free: 11.64 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.304e-05/0.5379, allocations: 7.438 kB / 478.7 MB, free: 11.63 MB / 410.8 MB Notification: Performance of SimCode: time 1.35e-06/0.5379, allocations: 3.938 kB / 478.7 MB, free: 11.63 MB / 410.8 MB Notification: Performance of Templates: time 0.003586/0.5415, allocations: 0.841 MB / 479.6 MB, free: 10.79 MB / 410.8 MB