Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 1.923/1.923, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.56e-05/2.582e-05, allocations: 2.406 kB / 255.3 MB, free: 3.207 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07911/0.07916, allocations: 44.51 MB / 299.8 MB, free: 6.652 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7585/0.8377, allocations: 268.4 MB / 0.5549 GB, free: 110.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001914/0.8379, allocations: 61.36 kB / 0.555 GB, free: 110.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03085/0.8688, allocations: 9.312 MB / 0.5641 GB, free: 109.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.8688, allocations: 0 / 0.5641 GB, free: 109.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.8689, allocations: 3.75 kB / 0.5641 GB, free: 109.4 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009125/0.8698, allocations: 454.6 kB / 0.5645 GB, free: 109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.8699, allocations: 15.56 kB / 0.5645 GB, free: 109 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002555/0.8701, allocations: 19.44 kB / 0.5646 GB, free: 109 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.8704, allocations: 217.6 kB / 0.5648 GB, free: 108.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.8704, allocations: 7.656 kB / 0.5648 GB, free: 108.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.8705, allocations: 22.53 kB / 0.5648 GB, free: 108.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.8708, allocations: 196.8 kB / 0.565 GB, free: 108.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.8709, allocations: 3.938 kB / 0.565 GB, free: 108.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.8709, allocations: 11.5 kB / 0.565 GB, free: 108.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.563e-06/0.8709, allocations: 3.875 kB / 0.565 GB, free: 108.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.8712, allocations: 120.2 kB / 0.5651 GB, free: 108.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.8726, allocations: 0.9361 MB / 0.566 GB, free: 107.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.8729, allocations: 132.6 kB / 0.5662 GB, free: 107.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.8731, allocations: 46.64 kB / 0.5662 GB, free: 107.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005819/0.8737, allocations: 0.5073 MB / 0.5667 GB, free: 107.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.8737, allocations: 42.12 kB / 0.5667 GB, free: 107.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.326e-06/0.8737, allocations: 3.938 kB / 0.5667 GB, free: 107.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.00199/0.8757, allocations: 0.6264 MB / 0.5673 GB, free: 107 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.8758, allocations: 55.28 kB / 0.5674 GB, free: 106.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.8759, allocations: 147.1 kB / 0.5675 GB, free: 106.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.876, allocations: 31.89 kB / 0.5676 GB, free: 106.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.8761, allocations: 204.8 kB / 0.5678 GB, free: 106.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.901e-05/0.8761, allocations: 72.92 kB / 0.5678 GB, free: 106.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.8762, allocations: 12.34 kB / 0.5678 GB, free: 106.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.636e-05/0.8762, allocations: 326.1 kB / 0.5682 GB, free: 106.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.8764, allocations: 63.86 kB / 0.5682 GB, free: 106.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.8766, allocations: 165.1 kB / 0.5684 GB, free: 106 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.8768, allocations: 91.11 kB / 0.5685 GB, free: 106 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.489e-06/0.8768, allocations: 4 kB / 0.5685 GB, free: 106 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005869/0.8774, allocations: 268.5 kB / 0.5687 GB, free: 105.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.8775, allocations: 11.88 kB / 0.5687 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.8775, allocations: 3.656 kB / 0.5687 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.8775, allocations: 10.36 kB / 0.5687 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004961/0.878, allocations: 84.69 kB / 0.5688 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.8781, allocations: 6.375 kB / 0.5688 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.8784, allocations: 24.55 kB / 0.5689 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.8784, allocations: 9.594 kB / 0.5689 GB, free: 105.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 9.985e-05/0.8785, allocations: 125.6 kB / 0.569 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.8786, allocations: 18.25 kB / 0.569 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000523/0.8792, allocations: 211.1 kB / 0.5692 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.117e-06/0.8792, allocations: 0 / 0.5692 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.554e-06/0.8792, allocations: 0 / 0.5692 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.02e-06/0.8792, allocations: 3.75 kB / 0.5692 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.8804, allocations: 0.5637 MB / 0.5698 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.026e-06/0.8804, allocations: 3.25 kB / 0.5698 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003665/0.8808, allocations: 51.08 kB / 0.5698 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.85e-06/0.8808, allocations: 3.25 kB / 0.5698 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.8809, allocations: 10.7 kB / 0.5698 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.8809, allocations: 3.188 kB / 0.5698 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.439e-06/0.8809, allocations: 4.109 kB / 0.5698 GB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005806/0.8815, allocations: 404.2 kB / 0.5702 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.8816, allocations: 84.77 kB / 0.5703 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/0.8816, allocations: 11.44 kB / 0.5703 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.882, allocations: 15.45 kB / 0.5703 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.8821, allocations: 15.5 kB / 0.5703 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.8821, allocations: 19.48 kB / 0.5704 GB, free: 104.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.503e-05/0.8822, allocations: 112.4 kB / 0.5705 GB, free: 104.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.73e-07/0.8822, allocations: 0 / 0.5705 GB, free: 104.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005606/0.8828, allocations: 68 kB / 0.5705 GB, free: 104.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002266/0.883, allocations: 141.6 kB / 0.5707 GB, free: 104.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004222/0.8835, allocations: 170.6 kB / 0.5708 GB, free: 104.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.425e-06/0.8835, allocations: 0 / 0.5708 GB, free: 104.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.8836, allocations: 80.11 kB / 0.5709 GB, free: 104.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.884, allocations: 34.72 kB / 0.5709 GB, free: 104.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008489/0.8849, allocations: 329.2 kB / 0.5713 GB, free: 104.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.8851, allocations: 0.7189 MB / 0.572 GB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.8852, allocations: 34.78 kB / 0.572 GB, free: 103.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.999e-06/0.8853, allocations: 0 / 0.572 GB, free: 103.6 MB / 410.7 MB Notification: Performance of Templates: time 0.005556/0.8908, allocations: 2.715 MB / 0.5746 GB, free: 102.3 MB / 410.7 MB