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_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadModel(ModelicaTest): time 2.323/2.323, allocations: 269 MB / 284.1 MB, free: 3.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.602e-05/3.609e-05, allocations: 8 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1332, allocations: 61.89 MB / 410.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0006741/0.1339, allocations: 244.6 kB / 411.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004304/0.1344, allocations: 135.6 kB / 411.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.82e-05/0.1344, allocations: 0 / 411.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.1344, allocations: 0 / 411.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.1346, allocations: 23.84 kB / 411.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.906e-06/0.1347, allocations: 0 / 411.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.113e-05/0.1347, allocations: 11.97 kB / 411.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.1348, allocations: 4 kB / 411.3 MB, free: 12.47 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.859e-05/0.1348, allocations: 3.938 kB / 411.3 MB, free: 12.47 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.1349, allocations: 15.98 kB / 411.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.135, allocations: 51.94 kB / 411.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.135, allocations: 4 kB / 411.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.1351, allocations: 3.984 kB / 411.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.124e-06/0.1351, allocations: 0 / 411.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.1352, allocations: 27.97 kB / 411.4 MB, free: 12.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1352, allocations: 3.938 kB / 411.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1352, allocations: 0 / 411.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.1352, allocations: 0 / 411.4 MB, free: 12.36 MB / 346.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.0002893/0.1355, allocations: 335.3 kB / 411.8 MB, free: 11.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1356, allocations: 12.03 kB / 411.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.1356, allocations: 4 kB / 411.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.1358, allocations: 167.3 kB / 411.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.1358, allocations: 15.92 kB / 412 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.1358, allocations: 0 / 412 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.136, allocations: 61.58 kB / 412 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.136, allocations: 0 / 412 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1361, allocations: 4 kB / 412 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1361, allocations: 0 / 412 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.1362, allocations: 55.95 kB / 412.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.1364, allocations: 177.5 kB / 412.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.1366, allocations: 82.58 kB / 412.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004366/0.1371, allocations: 255.3 kB / 412.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.1371, allocations: 30.56 kB / 412.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.1372, allocations: 0 / 412.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002993/0.1375, allocations: 109.8 kB / 412.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.1375, allocations: 51.41 kB / 412.8 MB, free: 10.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.807e-05/0.1376, allocations: 93 kB / 412.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1376, allocations: 25.7 kB / 412.9 MB, free: 10.67 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.1377, allocations: 150.6 kB / 413 MB, free: 10.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.1377, allocations: 35.45 kB / 413.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-06/0.1378, allocations: 0 / 413.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1379, allocations: 315 kB / 413.4 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.761e-05/0.138, allocations: 23.98 kB / 413.4 MB, free: 10.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.981e-05/0.138, allocations: 16.36 kB / 413.4 MB, free: 10.13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.02e-05/0.1381, allocations: 28.06 kB / 413.4 MB, free: 10.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1381, allocations: 0 / 413.4 MB, free: 10.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001869/0.1383, allocations: 77.69 kB / 413.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1384, allocations: 8 kB / 413.5 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1384, allocations: 0 / 413.5 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.1384, allocations: 3.953 kB / 413.5 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.1386, allocations: 23.86 kB / 413.6 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.1386, allocations: 0 / 413.6 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/0.1387, allocations: 12 kB / 413.6 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.1387, allocations: 0 / 413.6 MB, free: 9.973 MB / 346.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 8.749e-05/0.1388, allocations: 113.8 kB / 413.7 MB, free: 9.852 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.1388, allocations: 3.906 kB / 413.7 MB, free: 9.848 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.1391, allocations: 101.5 kB / 413.8 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.1391, allocations: 7.938 kB / 413.8 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1391, allocations: 0 / 413.8 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1391, allocations: 0 / 413.8 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.1393, allocations: 173.7 kB / 414 MB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1393, allocations: 0 / 414 MB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.1395, allocations: 19.98 kB / 414 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1395, allocations: 4 kB / 414 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.1395, allocations: 0 / 414 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1395, allocations: 3.938 kB / 414 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.1395, allocations: 7.953 kB / 414 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.1397, allocations: 117.1 kB / 414.1 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.1398, allocations: 81.11 kB / 414.2 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.1398, allocations: 0 / 414.2 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.908e-05/0.1399, allocations: 7.938 kB / 414.2 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.1399, allocations: 0 / 414.2 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.1399, allocations: 15.94 kB / 414.2 MB, free: 9.223 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.881e-05/0.14, allocations: 75.28 kB / 414.3 MB, free: 9.148 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.14, allocations: 0 / 414.3 MB, free: 9.148 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000256/0.1403, allocations: 12 kB / 414.3 MB, free: 9.137 MB / 346.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.0001905/0.1405, allocations: 117.8 kB / 414.4 MB, free: 9.016 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.1407, allocations: 55.91 kB / 414.5 MB, free: 8.961 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1407, allocations: 0 / 414.5 MB, free: 8.961 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.804e-05/0.1408, allocations: 27.94 kB / 414.5 MB, free: 8.934 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.1409, allocations: 4 kB / 414.5 MB, free: 8.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.1414, allocations: 180.2 kB / 414.7 MB, free: 8.719 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.1417, allocations: 0.6887 MB / 415.4 MB, free: 8.004 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.1417, allocations: 15.44 kB / 415.4 MB, free: 7.988 MB / 346.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1418, allocations: 0 / 415.4 MB, free: 7.988 MB / 346.7 MB Notification: Performance of Templates: time 0.003088/0.1448, allocations: 0.8223 MB / 416.2 MB, free: 7.168 MB / 346.7 MB