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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadModel(ModelicaTest): time 2.472/2.472, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.591e-05/3.6e-05, allocations: 1.828 kB / 348.4 MB, free: 10.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 61.88 MB / 410.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4343/0.5451, allocations: 85.05 MB / 495.3 MB, free: 3.176 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.5454, allocations: 75.94 kB / 495.4 MB, free: 3.102 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003604/0.549, allocations: 0.9043 MB / 496.3 MB, free: 2.203 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5491, allocations: 0 / 496.3 MB, free: 2.203 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.5491, allocations: 0 / 496.3 MB, free: 2.203 MB / 394.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.0003175/0.5494, allocations: 330.4 kB / 496.6 MB, free: 1.836 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.5495, allocations: 8.031 kB / 496.6 MB, free: 1.828 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.5495, allocations: 8 kB / 496.6 MB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.5497, allocations: 163 kB / 496.8 MB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.5497, allocations: 8 kB / 496.8 MB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.5497, allocations: 0 / 496.8 MB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.5499, allocations: 65.56 kB / 496.9 MB, free: 1.543 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.05e-06/0.5499, allocations: 0 / 496.9 MB, free: 1.543 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.5499, allocations: 0 / 496.9 MB, free: 1.543 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.282e-06/0.5499, allocations: 0 / 496.9 MB, free: 1.543 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.5501, allocations: 47.97 kB / 496.9 MB, free: 1.496 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002252/0.5503, allocations: 177.6 kB / 497.1 MB, free: 1.273 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.5505, allocations: 70.61 kB / 497.1 MB, free: 1.195 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.79e-05/0.5505, allocations: 28.86 kB / 497.2 MB, free: 1.164 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003595/0.5509, allocations: 255.2 kB / 497.4 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.551, allocations: 42.3 kB / 497.5 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.245e-06/0.551, allocations: 0 / 497.5 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002264/0.5512, allocations: 85.8 kB / 497.5 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.5513, allocations: 51.41 kB / 497.6 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.234e-05/0.5514, allocations: 85 kB / 497.7 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.5514, allocations: 33.7 kB / 497.7 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.5515, allocations: 80.14 kB / 497.8 MB, free: 460 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.5515, allocations: 31.55 kB / 497.8 MB, free: 428 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-06/0.5515, allocations: 0 / 497.8 MB, free: 428 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5517, allocations: 315 kB / 498.1 MB, free: 104 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.746e-05/0.5518, allocations: 20 kB / 498.1 MB, free: 84 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.869e-05/0.5518, allocations: 12 kB / 498.2 MB, free: 72 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.629e-05/0.5519, allocations: 19.98 kB / 498.2 MB, free: 52 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.289e-06/0.5519, allocations: 0 / 498.2 MB, free: 52 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001999/0.5521, allocations: 81.53 kB / 498.3 MB, free: 15.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.5521, allocations: 8 kB / 498.3 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.799e-06/0.5522, allocations: 3.953 kB / 498.3 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.5522, allocations: 4.359 kB / 498.3 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.5523, allocations: 15.94 kB / 498.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.114e-06/0.5523, allocations: 0 / 498.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.141e-05/0.5524, allocations: 8 kB / 498.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.5524, allocations: 7.938 kB / 498.3 MB, free: 15.92 MB / 410.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.675e-05/0.5525, allocations: 105 kB / 498.4 MB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.5525, allocations: 3.906 kB / 498.4 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.5528, allocations: 106.4 kB / 498.5 MB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.126e-06/0.5528, allocations: 3.953 kB / 498.5 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.673e-06/0.5528, allocations: 224 / 498.5 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.902e-06/0.5528, allocations: 4 kB / 498.5 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.553, allocations: 177.5 kB / 498.7 MB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.231e-06/0.553, allocations: 0 / 498.7 MB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.5532, allocations: 15.98 kB / 498.7 MB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.704e-06/0.5532, allocations: 4 kB / 498.7 MB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.711e-06/0.5532, allocations: 0 / 498.7 MB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.4e-06/0.5532, allocations: 0 / 498.7 MB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.686e-06/0.5532, allocations: 3.953 kB / 498.7 MB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.5534, allocations: 117 kB / 498.8 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.5535, allocations: 81.11 kB / 498.9 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.5535, allocations: 4 kB / 498.9 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.723e-05/0.5536, allocations: 4 kB / 498.9 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.5536, allocations: 11.94 kB / 498.9 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.478e-06/0.5537, allocations: 0 / 498.9 MB, free: 15.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.445e-05/0.5537, allocations: 75.28 kB / 499 MB, free: 15.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.38e-07/0.5537, allocations: 0 / 499 MB, free: 15.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002736/0.554, allocations: 19.94 kB / 499 MB, free: 15.09 MB / 410.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.0001784/0.5542, allocations: 119.3 kB / 499.1 MB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.5544, allocations: 52.12 kB / 499.2 MB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.953e-06/0.5544, allocations: 0 / 499.2 MB, free: 14.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.456e-05/0.5545, allocations: 32.12 kB / 499.2 MB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.5546, allocations: 0.5469 kB / 499.2 MB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.5549, allocations: 99.67 kB / 499.3 MB, free: 14.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.5553, allocations: 0.6926 MB / 0.4883 GB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.885e-05/0.5553, allocations: 11.78 kB / 0.4883 GB, free: 14.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.5554, allocations: 11.44 kB / 0.4883 GB, free: 14.02 MB / 410.7 MB Notification: Performance of SimCode: time 3.977e-06/0.5554, allocations: 0 / 0.4883 GB, free: 14.02 MB / 410.7 MB Notification: Performance of Templates: time 0.003228/0.5586, allocations: 0.6195 MB / 0.4889 GB, free: 13.4 MB / 410.7 MB