Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadModel(ModelicaTest): time 2.308/2.308, allocations: 269 MB / 284.1 MB, free: 3.559 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.511e-05/3.482e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1334, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.000671/0.1341, allocations: 204.7 kB / 411.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.1364, allocations: 1.278 MB / 412.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.1365, allocations: 0 / 412.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.398e-05/0.1365, allocations: 0 / 412.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.085e-05/0.1366, allocations: 3.938 kB / 412.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006788/0.1373, allocations: 131.7 kB / 412.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.755e-05/0.1373, allocations: 11.91 kB / 412.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.1374, allocations: 0 / 412.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.027e-05/0.1374, allocations: 4 kB / 412.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.548e-05/0.1374, allocations: 3.938 kB / 412.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005716/0.138, allocations: 259.7 kB / 412.8 MB, free: 10.97 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.325e-05/0.1381, allocations: 16 kB / 412.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.937e-06/0.1381, allocations: 0 / 412.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.33e-05/0.1381, allocations: 0 / 412.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.1384, allocations: 83.81 kB / 412.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1384, allocations: 0 / 412.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1384, allocations: 0 / 412.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.1384, allocations: 0 / 412.9 MB, free: 10.88 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004139/0.1388, allocations: 335.3 kB / 413.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1389, allocations: 16.03 kB / 413.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.1389, allocations: 0 / 413.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.1391, allocations: 159.1 kB / 413.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1391, allocations: 3.938 kB / 413.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.1391, allocations: 4 kB / 413.4 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.1392, allocations: 33.64 kB / 413.4 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1393, allocations: 0 / 413.4 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1393, allocations: 4 kB / 413.4 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1393, allocations: 0 / 413.4 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.739e-05/0.1393, allocations: 8 kB / 413.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.1395, allocations: 145.7 kB / 413.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.555e-05/0.1396, allocations: 22.45 kB / 413.6 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.1396, allocations: 3.984 kB / 413.6 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.1396, allocations: 38.62 kB / 413.7 MB, free: 9.957 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 3.997e-06/0.1397, allocations: 3.984 kB / 413.7 MB, free: 9.953 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001465/0.1398, allocations: 33.75 kB / 413.7 MB, free: 9.914 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.1399, allocations: 55.44 kB / 413.7 MB, free: 9.848 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.877e-05/0.1399, allocations: 89 kB / 413.8 MB, free: 9.754 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.14, allocations: 25.7 kB / 413.9 MB, free: 9.723 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.1401, allocations: 158.5 kB / 414 MB, free: 9.566 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.1401, allocations: 4 kB / 414 MB, free: 9.562 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.1401, allocations: 0 / 414 MB, free: 9.562 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1402, allocations: 318.8 kB / 414.3 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.1403, allocations: 8.062 kB / 414.3 MB, free: 9.234 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.829e-06/0.1403, allocations: 0 / 414.3 MB, free: 9.234 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.073e-05/0.1403, allocations: 4 kB / 414.3 MB, free: 9.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1403, allocations: 0 / 414.3 MB, free: 9.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.193e-05/0.1404, allocations: 29.7 kB / 414.4 MB, free: 9.195 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1404, allocations: 8 kB / 414.4 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1404, allocations: 0 / 414.4 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1405, allocations: 3.953 kB / 414.4 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.232e-05/0.1406, allocations: 3.984 kB / 414.4 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1406, allocations: 4.094 kB / 414.4 MB, free: 9.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.786e-05/0.1406, allocations: 4 kB / 414.4 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1406, allocations: 0 / 414.4 MB, free: 9.172 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 (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.434e-05/0.1407, allocations: 109.8 kB / 414.5 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.1407, allocations: 3.906 kB / 414.5 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.1409, allocations: 52.7 kB / 414.6 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1409, allocations: 4.031 kB / 414.6 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1409, allocations: 3.953 kB / 414.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1409, allocations: 0 / 414.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.1411, allocations: 149.7 kB / 414.7 MB, free: 8.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.1411, allocations: 8 kB / 414.7 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-06/0.1411, allocations: 0 / 414.7 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1411, allocations: 0 / 414.7 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.1411, allocations: 0 / 414.7 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1411, allocations: 0 / 414.7 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1412, allocations: 0 / 414.7 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.1413, allocations: 69.03 kB / 414.8 MB, free: 8.695 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.1413, allocations: 85.09 kB / 414.9 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.1413, allocations: 0 / 414.9 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.534e-05/0.1414, allocations: 0 / 414.9 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.1415, allocations: 4 kB / 414.9 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1415, allocations: 3.938 kB / 414.9 MB, free: 8.586 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.773e-05/0.1415, allocations: 79.23 kB / 415 MB, free: 8.508 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1416, allocations: 8.062 kB / 415 MB, free: 8.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003454/0.1419, allocations: 43.98 kB / 415 MB, free: 8.457 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 (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.0003698/0.1423, allocations: 138 kB / 415.1 MB, free: 8.312 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.277e-05/0.1424, allocations: 4 kB / 415.1 MB, free: 8.309 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1424, allocations: 0 / 415.1 MB, free: 8.309 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.569e-05/0.1425, allocations: 33.69 kB / 415.2 MB, free: 8.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.1426, allocations: 0 / 415.2 MB, free: 8.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.1429, allocations: 116.5 kB / 415.3 MB, free: 8.121 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.1432, allocations: 0.677 MB / 416 MB, free: 7.418 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.406e-05/0.1432, allocations: 11.44 kB / 416 MB, free: 7.406 MB / 346.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1433, allocations: 0 / 416 MB, free: 7.406 MB / 346.7 MB Notification: Performance of Templates: time 0.003553/0.1468, allocations: 0.9912 MB / 417 MB, free: 6.414 MB / 346.7 MB