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 2.144/2.144, allocations: 194.9 MB / 211.2 MB, free: 8.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.26e-05/3.266e-05, allocations: 7.938 kB / 258.8 MB, free: 8.707 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3508, allocations: 44.51 MB / 303.3 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.2293/0.5801, allocations: 121.3 MB / 424.6 MB, free: 4.035 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.5818, allocations: 0.7755 MB / 425.4 MB, free: 3.258 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.5819, allocations: 0 / 425.4 MB, free: 3.258 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.5821, allocations: 19.89 kB / 425.4 MB, free: 3.238 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006231/0.5828, allocations: 187.3 kB / 425.6 MB, free: 3.055 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.5832, allocations: 95.7 kB / 425.7 MB, free: 2.961 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.5834, allocations: 75.89 kB / 425.8 MB, free: 2.887 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.5835, allocations: 0 / 425.8 MB, free: 2.887 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.5837, allocations: 91.67 kB / 425.9 MB, free: 2.797 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.5839, allocations: 35.91 kB / 425.9 MB, free: 2.762 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009225/0.5848, allocations: 283.7 kB / 426.2 MB, free: 2.484 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.417e-05/0.5849, allocations: 16 kB / 426.2 MB, free: 2.469 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.585, allocations: 23.91 kB / 426.2 MB, free: 2.445 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.32e-05/0.585, allocations: 12 kB / 426.2 MB, free: 2.434 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005212/0.5856, allocations: 193.4 kB / 426.4 MB, free: 2.246 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5856, allocations: 0 / 426.4 MB, free: 2.246 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.5856, allocations: 0 / 426.4 MB, free: 2.246 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.5856, allocations: 0 / 426.4 MB, free: 2.246 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005609/0.5862, allocations: 383.2 kB / 426.8 MB, free: 1.824 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.5862, allocations: 16.03 kB / 426.8 MB, free: 1.809 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003442/0.5897, allocations: 183.6 kB / 427 MB, free: 1.629 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.5901, allocations: 206.9 kB / 427.2 MB, free: 1.387 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.5901, allocations: 8 kB / 427.2 MB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.5902, allocations: 4 kB / 427.2 MB, free: 1.375 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007913/0.591, allocations: 228 kB / 427.4 MB, free: 1.137 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.591, allocations: 0 / 427.4 MB, free: 1.137 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.246e-05/0.5911, allocations: 4 kB / 427.4 MB, free: 1.133 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.5911, allocations: 0 / 427.4 MB, free: 1.133 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007415/0.5918, allocations: 171.8 kB / 427.6 MB, free: 0.9648 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.001504/0.5934, allocations: 0.5756 MB / 428.2 MB, free: 340 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005279/0.5939, allocations: 142.5 kB / 428.3 MB, free: 188 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/0.594, allocations: 7.922 kB / 428.3 MB, free: 180 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.594, allocations: 34.56 kB / 428.3 MB, free: 136 kB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.285e-06/0.594, allocations: 4 kB / 428.4 MB, free: 132 kB / 362.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.2735/0.8675, allocations: 1.287 MB / 429.6 MB, free: 123.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.8676, allocations: 59.06 kB / 429.7 MB, free: 123 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.667e-05/0.8677, allocations: 102 kB / 429.8 MB, free: 122.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.8678, allocations: 30.61 kB / 429.8 MB, free: 122.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.8678, allocations: 168.3 kB / 430 MB, free: 122.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.095e-05/0.8679, allocations: 71.02 kB / 430.1 MB, free: 122.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.868, allocations: 6.719 kB / 430.1 MB, free: 122.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.795e-05/0.8681, allocations: 320.1 kB / 430.4 MB, free: 122.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.8683, allocations: 69.56 kB / 430.4 MB, free: 122.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.8686, allocations: 102.8 kB / 430.5 MB, free: 122.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.869, allocations: 77.44 kB / 430.6 MB, free: 122.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.869, allocations: 0 / 430.6 MB, free: 122.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009035/0.8699, allocations: 263.8 kB / 430.9 MB, free: 122.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.8699, allocations: 5.125 kB / 430.9 MB, free: 122.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.87, allocations: 1.281 kB / 430.9 MB, free: 122.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002739/0.8702, allocations: 49.98 kB / 430.9 MB, free: 122.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/0.8708, allocations: 54.39 kB / 431 MB, free: 122.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004518/0.8713, allocations: 0.5754 MB / 431.6 MB, free: 121.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.8716, allocations: 6.875 kB / 431.6 MB, free: 121.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-05/0.8717, allocations: 25.56 kB / 431.6 MB, free: 121.6 MB / 362.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.0001452/0.8719, allocations: 122.4 kB / 431.7 MB, free: 121.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.9e-05/0.8719, allocations: 12.91 kB / 431.7 MB, free: 121.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.8732, allocations: 347.1 kB / 432.1 MB, free: 121.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.8733, allocations: 3.594 kB / 432.1 MB, free: 121.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.8733, allocations: 0 / 432.1 MB, free: 121.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.8733, allocations: 1.094 kB / 432.1 MB, free: 121.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.8746, allocations: 0.6282 MB / 432.7 MB, free: 120.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.8747, allocations: 2.406 kB / 432.7 MB, free: 120.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006044/0.8753, allocations: 61.8 kB / 432.8 MB, free: 120.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001137/0.8754, allocations: 25.69 kB / 432.8 MB, free: 120.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/0.8755, allocations: 15.3 kB / 432.8 MB, free: 120.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008999/0.8764, allocations: 1.267 MB / 434.1 MB, free: 119.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.8764, allocations: 2.125 kB / 434.1 MB, free: 119.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.8775, allocations: 478.5 kB / 434.5 MB, free: 119.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.8776, allocations: 84.33 kB / 434.6 MB, free: 119 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.194e-05/0.8777, allocations: 7.312 kB / 434.6 MB, free: 119 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.8781, allocations: 3.312 kB / 434.6 MB, free: 119 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.927e-05/0.8782, allocations: 24.22 kB / 434.7 MB, free: 119 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.961e-05/0.8782, allocations: 26.23 kB / 434.7 MB, free: 119 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.476e-05/0.8783, allocations: 93.64 kB / 434.8 MB, free: 118.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.8783, allocations: 5 kB / 434.8 MB, free: 118.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005944/0.8789, allocations: 83.5 kB / 434.9 MB, free: 118.9 MB / 362.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.0004828/0.8794, allocations: 149.4 kB / 435 MB, free: 118.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007771/0.8802, allocations: 200.8 kB / 435.2 MB, free: 118.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.8802, allocations: 7.438 kB / 435.2 MB, free: 118.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004447/0.8807, allocations: 225 kB / 435.4 MB, free: 118.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.8813, allocations: 39.77 kB / 435.5 MB, free: 118.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.8824, allocations: 0.5968 MB / 436.1 MB, free: 118 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.8825, allocations: 0.7105 MB / 436.8 MB, free: 117.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003702/0.8829, allocations: 53.06 kB / 436.8 MB, free: 117.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.453e-06/0.8829, allocations: 0 / 436.8 MB, free: 117.3 MB / 362.7 MB Notification: Performance of Templates: time 0.008506/0.8915, allocations: 3.939 MB / 440.8 MB, free: 113.4 MB / 362.7 MB