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.817/1.817, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.829e-05/2.856e-05, allocations: 2.438 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08236/0.08241, allocations: 44.5 MB / 299.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5358/0.6182, allocations: 187.7 MB / 487.5 MB, free: 12.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.6185, allocations: 73.2 kB / 487.6 MB, free: 12.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07976/0.6983, allocations: 22.66 MB / 0.4983 GB, free: 9.258 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.811e-06/0.6983, allocations: 0 / 0.4983 GB, free: 9.258 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.6984, allocations: 4 kB / 0.4983 GB, free: 9.254 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.0005916/0.699, allocations: 433.8 kB / 0.4987 GB, free: 8.793 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.699, allocations: 8.031 kB / 0.4987 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003966/0.6994, allocations: 35.86 kB / 0.4987 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.6997, allocations: 186.5 kB / 0.4989 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.6997, allocations: 7.812 kB / 0.4989 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.6997, allocations: 4 kB / 0.4989 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.7, allocations: 135.4 kB / 0.4991 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.7001, allocations: 7.953 kB / 0.4991 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.7001, allocations: 3.938 kB / 0.4991 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.199e-06/0.7001, allocations: 4 kB / 0.4991 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.7003, allocations: 110.1 kB / 0.4992 GB, free: 8.312 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008623/0.7012, allocations: 0.6293 MB / 0.4998 GB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.7014, allocations: 77.27 kB / 0.4999 GB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.445e-05/0.7015, allocations: 36.22 kB / 0.4999 GB, free: 7.582 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008412/0.7024, allocations: 0.8072 MB / 0.5007 GB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.7024, allocations: 34.25 kB / 0.5007 GB, free: 6.559 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 2.768e-06/0.7024, allocations: 4 kB / 0.5007 GB, free: 6.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002963/0.7027, allocations: 100.8 kB / 0.5008 GB, free: 6.465 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.7028, allocations: 55.41 kB / 0.5009 GB, free: 6.398 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.7029, allocations: 104.9 kB / 0.501 GB, free: 6.289 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.703, allocations: 29.45 kB / 0.501 GB, free: 6.258 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.7031, allocations: 169.9 kB / 0.5012 GB, free: 6.094 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.7031, allocations: 43.36 kB / 0.5012 GB, free: 6.055 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.7032, allocations: 3.688 kB / 0.5012 GB, free: 6.055 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.7033, allocations: 322.7 kB / 0.5015 GB, free: 5.734 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.897e-05/0.7034, allocations: 23.69 kB / 0.5015 GB, free: 5.715 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.7035, allocations: 72.52 kB / 0.5016 GB, free: 5.637 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.333e-05/0.7036, allocations: 39.25 kB / 0.5016 GB, free: 5.605 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.006e-06/0.7037, allocations: 4 kB / 0.5017 GB, free: 5.602 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002967/0.704, allocations: 135.6 kB / 0.5018 GB, free: 5.484 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.704, allocations: 4 kB / 0.5018 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.704, allocations: 4 kB / 0.5018 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.704, allocations: 0 / 0.5018 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.7042, allocations: 35.98 kB / 0.5018 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.7042, allocations: 160 / 0.5018 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.138e-05/0.7043, allocations: 19.62 kB / 0.5018 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.7044, allocations: 8 kB / 0.5019 GB, free: 5.418 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.0001/0.7045, allocations: 112.8 kB / 0.502 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.7045, allocations: 11.89 kB / 0.502 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000408/0.705, allocations: 148.2 kB / 0.5021 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.862e-06/0.705, allocations: 4 kB / 0.5021 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.075e-06/0.705, allocations: 0 / 0.5021 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.705, allocations: 0 / 0.5021 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006237/0.7056, allocations: 396.2 kB / 0.5025 GB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.777e-06/0.7057, allocations: 0 / 0.5025 GB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.7058, allocations: 27.92 kB / 0.5025 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.36e-06/0.7058, allocations: 0 / 0.5025 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.7058, allocations: 3.875 kB / 0.5025 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.7058, allocations: 0 / 0.5025 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.282e-06/0.7059, allocations: 8 kB / 0.5025 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.7061, allocations: 200.5 kB / 0.5027 GB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.7063, allocations: 102.2 kB / 0.5028 GB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.7063, allocations: 2.5 kB / 0.5028 GB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.7064, allocations: 2.562 kB / 0.5028 GB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.7065, allocations: 11.98 kB / 0.5028 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.7065, allocations: 7.984 kB / 0.5028 GB, free: 4.387 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.224e-05/0.7066, allocations: 100.1 kB / 0.5029 GB, free: 4.293 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.95e-07/0.7066, allocations: 0 / 0.5029 GB, free: 4.293 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004804/0.7071, allocations: 65.42 kB / 0.503 GB, free: 4.234 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.0003469/0.7075, allocations: 165.8 kB / 0.5032 GB, free: 4.066 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.7077, allocations: 71.62 kB / 0.5032 GB, free: 4.012 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.038e-06/0.7077, allocations: 3.938 kB / 0.5032 GB, free: 4.008 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.756e-05/0.7078, allocations: 36.11 kB / 0.5033 GB, free: 3.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.7082, allocations: 55.05 kB / 0.5033 GB, free: 3.938 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.7086, allocations: 139 kB / 0.5035 GB, free: 3.785 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.709, allocations: 0.7008 MB / 0.5041 GB, free: 3.059 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.608e-05/0.7091, allocations: 21.73 kB / 0.5042 GB, free: 3.039 MB / 394.7 MB Notification: Performance of SimCode: time 1.386e-06/0.7091, allocations: 0 / 0.5042 GB, free: 3.039 MB / 394.7 MB Notification: Performance of Templates: time 0.005554/0.7147, allocations: 2.247 MB / 0.5064 GB, free: 0.8086 MB / 394.7 MB