Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadModel(ModelicaTest): time 2.478/2.478, allocations: 269 MB / 284.1 MB, free: 3.562 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.352e-05/3.357e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1481, allocations: 61.9 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0006289/0.1488, allocations: 212.6 kB / 411.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.151, allocations: 1.27 MB / 412.4 MB, free: 11.37 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.151, allocations: 0 / 412.4 MB, free: 11.37 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.1511, allocations: 0 / 412.4 MB, free: 11.37 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.7e-05/0.1511, allocations: 0 / 412.4 MB, free: 11.37 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006891/0.1518, allocations: 139.6 kB / 412.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.318e-05/0.1518, allocations: 3.984 kB / 412.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.1519, allocations: 4 kB / 412.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.103e-05/0.1519, allocations: 7.938 kB / 412.5 MB, free: 11.22 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.274e-05/0.152, allocations: 0 / 412.5 MB, free: 11.22 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00057/0.1526, allocations: 251.6 kB / 412.8 MB, free: 10.97 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.968e-05/0.1527, allocations: 20 kB / 412.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.1527, allocations: 7.984 kB / 412.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.282e-05/0.1527, allocations: 0 / 412.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.1529, allocations: 83.81 kB / 412.9 MB, free: 10.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1529, allocations: 0 / 412.9 MB, free: 10.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1529, allocations: 0 / 412.9 MB, free: 10.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.153, allocations: 4 kB / 412.9 MB, free: 10.86 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004171/0.1534, allocations: 335.3 kB / 413.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.1534, allocations: 12.03 kB / 413.2 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.1535, allocations: 3.984 kB / 413.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.1536, allocations: 159.1 kB / 413.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1536, allocations: 0 / 413.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.1537, allocations: 0 / 413.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1538, allocations: 45.64 kB / 413.5 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1538, allocations: 0 / 413.5 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.1539, allocations: 4 kB / 413.5 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1539, allocations: 3.938 kB / 413.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.164e-05/0.1539, allocations: 4 kB / 413.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.1544, allocations: 244.9 kB / 413.7 MB, free: 9.922 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.399e-05/0.1544, allocations: 22.52 kB / 413.7 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.1544, allocations: 0 / 413.7 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1545, allocations: 34.56 kB / 413.8 MB, free: 9.848 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.342e-06/0.1545, allocations: 0 / 413.8 MB, free: 9.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001712/0.1547, allocations: 45.69 kB / 413.8 MB, free: 9.797 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.1547, allocations: 51.41 kB / 413.9 MB, free: 9.734 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.674e-05/0.1548, allocations: 85 kB / 413.9 MB, free: 9.645 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.1548, allocations: 29.7 kB / 414 MB, free: 9.609 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.103e-05/0.1549, allocations: 154.8 kB / 414.1 MB, free: 9.457 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.1549, allocations: 8.094 kB / 414.1 MB, free: 9.449 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.155, allocations: 11.94 kB / 414.1 MB, free: 9.438 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1551, allocations: 310.8 kB / 414.4 MB, free: 9.125 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.1551, allocations: 7.984 kB / 414.4 MB, free: 9.117 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.282e-05/0.1552, allocations: 14.58 kB / 414.5 MB, free: 9.094 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.684e-05/0.1552, allocations: 11.94 kB / 414.5 MB, free: 9.082 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1552, allocations: 0 / 414.5 MB, free: 9.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000101/0.1553, allocations: 57.58 kB / 414.5 MB, free: 9.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1554, allocations: 4 kB / 414.5 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1554, allocations: 0 / 414.5 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1554, allocations: 0 / 414.5 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.776e-05/0.1555, allocations: 8 kB / 414.5 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1555, allocations: 0 / 414.5 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.1555, allocations: 0 / 414.5 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.1555, allocations: 8 kB / 414.5 MB, free: 9 MB / 346.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): 3 * 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.203e-05/0.1556, allocations: 113.9 kB / 414.7 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.1557, allocations: 3.953 kB / 414.7 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.1558, allocations: 52.72 kB / 414.7 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1558, allocations: 0 / 414.7 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1559, allocations: 4 kB / 414.7 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1559, allocations: 0 / 414.7 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.156, allocations: 145.7 kB / 414.9 MB, free: 8.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.1561, allocations: 4 kB / 414.9 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/0.1561, allocations: 4.125 kB / 414.9 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.1561, allocations: 7.938 kB / 414.9 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.1561, allocations: 0 / 414.9 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1561, allocations: 0 / 414.9 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1561, allocations: 0 / 414.9 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.1562, allocations: 131.5 kB / 415 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.1563, allocations: 77.11 kB / 415.1 MB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.1563, allocations: 7.984 kB / 415.1 MB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.148e-05/0.1564, allocations: 4 kB / 415.1 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.1564, allocations: 3.938 kB / 415.1 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.1565, allocations: 7.922 kB / 415.1 MB, free: 8.344 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.887e-05/0.1565, allocations: 79.28 kB / 415.2 MB, free: 8.266 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1565, allocations: 0 / 415.2 MB, free: 8.266 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003905/0.1569, allocations: 36 kB / 415.2 MB, free: 8.23 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.0004272/0.1574, allocations: 153.6 kB / 415.4 MB, free: 8.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.62e-05/0.1574, allocations: 8.094 kB / 415.4 MB, free: 8.062 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1575, allocations: 0 / 415.4 MB, free: 8.062 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.484e-05/0.1575, allocations: 33.64 kB / 415.4 MB, free: 8.023 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.1577, allocations: 7.938 kB / 415.4 MB, free: 8.016 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/0.158, allocations: 108.7 kB / 415.5 MB, free: 7.875 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.1583, allocations: 0.6731 MB / 416.2 MB, free: 7.176 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.1584, allocations: 11.67 kB / 416.2 MB, free: 7.164 MB / 346.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1584, allocations: 4 kB / 416.2 MB, free: 7.16 MB / 346.7 MB Notification: Performance of Templates: time 0.003668/0.1621, allocations: 0.995 MB / 417.2 MB, free: 6.164 MB / 346.7 MB