Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadModel(ModelicaTest): time 1.918/1.918, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.788e-05/4.827e-05, allocations: 0 / 273.1 MB, free: 3.672 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 48.7 MB / 321.7 MB, free: 2.883 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3441/0.4558, allocations: 72.8 MB / 394.6 MB, free: 6.969 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/0.4561, allocations: 65.39 kB / 394.6 MB, free: 6.965 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003421/0.4595, allocations: 0.8977 MB / 395.5 MB, free: 6.625 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4596, allocations: 0 / 395.5 MB, free: 6.625 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.35e-06/0.4596, allocations: 0 / 395.5 MB, free: 6.625 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002013/0.4598, allocations: 336.9 kB / 395.8 MB, free: 6.266 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.4599, allocations: 11.56 kB / 395.9 MB, free: 6.266 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.4599, allocations: 0 / 395.9 MB, free: 6.266 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.394e-05/0.46, allocations: 166.8 kB / 396 MB, free: 6.066 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.46, allocations: 7.953 kB / 396 MB, free: 6.059 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.46, allocations: 7.219 kB / 396 MB, free: 6.059 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.4602, allocations: 59.77 kB / 396.1 MB, free: 6.023 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.326e-06/0.4602, allocations: 0 / 396.1 MB, free: 6.023 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4602, allocations: 0 / 396.1 MB, free: 6.023 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.576e-06/0.4602, allocations: 0 / 396.1 MB, free: 6.023 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.628e-05/0.4603, allocations: 51.03 kB / 396.1 MB, free: 6.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.4605, allocations: 179.1 kB / 396.3 MB, free: 5.828 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.4606, allocations: 71.08 kB / 396.4 MB, free: 5.801 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.4607, allocations: 29.2 kB / 396.4 MB, free: 5.789 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/0.461, allocations: 253.1 kB / 396.7 MB, free: 5.508 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.461, allocations: 34.78 kB / 396.7 MB, free: 5.465 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 3.064e-06/0.461, allocations: 3.984 kB / 396.7 MB, free: 5.461 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002064/0.4612, allocations: 80.81 kB / 396.8 MB, free: 5.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.4613, allocations: 51.41 kB / 396.8 MB, free: 5.367 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.622e-05/0.4613, allocations: 89 kB / 396.9 MB, free: 5.273 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.4614, allocations: 29.39 kB / 396.9 MB, free: 5.242 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.112e-05/0.4614, allocations: 150.6 kB / 397.1 MB, free: 5.094 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.4614, allocations: 33.78 kB / 397.1 MB, free: 5.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-06/0.4615, allocations: 8.094 kB / 397.1 MB, free: 5.066 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.869e-05/0.4615, allocations: 314.2 kB / 397.4 MB, free: 4.754 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.982e-05/0.4616, allocations: 19 kB / 397.5 MB, free: 4.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.58e-05/0.4616, allocations: 19.47 kB / 397.5 MB, free: 4.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.963e-05/0.4617, allocations: 21.95 kB / 397.5 MB, free: 4.746 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.301e-06/0.4617, allocations: 0 / 397.5 MB, free: 4.746 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001414/0.4618, allocations: 85.16 kB / 397.6 MB, free: 4.703 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.4619, allocations: 7.531 kB / 397.6 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.188e-06/0.4619, allocations: 0 / 397.6 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.4619, allocations: 0 / 397.6 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.462, allocations: 13.86 kB / 397.6 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.4621, allocations: 5.781 kB / 397.6 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.17e-05/0.4621, allocations: 0 / 397.6 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.4621, allocations: 3.688 kB / 397.6 MB, free: 4.703 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 (10): * Single equations (assignments): 10 * 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 6.848e-05/0.4622, allocations: 108.8 kB / 397.7 MB, free: 4.594 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.4622, allocations: 11.58 kB / 397.7 MB, free: 4.586 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.4624, allocations: 97.41 kB / 397.8 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.684e-06/0.4625, allocations: 0 / 397.8 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4625, allocations: 0 / 397.8 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.4625, allocations: 0 / 397.8 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.4626, allocations: 179.9 kB / 398 MB, free: 4.352 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4626, allocations: 0.875 kB / 398 MB, free: 4.352 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.575e-05/0.4627, allocations: 19.47 kB / 398 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.191e-06/0.4627, allocations: 6.328 kB / 398 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.4627, allocations: 3.953 kB / 398 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.51e-06/0.4628, allocations: 0 / 398 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.652e-06/0.4628, allocations: 0 / 398 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.4629, allocations: 103.5 kB / 398.1 MB, free: 4.273 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.4631, allocations: 87.56 kB / 398.2 MB, free: 20.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.4632, allocations: 4.094 kB / 398.2 MB, free: 20.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.362e-05/0.4632, allocations: 7.953 kB / 398.2 MB, free: 20.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.4632, allocations: 6.281 kB / 398.2 MB, free: 20.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.129e-06/0.4633, allocations: 7.719 kB / 398.2 MB, free: 20.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.575e-05/0.4633, allocations: 75.28 kB / 398.3 MB, free: 20.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.2e-07/0.4633, allocations: 0 / 398.3 MB, free: 20.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002913/0.4636, allocations: 22.91 kB / 398.3 MB, free: 20.08 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 (10): * Single equations (assignments): 10 * 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.0001781/0.4638, allocations: 116.7 kB / 398.5 MB, free: 19.99 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.464, allocations: 49.75 kB / 398.5 MB, free: 19.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.343e-06/0.464, allocations: 3.938 kB / 398.5 MB, free: 19.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.38e-05/0.4641, allocations: 33.69 kB / 398.5 MB, free: 19.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/0.4642, allocations: 5.438 kB / 398.5 MB, free: 19.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.4645, allocations: 115.6 kB / 398.7 MB, free: 19.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.4649, allocations: 0.6865 MB / 399.3 MB, free: 19.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.4649, allocations: 18.84 kB / 399.4 MB, free: 19.17 MB / 330.7 MB Notification: Performance of SimCode: time 1.347e-06/0.4649, allocations: 0 / 399.4 MB, free: 19.17 MB / 330.7 MB Notification: Performance of Templates: time 0.002398/0.4673, allocations: 0.8233 MB / 400.2 MB, free: 19.1 MB / 330.7 MB