Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadModel(Modelica): time 1.92/1.92, allocations: 171.2 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.723e-05/3.725e-05, allocations: 2.188 kB / 228.1 MB, free: 7.984 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.084/0.08407, allocations: 38.77 MB / 266.9 MB, free: 1.129 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4723/0.5564, allocations: 132.5 MB / 399.4 MB, free: 14.19 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004884/0.5614, allocations: 1.821 MB / 401.3 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004601/0.5619, allocations: 4 kB / 401.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000825/0.5627, allocations: 131.4 kB / 401.4 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.564, allocations: 251.1 kB / 401.6 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.5655, allocations: 259.5 kB / 401.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.5667, allocations: 363.1 kB / 402.2 MB, free: 11.38 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.567, allocations: 43.94 kB / 402.3 MB, free: 11.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.5688, allocations: 407 kB / 402.7 MB, free: 10.94 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005209/0.5694, allocations: 159.5 kB / 402.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006056/0.57, allocations: 103.9 kB / 402.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.5702, allocations: 16 kB / 403 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.5703, allocations: 67.78 kB / 403 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.5706, allocations: 44 kB / 403.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.5717, allocations: 412.5 kB / 403.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5717, allocations: 0 / 403.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.5718, allocations: 4 kB / 403.5 MB, free: 10.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.5718, allocations: 0 / 403.5 MB, free: 10.15 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001253/0.5731, allocations: 0.4913 MB / 404 MB, free: 9.609 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.046e-05/0.5731, allocations: 8.031 kB / 404 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000603/0.5738, allocations: 52.42 kB / 404 MB, free: 9.551 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007009/0.5745, allocations: 286.5 kB / 404.3 MB, free: 9.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/0.5745, allocations: 20.56 kB / 404.3 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.4e-05/0.5746, allocations: 24 kB / 404.3 MB, free: 9.188 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.5757, allocations: 311.7 kB / 404.6 MB, free: 8.855 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.5758, allocations: 3.906 kB / 404.7 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.348e-05/0.5759, allocations: 16 kB / 404.7 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.5759, allocations: 11.95 kB / 404.7 MB, free: 8.824 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007516/0.5767, allocations: 201.6 kB / 404.9 MB, free: 8.629 MB / 330.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.003762/0.5804, allocations: 1.572 MB / 406.4 MB, free: 6.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.5812, allocations: 170.7 kB / 406.6 MB, free: 6.734 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.455e-05/0.5813, allocations: 4 kB / 406.6 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.5813, allocations: 38.56 kB / 406.7 MB, free: 6.684 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 3.596e-06/0.5813, allocations: 0 / 406.7 MB, free: 6.684 MB / 330.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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.01385/0.5952, allocations: 1.627 MB / 408.3 MB, free: 4.926 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.5953, allocations: 55.41 kB / 408.3 MB, free: 4.859 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005386/0.5959, allocations: 228 kB / 408.6 MB, free: 4.629 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.596, allocations: 33.7 kB / 408.6 MB, free: 4.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.5962, allocations: 226.7 kB / 408.8 MB, free: 4.367 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.5964, allocations: 102.6 kB / 408.9 MB, free: 4.266 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.5965, allocations: 8 kB / 408.9 MB, free: 4.258 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.5967, allocations: 318.8 kB / 409.2 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004188/0.5971, allocations: 87.97 kB / 409.3 MB, free: 3.852 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005121/0.5977, allocations: 195.5 kB / 409.5 MB, free: 3.617 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005491/0.5982, allocations: 124.5 kB / 409.6 MB, free: 3.496 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.5983, allocations: 0 / 409.6 MB, free: 3.496 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001647/0.5999, allocations: 379 kB / 410 MB, free: 3.113 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.6, allocations: 8 kB / 410 MB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.6, allocations: 4 kB / 410 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004506/0.6005, allocations: 77.56 kB / 410.1 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008956/0.6014, allocations: 91.83 kB / 410.2 MB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/0.6043, allocations: 1.852 MB / 412 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006989/0.6051, allocations: 31.98 kB / 412.1 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/0.6053, allocations: 32 kB / 412.1 MB, free: 0.8594 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004008/0.6057, allocations: 161.6 kB / 412.3 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.6059, allocations: 31.7 kB / 412.3 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/0.6083, allocations: 435.9 kB / 412.7 MB, free: 220 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.6084, allocations: 7.938 kB / 412.7 MB, free: 212 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.6084, allocations: 0 / 412.7 MB, free: 212 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001269/0.6097, allocations: 0.5669 MB / 413.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.6122, allocations: 0.7193 MB / 414 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/0.6122, allocations: 4 kB / 414 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008047/0.6131, allocations: 67.91 kB / 414.1 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001756/0.6133, allocations: 24.78 kB / 414.1 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.998e-05/0.6133, allocations: 15.98 kB / 414.1 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.6151, allocations: 1.284 MB / 415.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.6152, allocations: 256 / 415.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.6169, allocations: 0.4892 MB / 415.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/0.6172, allocations: 100.8 kB / 416 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.6174, allocations: 8 kB / 416 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006876/0.6181, allocations: 23.98 kB / 416 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.6182, allocations: 27.92 kB / 416 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.6183, allocations: 31.98 kB / 416.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004461/0.6188, allocations: 186 kB / 416.3 MB, free: 12.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.6188, allocations: 0 / 416.3 MB, free: 12.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001264/0.6201, allocations: 127.9 kB / 416.4 MB, free: 12.19 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.0007691/0.6209, allocations: 159.1 kB / 416.5 MB, free: 12.03 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.6225, allocations: 366.5 kB / 416.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-05/0.6226, allocations: 4 kB / 416.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000689/0.6233, allocations: 230.5 kB / 417.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/0.6256, allocations: 165.9 kB / 417.3 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.6285, allocations: 0.8533 MB / 418.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006001/0.6292, allocations: 0.7726 MB / 418.9 MB, free: 9.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006818/0.6299, allocations: 71.41 kB / 419 MB, free: 9.5 MB / 346.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6299, allocations: 0 / 419 MB, free: 9.5 MB / 346.7 MB Notification: Performance of Templates: time 0.02448/0.6544, allocations: 7.484 MB / 426.5 MB, free: 2.023 MB / 346.7 MB