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.833/1.833, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.953e-05/2.978e-05, allocations: 2.938 kB / 255.3 MB, free: 3.199 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07926/0.07931, allocations: 44.5 MB / 299.8 MB, free: 6.645 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.11/1.19, allocations: 447 MB / 0.7294 GB, free: 120.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/1.19, allocations: 71.97 kB / 0.7294 GB, free: 120.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0903/1.28, allocations: 29.72 MB / 0.7585 GB, free: 90.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.03e-06/1.28, allocations: 0 / 0.7585 GB, free: 90.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/1.28, allocations: 0 / 0.7585 GB, free: 90.33 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.0003949/1.281, allocations: 384.2 kB / 0.7588 GB, free: 89.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/1.281, allocations: 8.031 kB / 0.7588 GB, free: 89.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/1.283, allocations: 175.7 kB / 0.759 GB, free: 89.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/1.283, allocations: 206.9 kB / 0.7592 GB, free: 89.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/1.283, allocations: 8 kB / 0.7592 GB, free: 89.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.497e-05/1.283, allocations: 8 kB / 0.7592 GB, free: 89.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/1.284, allocations: 213.3 kB / 0.7594 GB, free: 89.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/1.284, allocations: 0 / 0.7594 GB, free: 89.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/1.284, allocations: 0 / 0.7594 GB, free: 89.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/1.284, allocations: 4 kB / 0.7594 GB, free: 89.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/1.284, allocations: 155.9 kB / 0.7596 GB, free: 89.09 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.001029/1.285, allocations: 0.5843 MB / 0.7601 GB, free: 88.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/1.285, allocations: 130.7 kB / 0.7603 GB, free: 88.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/1.286, allocations: 64.84 kB / 0.7603 GB, free: 88.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/1.286, allocations: 7.938 kB / 0.7603 GB, free: 88.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/1.286, allocations: 38.56 kB / 0.7604 GB, free: 88.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.885e-06/1.286, allocations: 0 / 0.7604 GB, free: 88.2 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.005072/1.291, allocations: 1.096 MB / 0.7614 GB, free: 87.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/1.291, allocations: 55.41 kB / 0.7615 GB, free: 86.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.061e-05/1.291, allocations: 101 kB / 0.7616 GB, free: 86.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/1.291, allocations: 25.7 kB / 0.7616 GB, free: 86.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.345e-05/1.291, allocations: 174.3 kB / 0.7618 GB, free: 86.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/1.291, allocations: 67 kB / 0.7619 GB, free: 86.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/1.291, allocations: 4 kB / 0.7619 GB, free: 86.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.256e-05/1.291, allocations: 322.8 kB / 0.7622 GB, free: 86.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/1.291, allocations: 56 kB / 0.7622 GB, free: 86.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/1.292, allocations: 104.5 kB / 0.7623 GB, free: 86.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/1.292, allocations: 76.91 kB / 0.7624 GB, free: 86.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.258e-06/1.292, allocations: 0 / 0.7624 GB, free: 86.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005289/1.292, allocations: 240.8 kB / 0.7626 GB, free: 85.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/1.292, allocations: 8 kB / 0.7626 GB, free: 85.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.281e-06/1.292, allocations: 3.953 kB / 0.7626 GB, free: 85.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002121/1.293, allocations: 48.83 kB / 0.7627 GB, free: 85.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/1.293, allocations: 56 kB / 0.7627 GB, free: 85.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003681/1.293, allocations: 0.5679 MB / 0.7633 GB, free: 85.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/1.294, allocations: 4 kB / 0.7633 GB, free: 85.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/1.294, allocations: 31.98 kB / 0.7633 GB, free: 85.02 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.0001016/1.294, allocations: 121 kB / 0.7634 GB, free: 84.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.604e-05/1.294, allocations: 7.906 kB / 0.7634 GB, free: 84.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000973/1.295, allocations: 341.9 kB / 0.7638 GB, free: 84.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/1.295, allocations: 4 kB / 0.7638 GB, free: 84.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.295, allocations: 3.938 kB / 0.7638 GB, free: 84.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.064e-06/1.295, allocations: 0 / 0.7638 GB, free: 84.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009926/1.296, allocations: 0.6074 MB / 0.7644 GB, free: 83.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.135e-06/1.296, allocations: 4 kB / 0.7644 GB, free: 83.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004214/1.296, allocations: 59.89 kB / 0.7644 GB, free: 83.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001035/1.296, allocations: 24.78 kB / 0.7645 GB, free: 83.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/1.296, allocations: 12 kB / 0.7645 GB, free: 83.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00077/1.297, allocations: 1.272 MB / 0.7657 GB, free: 82.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.09e-06/1.297, allocations: 0 / 0.7657 GB, free: 82.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007028/1.298, allocations: 459.5 kB / 0.7661 GB, free: 81.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/1.298, allocations: 88.98 kB / 0.7662 GB, free: 81.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/1.298, allocations: 8 kB / 0.7662 GB, free: 81.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004895/1.299, allocations: 8 kB / 0.7662 GB, free: 81.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/1.299, allocations: 31.98 kB / 0.7663 GB, free: 81.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.623e-05/1.299, allocations: 27.98 kB / 0.7663 GB, free: 81.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.947e-05/1.299, allocations: 87.28 kB / 0.7664 GB, free: 81.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.124e-06/1.299, allocations: 0 / 0.7664 GB, free: 81.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001095/1.3, allocations: 119.9 kB / 0.7665 GB, free: 81.48 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.001501/1.302, allocations: 0.5198 MB / 0.767 GB, free: 80.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009913/1.303, allocations: 192.6 kB / 0.7672 GB, free: 80.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.206e-06/1.303, allocations: 0 / 0.7672 GB, free: 80.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005225/1.303, allocations: 215.3 kB / 0.7674 GB, free: 80.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007126/1.304, allocations: 48.09 kB / 0.7674 GB, free: 80.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009952/1.305, allocations: 357.4 kB / 0.7678 GB, free: 80.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/1.305, allocations: 0.7049 MB / 0.7685 GB, free: 79.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005331/1.306, allocations: 63.34 kB / 0.7685 GB, free: 79.32 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-06/1.306, allocations: 0 / 0.7685 GB, free: 79.32 MB / 410.7 MB Notification: Performance of Templates: time 0.01747/1.323, allocations: 6.425 MB / 0.7748 GB, free: 72.89 MB / 410.7 MB