Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(Modelica): time 1.599/1.599, allocations: 171.2 MB / 183.8 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.41e-05/4.423e-05, allocations: 4 kB / 225 MB, free: 2.816 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2219, allocations: 38.77 MB / 263.8 MB, free: 9.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7671/0.989, allocations: 328.5 MB / 0.5784 GB, free: 73.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.9893, allocations: 83.95 kB / 0.5785 GB, free: 73.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4652/1.454, allocations: 87.14 MB / 0.6636 GB, free: 113.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.339e-06/1.455, allocations: 0 / 0.6636 GB, free: 113.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.17e-05/1.455, allocations: 6.188 kB / 0.6636 GB, free: 113.3 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006809/1.455, allocations: 0.5278 MB / 0.6641 GB, free: 113 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/1.455, allocations: 7.781 kB / 0.6641 GB, free: 113 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003319/1.456, allocations: 42.77 kB / 0.6642 GB, free: 113 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/1.456, allocations: 290.3 kB / 0.6645 GB, free: 112.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/1.456, allocations: 22.95 kB / 0.6645 GB, free: 112.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.635e-05/1.456, allocations: 27.34 kB / 0.6645 GB, free: 112.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005338/1.457, allocations: 284.4 kB / 0.6648 GB, free: 112.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/1.457, allocations: 0 / 0.6648 GB, free: 112.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/1.457, allocations: 13.62 kB / 0.6648 GB, free: 112.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.529e-06/1.457, allocations: 9.75 kB / 0.6648 GB, free: 112.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/1.457, allocations: 190.5 kB / 0.665 GB, free: 112.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/1.459, allocations: 1.28 MB / 0.6662 GB, free: 111.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/1.459, allocations: 184.3 kB / 0.6664 GB, free: 111.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/1.46, allocations: 90.36 kB / 0.6665 GB, free: 111.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/1.46, allocations: 173.6 kB / 0.6667 GB, free: 111.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/1.46, allocations: 40.34 kB / 0.6667 GB, free: 111.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.913e-06/1.46, allocations: 0 / 0.6667 GB, free: 111.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.002507/1.462, allocations: 0.8915 MB / 0.6676 GB, free: 111.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/1.462, allocations: 57.84 kB / 0.6676 GB, free: 111.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/1.463, allocations: 232.2 kB / 0.6678 GB, free: 111 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/1.463, allocations: 35.33 kB / 0.6679 GB, free: 110.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.725e-05/1.463, allocations: 238 kB / 0.6681 GB, free: 110.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.983e-05/1.463, allocations: 87.94 kB / 0.6682 GB, free: 110.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/1.463, allocations: 3.438 kB / 0.6682 GB, free: 110.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.907e-05/1.463, allocations: 331.7 kB / 0.6685 GB, free: 110.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/1.463, allocations: 80.56 kB / 0.6686 GB, free: 110.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/1.463, allocations: 171 kB / 0.6688 GB, free: 110.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/1.464, allocations: 111.8 kB / 0.6689 GB, free: 110.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.239e-06/1.464, allocations: 0 / 0.6689 GB, free: 110.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007353/1.464, allocations: 416.7 kB / 0.6693 GB, free: 110.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.464, allocations: 3.938 kB / 0.6693 GB, free: 110.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.806e-06/1.464, allocations: 7.594 kB / 0.6693 GB, free: 110.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/1.465, allocations: 43.14 kB / 0.6693 GB, free: 110.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/1.465, allocations: 77.08 kB / 0.6694 GB, free: 110.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/1.467, allocations: 2.569 MB / 0.6719 GB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/1.467, allocations: 21.36 kB / 0.6719 GB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/1.467, allocations: 17.44 kB / 0.6719 GB, free: 107.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001219/1.467, allocations: 128.7 kB / 0.672 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.63e-05/1.467, allocations: 27.28 kB / 0.6721 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006468/1.468, allocations: 346.8 kB / 0.6724 GB, free: 107.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.378e-06/1.468, allocations: 3.875 kB / 0.6724 GB, free: 107.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.801e-06/1.468, allocations: 3.375 kB / 0.6724 GB, free: 107.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005318/1.469, allocations: 0.624 MB / 0.673 GB, free: 106.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/1.47, allocations: 0.7363 MB / 0.6737 GB, free: 106.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.213e-06/1.47, allocations: 7.578 kB / 0.6737 GB, free: 106.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004012/1.47, allocations: 57.94 kB / 0.6738 GB, free: 106.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.953e-05/1.47, allocations: 23.47 kB / 0.6738 GB, free: 106.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/1.47, allocations: 4.969 kB / 0.6738 GB, free: 106.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007747/1.471, allocations: 1.287 MB / 0.6751 GB, free: 105.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.483e-06/1.471, allocations: 2.344 kB / 0.6751 GB, free: 105.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007409/1.472, allocations: 0.5081 MB / 0.6756 GB, free: 104.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.731e-05/1.472, allocations: 99.23 kB / 0.6757 GB, free: 104.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.955e-05/1.472, allocations: 6.844 kB / 0.6757 GB, free: 104.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/1.472, allocations: 18.39 kB / 0.6757 GB, free: 104.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/1.473, allocations: 23.56 kB / 0.6757 GB, free: 104.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/1.473, allocations: 12.94 kB / 0.6757 GB, free: 104.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002129/1.473, allocations: 183.5 kB / 0.6759 GB, free: 104.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.25e-07/1.473, allocations: 0 / 0.6759 GB, free: 104.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006881/1.474, allocations: 123 kB / 0.676 GB, free: 104.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003731/1.474, allocations: 253.1 kB / 0.6763 GB, free: 104.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006767/1.475, allocations: 424.9 kB / 0.6767 GB, free: 104.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.033e-06/1.475, allocations: 0 / 0.6767 GB, free: 104.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003354/1.475, allocations: 210.5 kB / 0.6769 GB, free: 104.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/1.476, allocations: 150.1 kB / 0.677 GB, free: 104.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009706/1.477, allocations: 0.4943 MB / 0.6775 GB, free: 104 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/1.477, allocations: 0.769 MB / 0.6783 GB, free: 103.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/1.477, allocations: 32.53 kB / 0.6783 GB, free: 103.3 MB / 362.7 MB Notification: Performance of SimCode: time 2.228e-06/1.477, allocations: 4.469 kB / 0.6783 GB, free: 103.3 MB / 362.7 MB Notification: Performance of Templates: time 0.01085/1.488, allocations: 7.088 MB / 0.6852 GB, free: 102.9 MB / 362.7 MB