Running command: translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadModel(Modelica): time 1.855/1.855, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.002e-05/3.01e-05, allocations: 2.469 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07704/0.07709, allocations: 44.5 MB / 299.9 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4913/0.5684, allocations: 187.7 MB / 487.5 MB, free: 12.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.5687, allocations: 69.78 kB / 487.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08081/0.6495, allocations: 22.66 MB / 0.4983 GB, free: 9.207 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.361e-06/0.6495, allocations: 0 / 0.4983 GB, free: 9.207 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.6496, allocations: 4 kB / 0.4983 GB, free: 9.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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006239/0.6502, allocations: 436.9 kB / 0.4987 GB, free: 8.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.6503, allocations: 12.03 kB / 0.4987 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003992/0.6507, allocations: 24.19 kB / 0.4988 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.6509, allocations: 202.2 kB / 0.499 GB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.651, allocations: 0 / 0.499 GB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.651, allocations: 11.81 kB / 0.499 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.6513, allocations: 126.6 kB / 0.4991 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.6513, allocations: 0 / 0.4991 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.6514, allocations: 19.69 kB / 0.4991 GB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.846e-06/0.6514, allocations: 0 / 0.4991 GB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.6516, allocations: 106.6 kB / 0.4992 GB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008907/0.6525, allocations: 0.6219 MB / 0.4998 GB, free: 7.637 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.6527, allocations: 85.12 kB / 0.4999 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.714e-05/0.6528, allocations: 36.17 kB / 0.4999 GB, free: 7.535 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008601/0.6537, allocations: 0.8071 MB / 0.5007 GB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.6537, allocations: 30.56 kB / 0.5008 GB, free: 6.512 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 2.622e-06/0.6538, allocations: 0 / 0.5008 GB, free: 6.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003107/0.6541, allocations: 96.61 kB / 0.5008 GB, free: 6.426 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.6541, allocations: 63.59 kB / 0.5009 GB, free: 6.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.6543, allocations: 112.5 kB / 0.501 GB, free: 6.238 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.6543, allocations: 25.7 kB / 0.501 GB, free: 6.207 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.6544, allocations: 170 kB / 0.5012 GB, free: 6.043 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.6545, allocations: 46.8 kB / 0.5012 GB, free: 6.004 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-06/0.6545, allocations: 0 / 0.5012 GB, free: 6.004 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.6547, allocations: 318.5 kB / 0.5015 GB, free: 5.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.944e-05/0.6548, allocations: 27.44 kB / 0.5016 GB, free: 5.668 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.6549, allocations: 68.64 kB / 0.5016 GB, free: 5.594 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.969e-05/0.655, allocations: 31.48 kB / 0.5017 GB, free: 5.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.655, allocations: 3.953 kB / 0.5017 GB, free: 5.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003135/0.6553, allocations: 135.9 kB / 0.5018 GB, free: 5.445 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.6554, allocations: 4 kB / 0.5018 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.6554, allocations: 4 kB / 0.5018 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.6554, allocations: 7.984 kB / 0.5018 GB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.6556, allocations: 31.92 kB / 0.5018 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.6556, allocations: 4 kB / 0.5019 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.6557, allocations: 15.53 kB / 0.5019 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.6558, allocations: 11.98 kB / 0.5019 GB, free: 5.371 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001033/0.6559, allocations: 112.8 kB / 0.502 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.6559, allocations: 11.86 kB / 0.502 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.6564, allocations: 136.9 kB / 0.5021 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.638e-06/0.6564, allocations: 4 kB / 0.5021 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.714e-06/0.6564, allocations: 0 / 0.5021 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.213e-06/0.6564, allocations: 0 / 0.5021 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006532/0.6571, allocations: 407.8 kB / 0.5025 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.545e-06/0.6571, allocations: 0 / 0.5025 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.6572, allocations: 19.98 kB / 0.5025 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.095e-06/0.6573, allocations: 0 / 0.5025 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.6573, allocations: 7.688 kB / 0.5025 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.338e-06/0.6573, allocations: 0 / 0.5025 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.027e-06/0.6573, allocations: 0 / 0.5025 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.6576, allocations: 206.4 kB / 0.5027 GB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.6577, allocations: 96.62 kB / 0.5028 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.6578, allocations: 15.86 kB / 0.5029 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.6579, allocations: 0 / 0.5029 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.6579, allocations: 7.984 kB / 0.5029 GB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.658, allocations: 4 kB / 0.5029 GB, free: 4.348 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.076e-05/0.6581, allocations: 91.84 kB / 0.5029 GB, free: 4.262 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.14e-07/0.6581, allocations: 4 kB / 0.503 GB, free: 4.258 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004815/0.6586, allocations: 63.98 kB / 0.503 GB, free: 4.203 MB / 394.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 (13): * Single equations (assignments): 13 * 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.0003368/0.6589, allocations: 165.6 kB / 0.5032 GB, free: 4.035 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.6592, allocations: 74.92 kB / 0.5032 GB, free: 3.977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.358e-06/0.6592, allocations: 8 kB / 0.5033 GB, free: 3.969 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.957e-05/0.6593, allocations: 35.94 kB / 0.5033 GB, free: 3.941 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.6597, allocations: 39.09 kB / 0.5033 GB, free: 3.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.66, allocations: 137.4 kB / 0.5035 GB, free: 3.758 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.6605, allocations: 0.7009 MB / 0.5041 GB, free: 3.031 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.728e-05/0.6606, allocations: 22.05 kB / 0.5042 GB, free: 3.012 MB / 394.7 MB Notification: Performance of SimCode: time 1.64e-06/0.6606, allocations: 3.938 kB / 0.5042 GB, free: 3.008 MB / 394.7 MB Notification: Performance of Templates: time 0.005374/0.666, allocations: 2.254 MB / 0.5064 GB, free: 0.7773 MB / 394.7 MB