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.894/1.894, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.325e-05/2.337e-05, allocations: 7.938 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2465, allocations: 44.49 MB / 294.1 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.117/1.363, allocations: 446.4 MB / 0.7231 GB, free: 105 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/1.364, allocations: 73.31 kB / 0.7232 GB, free: 105 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08785/1.452, allocations: 29.18 MB / 0.7517 GB, free: 97.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/1.452, allocations: 0 / 0.7517 GB, free: 97.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/1.452, allocations: 7.562 kB / 0.7517 GB, free: 97.73 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0003785/1.452, allocations: 377.6 kB / 0.7521 GB, free: 97.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/1.452, allocations: 16.03 kB / 0.7521 GB, free: 97.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/1.454, allocations: 173.7 kB / 0.7522 GB, free: 97.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/1.454, allocations: 204.5 kB / 0.7524 GB, free: 96.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/1.454, allocations: 4 kB / 0.7524 GB, free: 96.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/1.454, allocations: 4 kB / 0.7524 GB, free: 96.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003848/1.455, allocations: 153.3 kB / 0.7526 GB, free: 96.83 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/1.455, allocations: 132.9 kB / 0.7527 GB, free: 96.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/1.455, allocations: 7.984 kB / 0.7527 GB, free: 96.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/1.455, allocations: 0 / 0.7527 GB, free: 96.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.642e-06/1.455, allocations: 4 kB / 0.7527 GB, free: 96.7 MB / 394.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.0009631/1.456, allocations: 0.5411 MB / 0.7533 GB, free: 96.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/1.456, allocations: 133.8 kB / 0.7534 GB, free: 96.06 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/1.457, allocations: 59.05 kB / 0.7534 GB, free: 96.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/1.457, allocations: 7.984 kB / 0.7534 GB, free: 96.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/1.457, allocations: 42.42 kB / 0.7535 GB, free: 95.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.32e-06/1.457, allocations: 0 / 0.7535 GB, free: 95.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.00406/1.461, allocations: 0.8843 MB / 0.7544 GB, free: 95.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/1.461, allocations: 59.34 kB / 0.7544 GB, free: 95.04 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.094e-05/1.461, allocations: 96.81 kB / 0.7545 GB, free: 94.94 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/1.461, allocations: 25.7 kB / 0.7545 GB, free: 94.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/1.461, allocations: 172.6 kB / 0.7547 GB, free: 94.74 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.234e-05/1.461, allocations: 60.73 kB / 0.7547 GB, free: 94.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/1.461, allocations: 0 / 0.7547 GB, free: 94.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.384e-05/1.461, allocations: 321.3 kB / 0.7551 GB, free: 94.37 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/1.461, allocations: 66.48 kB / 0.7551 GB, free: 94.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/1.461, allocations: 85.48 kB / 0.7552 GB, free: 94.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/1.462, allocations: 67.34 kB / 0.7553 GB, free: 94.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.108e-06/1.462, allocations: 224 / 0.7553 GB, free: 94.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004632/1.462, allocations: 230.8 kB / 0.7555 GB, free: 94.03 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.462, allocations: 16.03 kB / 0.7555 GB, free: 94.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.531e-06/1.462, allocations: 0 / 0.7555 GB, free: 94.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001649/1.462, allocations: 40.33 kB / 0.7555 GB, free: 93.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/1.463, allocations: 55.28 kB / 0.7556 GB, free: 93.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003538/1.463, allocations: 0.5745 MB / 0.7562 GB, free: 93.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/1.463, allocations: 12.11 kB / 0.7562 GB, free: 93.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/1.463, allocations: 23.81 kB / 0.7562 GB, free: 93.3 MB / 394.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.0001011/1.463, allocations: 112.7 kB / 0.7563 GB, free: 93.19 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/1.464, allocations: 11.86 kB / 0.7563 GB, free: 93.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008805/1.464, allocations: 317.9 kB / 0.7566 GB, free: 92.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.241e-06/1.464, allocations: 4 kB / 0.7566 GB, free: 92.92 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/1.464, allocations: 0 / 0.7566 GB, free: 92.92 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.837e-06/1.464, allocations: 3.984 kB / 0.7566 GB, free: 92.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009276/1.465, allocations: 0.5695 MB / 0.7572 GB, free: 92.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.434e-06/1.465, allocations: 0 / 0.7572 GB, free: 92.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/1.466, allocations: 59.95 kB / 0.7572 GB, free: 92.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/1.466, allocations: 20.41 kB / 0.7572 GB, free: 92.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/1.466, allocations: 11.98 kB / 0.7573 GB, free: 92.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007401/1.467, allocations: 1.216 MB / 0.7584 GB, free: 90.99 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.38e-06/1.467, allocations: 3.984 kB / 0.7585 GB, free: 90.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006429/1.467, allocations: 441.1 kB / 0.7589 GB, free: 90.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/1.468, allocations: 93.02 kB / 0.759 GB, free: 90.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/1.468, allocations: 11.55 kB / 0.759 GB, free: 90.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/1.468, allocations: 0 / 0.759 GB, free: 90.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/1.468, allocations: 19.97 kB / 0.759 GB, free: 90.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-05/1.468, allocations: 31.36 kB / 0.759 GB, free: 90.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.084e-05/1.468, allocations: 86.84 kB / 0.7591 GB, free: 90.33 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.7e-07/1.468, allocations: 0 / 0.7591 GB, free: 90.33 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006062/1.469, allocations: 97.86 kB / 0.7592 GB, free: 90.25 MB / 394.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.0009051/1.47, allocations: 0.6145 MB / 0.7598 GB, free: 89.64 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004605/1.47, allocations: 183.2 kB / 0.76 GB, free: 89.51 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.47, allocations: 0 / 0.76 GB, free: 89.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002882/1.47, allocations: 202.2 kB / 0.7602 GB, free: 89.33 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/1.471, allocations: 41.86 kB / 0.7602 GB, free: 89.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/1.472, allocations: 346.1 kB / 0.7605 GB, free: 88.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/1.472, allocations: 0.7085 MB / 0.7612 GB, free: 88.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/1.472, allocations: 58.78 kB / 0.7613 GB, free: 88.15 MB / 394.7 MB Notification: Performance of SimCode: time 1.668e-06/1.472, allocations: 0 / 0.7613 GB, free: 88.15 MB / 394.7 MB Notification: Performance of Templates: time 0.009728/1.482, allocations: 6.398 MB / 0.7675 GB, free: 81.76 MB / 394.7 MB