Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadModel(ModelicaTest): time 2.274/2.274, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.06e-05, allocations: 0 / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3703, allocations: 54.86 MB / 359.8 MB, free: 2.645 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.438, allocations: 456.4 MB / 0.797 GB, free: 119.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/1.438, allocations: 71.97 kB / 0.7971 GB, free: 119.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09001/1.528, allocations: 29.75 MB / 0.8261 GB, free: 89.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.338e-06/1.529, allocations: 0 / 0.8261 GB, free: 89.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/1.529, allocations: 4 kB / 0.8262 GB, free: 89.7 MB / 490.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.0004414/1.529, allocations: 386.6 kB / 0.8265 GB, free: 89.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/1.529, allocations: 8.031 kB / 0.8265 GB, free: 89.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/1.531, allocations: 184.7 kB / 0.8267 GB, free: 89.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/1.531, allocations: 214.8 kB / 0.8269 GB, free: 88.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/1.531, allocations: 3.281 kB / 0.8269 GB, free: 88.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.582e-05/1.531, allocations: 12 kB / 0.8269 GB, free: 88.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004674/1.532, allocations: 210.2 kB / 0.8271 GB, free: 88.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/1.532, allocations: 3.938 kB / 0.8271 GB, free: 88.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/1.532, allocations: 4 kB / 0.8271 GB, free: 88.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.068e-06/1.532, allocations: 7.984 kB / 0.8271 GB, free: 88.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003901/1.532, allocations: 151.9 kB / 0.8273 GB, free: 88.45 MB / 490.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.001081/1.534, allocations: 0.5842 MB / 0.8279 GB, free: 87.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/1.534, allocations: 122.6 kB / 0.828 GB, free: 87.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/1.534, allocations: 72.83 kB / 0.828 GB, free: 87.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/1.534, allocations: 4 kB / 0.828 GB, free: 87.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/1.534, allocations: 30.56 kB / 0.8281 GB, free: 87.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 3.348e-06/1.534, allocations: 4 kB / 0.8281 GB, free: 87.55 MB / 490.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.005043/1.539, allocations: 1.087 MB / 0.8291 GB, free: 86.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/1.539, allocations: 55.41 kB / 0.8292 GB, free: 86.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/1.539, allocations: 101.2 kB / 0.8293 GB, free: 86.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/1.539, allocations: 33.7 kB / 0.8293 GB, free: 86.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.67e-05/1.539, allocations: 166.3 kB / 0.8295 GB, free: 86.01 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/1.539, allocations: 63.09 kB / 0.8295 GB, free: 85.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/1.54, allocations: 8 kB / 0.8295 GB, free: 85.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.563e-05/1.54, allocations: 322.8 kB / 0.8299 GB, free: 85.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/1.54, allocations: 64 kB / 0.8299 GB, free: 85.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/1.54, allocations: 87.61 kB / 0.83 GB, free: 85.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/1.54, allocations: 88.78 kB / 0.8301 GB, free: 85.37 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.568e-06/1.54, allocations: 224 / 0.8301 GB, free: 85.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005536/1.541, allocations: 247.3 kB / 0.8303 GB, free: 85.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.541, allocations: 13.66 kB / 0.8303 GB, free: 85.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.341e-06/1.541, allocations: 0 / 0.8303 GB, free: 85.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002387/1.541, allocations: 48.83 kB / 0.8304 GB, free: 85.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/1.541, allocations: 55.91 kB / 0.8304 GB, free: 85.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003785/1.542, allocations: 0.5643 MB / 0.831 GB, free: 84.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/1.542, allocations: 15.86 kB / 0.831 GB, free: 84.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/1.542, allocations: 31.98 kB / 0.831 GB, free: 84.37 MB / 490.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.0001038/1.542, allocations: 116.9 kB / 0.8311 GB, free: 84.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.428e-05/1.542, allocations: 7.906 kB / 0.8312 GB, free: 84.24 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009638/1.543, allocations: 331.1 kB / 0.8315 GB, free: 83.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.09e-06/1.543, allocations: 8 kB / 0.8315 GB, free: 83.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.137e-06/1.543, allocations: 3.953 kB / 0.8315 GB, free: 83.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.789e-06/1.543, allocations: 0 / 0.8315 GB, free: 83.89 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/1.544, allocations: 0.5986 MB / 0.8321 GB, free: 83.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/1.544, allocations: 0 / 0.8321 GB, free: 83.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004291/1.545, allocations: 71.94 kB / 0.8321 GB, free: 83.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001086/1.545, allocations: 20.84 kB / 0.8322 GB, free: 83.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/1.545, allocations: 12 kB / 0.8322 GB, free: 83.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007853/1.546, allocations: 1.264 MB / 0.8334 GB, free: 81.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.615e-06/1.546, allocations: 4.031 kB / 0.8334 GB, free: 81.73 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007231/1.547, allocations: 451.8 kB / 0.8338 GB, free: 81.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/1.547, allocations: 85.05 kB / 0.8339 GB, free: 81.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/1.547, allocations: 7.953 kB / 0.8339 GB, free: 81.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/1.547, allocations: 8 kB / 0.8339 GB, free: 81.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/1.547, allocations: 27.91 kB / 0.834 GB, free: 81.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-05/1.547, allocations: 27.98 kB / 0.834 GB, free: 81.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.792e-05/1.547, allocations: 91.34 kB / 0.8341 GB, free: 80.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.4e-07/1.547, allocations: 0 / 0.8341 GB, free: 80.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006491/1.548, allocations: 111.9 kB / 0.8342 GB, free: 80.87 MB / 490.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.0008947/1.549, allocations: 0.5369 MB / 0.8347 GB, free: 80.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000556/1.549, allocations: 194.2 kB / 0.8349 GB, free: 80.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.355e-06/1.549, allocations: 0 / 0.8349 GB, free: 80.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003223/1.55, allocations: 213.6 kB / 0.8351 GB, free: 79.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/1.55, allocations: 44.33 kB / 0.8351 GB, free: 79.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006585/1.551, allocations: 350.9 kB / 0.8355 GB, free: 79.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/1.551, allocations: 0.7049 MB / 0.8362 GB, free: 78.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003159/1.551, allocations: 59.41 kB / 0.8362 GB, free: 78.71 MB / 490.7 MB Notification: Performance of SimCode: time 2.027e-06/1.551, allocations: 0 / 0.8362 GB, free: 78.71 MB / 490.7 MB Notification: Performance of Templates: time 0.01011/1.561, allocations: 6.469 MB / 0.8425 GB, free: 72.24 MB / 490.7 MB