Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadModel(ModelicaTest): time 1.953/1.953, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.724e-05/5.735e-05, allocations: 4 kB / 273 MB, free: 0.7461 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09057/0.09066, allocations: 48.71 MB / 321.8 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3187/0.4094, allocations: 74.03 MB / 395.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.4097, allocations: 71.95 kB / 395.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0384/0.4481, allocations: 8.158 MB / 404 MB, free: 7.758 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.047e-06/0.4481, allocations: 4 kB / 404 MB, free: 7.754 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.518e-06/0.4481, allocations: 0 / 404 MB, free: 7.754 MB / 330.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.0003801/0.4485, allocations: 338.4 kB / 404.3 MB, free: 7.379 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4486, allocations: 12.03 kB / 404.4 MB, free: 7.367 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.4486, allocations: 0 / 404.4 MB, free: 7.367 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.4488, allocations: 167 kB / 404.5 MB, free: 7.164 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.4488, allocations: 4 kB / 404.5 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.4488, allocations: 4 kB / 404.5 MB, free: 7.156 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.4489, allocations: 29.7 kB / 404.6 MB, free: 7.121 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.449, allocations: 3.984 kB / 404.6 MB, free: 7.117 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.96e-06/0.449, allocations: 0 / 404.6 MB, free: 7.117 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.846e-06/0.449, allocations: 4 kB / 404.6 MB, free: 7.113 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.319e-05/0.449, allocations: 11.94 kB / 404.6 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.4494, allocations: 248.9 kB / 404.8 MB, free: 6.809 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.971e-05/0.4495, allocations: 14.58 kB / 404.8 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.849e-05/0.4495, allocations: 8.797 kB / 404.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.4495, allocations: 4.062 kB / 404.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.4496, allocations: 34.56 kB / 404.9 MB, free: 6.727 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 2.34e-06/0.4496, allocations: 0 / 404.9 MB, free: 6.727 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001393/0.4498, allocations: 41.62 kB / 404.9 MB, free: 6.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.4498, allocations: 55.41 kB / 405 MB, free: 6.613 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.044e-05/0.4499, allocations: 85 kB / 405.1 MB, free: 6.523 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.4499, allocations: 25.7 kB / 405.1 MB, free: 6.492 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.263e-05/0.45, allocations: 162.5 kB / 405.2 MB, free: 6.332 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.364e-06/0.4501, allocations: 0 / 405.2 MB, free: 6.332 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-06/0.4501, allocations: 0 / 405.2 MB, free: 6.332 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4502, allocations: 322.9 kB / 405.6 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.4503, allocations: 4 kB / 405.6 MB, free: 6.004 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.497e-05/0.4503, allocations: 18.58 kB / 405.6 MB, free: 5.977 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.548e-05/0.4503, allocations: 4 kB / 405.6 MB, free: 5.973 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.591e-06/0.4504, allocations: 4 kB / 405.6 MB, free: 5.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001082/0.4505, allocations: 57.47 kB / 405.6 MB, free: 5.906 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4505, allocations: 4 kB / 405.6 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.4505, allocations: 0 / 405.6 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4506, allocations: 4 kB / 405.6 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.907e-05/0.4506, allocations: 8 kB / 405.7 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.4506, allocations: 0 / 405.7 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.312e-05/0.4507, allocations: 0 / 405.7 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.4507, allocations: 4 kB / 405.7 MB, free: 5.887 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 2 * 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.676e-05/0.4508, allocations: 112.9 kB / 405.8 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.4508, allocations: 4.094 kB / 405.8 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.451, allocations: 40.81 kB / 405.8 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.112e-06/0.451, allocations: 0 / 405.8 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.451, allocations: 0 / 405.8 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.304e-06/0.451, allocations: 0 / 405.8 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.4512, allocations: 157.6 kB / 406 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.645e-06/0.4512, allocations: 0 / 406 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.339e-06/0.4512, allocations: 0 / 406 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.586e-06/0.4513, allocations: 4 kB / 406 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.465e-06/0.4513, allocations: 4.031 kB / 406 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.406e-06/0.4513, allocations: 0 / 406 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.611e-06/0.4513, allocations: 3.938 kB / 406 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.4514, allocations: 135.4 kB / 406.1 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.4515, allocations: 77.11 kB / 406.2 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.4515, allocations: 0 / 406.2 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.336e-05/0.4516, allocations: 0 / 406.2 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.4516, allocations: 8.031 kB / 406.2 MB, free: 5.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.453e-06/0.4516, allocations: 0 / 406.2 MB, free: 5.258 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.801e-05/0.4517, allocations: 79.28 kB / 406.3 MB, free: 5.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.4517, allocations: 0 / 406.3 MB, free: 5.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003944/0.4521, allocations: 55.92 kB / 406.3 MB, free: 5.125 MB / 330.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.0003622/0.4525, allocations: 143.2 kB / 406.5 MB, free: 4.977 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.4526, allocations: 41.91 kB / 406.5 MB, free: 4.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.795e-06/0.4527, allocations: 4.062 kB / 406.5 MB, free: 4.926 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.187e-05/0.4527, allocations: 33.64 kB / 406.5 MB, free: 4.887 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.4529, allocations: 3.953 kB / 406.5 MB, free: 4.883 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002176/0.4531, allocations: 78.64 kB / 406.6 MB, free: 4.777 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.4535, allocations: 0.677 MB / 407.3 MB, free: 4.074 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.594e-05/0.4535, allocations: 7.438 kB / 407.3 MB, free: 4.066 MB / 330.7 MB Notification: Performance of SimCode: time 1.538e-06/0.4535, allocations: 0 / 407.3 MB, free: 4.066 MB / 330.7 MB Notification: Performance of Templates: time 0.002966/0.4565, allocations: 0.9909 MB / 408.3 MB, free: 3.074 MB / 330.7 MB