Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadModel(ModelicaTest): time 2.327/2.327, allocations: 234.9 MB / 250.1 MB, free: 9.707 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.215e-05/3.226e-05, allocations: 4 kB / 308 MB, free: 15.7 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3608, allocations: 54.86 MB / 362.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0006694/0.3616, allocations: 224.4 kB / 363.1 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.3639, allocations: 1.303 MB / 364.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.364, allocations: 0 / 364.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.148e-05/0.364, allocations: 0 / 364.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.176e-05/0.3641, allocations: 4 kB / 364.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007033/0.3648, allocations: 135.6 kB / 364.5 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.614e-05/0.3648, allocations: 3.984 kB / 364.5 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.08e-05/0.3649, allocations: 0 / 364.5 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.011e-05/0.3649, allocations: 4 kB / 364.5 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.801e-05/0.365, allocations: 3.984 kB / 364.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006299/0.3656, allocations: 255.6 kB / 364.8 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.809e-05/0.3657, allocations: 20 kB / 364.8 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.678e-06/0.3657, allocations: 0 / 364.8 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.333e-05/0.3657, allocations: 0 / 364.8 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.366, allocations: 91.81 kB / 364.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.366, allocations: 0 / 364.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.366, allocations: 0 / 364.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.366, allocations: 0 / 364.9 MB, free: 9.734 MB / 298.7 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.0003989/0.3664, allocations: 335.3 kB / 365.2 MB, free: 9.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.3665, allocations: 11.97 kB / 365.2 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.3665, allocations: 4 kB / 365.2 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.3667, allocations: 163 kB / 365.4 MB, free: 9.145 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3667, allocations: 0 / 365.4 MB, free: 9.145 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.3668, allocations: 0 / 365.4 MB, free: 9.145 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.3669, allocations: 41.69 kB / 365.4 MB, free: 9.098 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3669, allocations: 0 / 365.4 MB, free: 9.098 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3669, allocations: 0 / 365.4 MB, free: 9.098 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.3669, allocations: 3.953 kB / 365.4 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.946e-05/0.367, allocations: 7.938 kB / 365.4 MB, free: 9.086 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.3672, allocations: 145.7 kB / 365.6 MB, free: 8.895 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.009e-05/0.3672, allocations: 22.61 kB / 365.6 MB, free: 8.863 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.3673, allocations: 4 kB / 365.6 MB, free: 8.859 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.3673, allocations: 30.56 kB / 365.6 MB, free: 8.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.402e-06/0.3673, allocations: 0 / 365.6 MB, free: 8.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001639/0.3675, allocations: 37.7 kB / 365.7 MB, free: 8.777 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.3675, allocations: 51.41 kB / 365.7 MB, free: 8.715 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.69e-05/0.3676, allocations: 96.94 kB / 365.8 MB, free: 8.613 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.3676, allocations: 25.7 kB / 365.8 MB, free: 8.582 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/0.3677, allocations: 158.8 kB / 366 MB, free: 8.426 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.3678, allocations: 1.828 kB / 366 MB, free: 8.426 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.3678, allocations: 0 / 366 MB, free: 8.426 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3679, allocations: 310.8 kB / 366.3 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.368, allocations: 4 kB / 366.3 MB, free: 8.109 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.028e-05/0.368, allocations: 0 / 366.3 MB, free: 8.109 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.859e-05/0.368, allocations: 0 / 366.3 MB, free: 8.109 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.368, allocations: 4 kB / 366.3 MB, free: 8.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.564e-05/0.3681, allocations: 37.7 kB / 366.3 MB, free: 8.062 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3681, allocations: 7.984 kB / 366.3 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3681, allocations: 0 / 366.3 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3682, allocations: 4 kB / 366.4 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.023e-05/0.3683, allocations: 0 / 366.4 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3683, allocations: 0 / 366.4 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.3683, allocations: 0 / 366.4 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.3683, allocations: 11.89 kB / 366.4 MB, free: 8.039 MB / 298.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 (1): * Single equations (assignments): 1 * 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 8.955e-05/0.3684, allocations: 109.8 kB / 366.5 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.3685, allocations: 4 kB / 366.5 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.3686, allocations: 44.84 kB / 366.5 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3686, allocations: 0 / 366.5 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3687, allocations: 0 / 366.5 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3687, allocations: 4 kB / 366.5 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.3688, allocations: 153.6 kB / 366.7 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.3688, allocations: 3.938 kB / 366.7 MB, free: 7.664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-06/0.3688, allocations: 3.938 kB / 366.7 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3689, allocations: 8.031 kB / 366.7 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.3689, allocations: 0 / 366.7 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3689, allocations: 0 / 366.7 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3689, allocations: 0 / 366.7 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.369, allocations: 68.98 kB / 366.8 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.3691, allocations: 77.11 kB / 366.8 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.3691, allocations: 0 / 366.8 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.3692, allocations: 8.031 kB / 366.8 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.3693, allocations: 3.984 kB / 366.8 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.3693, allocations: 0 / 366.8 MB, free: 7.461 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.525e-05/0.3693, allocations: 83.27 kB / 366.9 MB, free: 7.379 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3693, allocations: 0 / 366.9 MB, free: 7.379 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003458/0.3697, allocations: 40 kB / 367 MB, free: 7.34 MB / 298.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 (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.0003963/0.3701, allocations: 139.2 kB / 367.1 MB, free: 7.191 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.76e-05/0.3702, allocations: 16.02 kB / 367.1 MB, free: 7.176 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3702, allocations: 0 / 367.1 MB, free: 7.176 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.852e-05/0.3703, allocations: 29.7 kB / 367.1 MB, free: 7.141 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.3704, allocations: 3.953 kB / 367.1 MB, free: 7.137 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.3707, allocations: 120.3 kB / 367.3 MB, free: 6.988 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.371, allocations: 0.6731 MB / 367.9 MB, free: 6.289 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.3711, allocations: 7.438 kB / 367.9 MB, free: 6.281 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3711, allocations: 0 / 367.9 MB, free: 6.281 MB / 298.7 MB Notification: Performance of Templates: time 0.003528/0.3746, allocations: 0.9952 MB / 368.9 MB, free: 5.285 MB / 298.7 MB