Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadModel(Modelica): time 1.905/1.905, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.863e-05, allocations: 2.812 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 44.5 MB / 299.9 MB, free: 6.648 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/1.281, allocations: 447.1 MB / 0.7294 GB, free: 103.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/1.281, allocations: 68.2 kB / 0.7295 GB, free: 103.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08951/1.371, allocations: 29.72 MB / 0.7585 GB, free: 78.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.371, allocations: 0 / 0.7585 GB, free: 78.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/1.371, allocations: 4 kB / 0.7585 GB, free: 78.57 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004123/1.371, allocations: 380.8 kB / 0.7589 GB, free: 78.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/1.371, allocations: 12.03 kB / 0.7589 GB, free: 78.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/1.373, allocations: 174 kB / 0.759 GB, free: 78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/1.374, allocations: 209.2 kB / 0.7592 GB, free: 77.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/1.374, allocations: 7.562 kB / 0.7592 GB, free: 77.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.569e-05/1.374, allocations: 5.094 kB / 0.7592 GB, free: 77.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004557/1.374, allocations: 209.1 kB / 0.7594 GB, free: 77.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/1.374, allocations: 0 / 0.7594 GB, free: 77.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/1.374, allocations: 7.438 kB / 0.7595 GB, free: 77.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/1.374, allocations: 0 / 0.7595 GB, free: 77.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/1.375, allocations: 157.2 kB / 0.7596 GB, free: 77.49 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/1.376, allocations: 0.5817 MB / 0.7602 GB, free: 76.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/1.376, allocations: 134.2 kB / 0.7603 GB, free: 76.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/1.376, allocations: 66.09 kB / 0.7604 GB, free: 76.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/1.376, allocations: 4 kB / 0.7604 GB, free: 76.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/1.376, allocations: 42.38 kB / 0.7604 GB, free: 76.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.656e-06/1.376, allocations: 0 / 0.7604 GB, free: 76.71 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005049/1.382, allocations: 1.094 MB / 0.7615 GB, free: 75.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/1.382, allocations: 51.41 kB / 0.7615 GB, free: 75.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.513e-05/1.382, allocations: 100.5 kB / 0.7616 GB, free: 75.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/1.382, allocations: 32.77 kB / 0.7616 GB, free: 75.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/1.382, allocations: 174.2 kB / 0.7618 GB, free: 75.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/1.382, allocations: 62.78 kB / 0.7619 GB, free: 75.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/1.382, allocations: 2.938 kB / 0.7619 GB, free: 75.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.327e-05/1.382, allocations: 318.8 kB / 0.7622 GB, free: 74.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/1.382, allocations: 60.88 kB / 0.7622 GB, free: 74.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/1.382, allocations: 100.1 kB / 0.7623 GB, free: 74.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/1.382, allocations: 80.28 kB / 0.7624 GB, free: 74.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.382, allocations: 0 / 0.7624 GB, free: 74.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005379/1.383, allocations: 246.1 kB / 0.7626 GB, free: 74.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/1.383, allocations: 4 kB / 0.7626 GB, free: 74.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.383, allocations: 4 kB / 0.7627 GB, free: 74.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002261/1.383, allocations: 60.06 kB / 0.7627 GB, free: 74.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/1.384, allocations: 55.89 kB / 0.7628 GB, free: 74.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003844/1.384, allocations: 0.5665 MB / 0.7633 GB, free: 73.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/1.384, allocations: 11.52 kB / 0.7633 GB, free: 73.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/1.384, allocations: 20 kB / 0.7633 GB, free: 73.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001052/1.385, allocations: 124.3 kB / 0.7635 GB, free: 73.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/1.385, allocations: 11.86 kB / 0.7635 GB, free: 73.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009451/1.386, allocations: 329.4 kB / 0.7638 GB, free: 73.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.401e-06/1.386, allocations: 4 kB / 0.7638 GB, free: 73.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.659e-06/1.386, allocations: 0 / 0.7638 GB, free: 73.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.889e-06/1.386, allocations: 3.984 kB / 0.7638 GB, free: 73.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/1.387, allocations: 0.596 MB / 0.7644 GB, free: 72.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.814e-06/1.387, allocations: 7.938 kB / 0.7644 GB, free: 72.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/1.387, allocations: 55.95 kB / 0.7644 GB, free: 72.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/1.387, allocations: 24.28 kB / 0.7645 GB, free: 72.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-05/1.387, allocations: 15.42 kB / 0.7645 GB, free: 72.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007674/1.388, allocations: 1.266 MB / 0.7657 GB, free: 71.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.634e-06/1.388, allocations: 3.953 kB / 0.7657 GB, free: 71.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007039/1.389, allocations: 461.6 kB / 0.7662 GB, free: 71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/1.389, allocations: 85.05 kB / 0.7662 GB, free: 70.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/1.389, allocations: 7.875 kB / 0.7662 GB, free: 70.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/1.389, allocations: 7.984 kB / 0.7663 GB, free: 70.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/1.389, allocations: 27.31 kB / 0.7663 GB, free: 70.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.352e-05/1.389, allocations: 27.92 kB / 0.7663 GB, free: 70.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.833e-05/1.389, allocations: 91.14 kB / 0.7664 GB, free: 70.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.36e-07/1.389, allocations: 0 / 0.7664 GB, free: 70.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006471/1.39, allocations: 117.9 kB / 0.7665 GB, free: 70.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * 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: 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.0008791/1.391, allocations: 0.5292 MB / 0.767 GB, free: 70.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005362/1.392, allocations: 183.8 kB / 0.7672 GB, free: 70.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/1.392, allocations: 0 / 0.7672 GB, free: 70.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000322/1.392, allocations: 214.6 kB / 0.7674 GB, free: 69.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/1.392, allocations: 43.08 kB / 0.7674 GB, free: 69.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006641/1.393, allocations: 360.6 kB / 0.7678 GB, free: 69.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/1.393, allocations: 0.7088 MB / 0.7685 GB, free: 68.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/1.394, allocations: 55.39 kB / 0.7685 GB, free: 68.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.731e-06/1.394, allocations: 4 kB / 0.7685 GB, free: 68.63 MB / 410.7 MB Notification: Performance of Templates: time 0.01007/1.404, allocations: 6.466 MB / 0.7749 GB, free: 62.19 MB / 410.7 MB