Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadModel(ModelicaTest): time 1.913/1.913, allocations: 209.3 MB / 223.8 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.349e-05/3.391e-05, allocations: 0 / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3572, allocations: 48.7 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2324/0.5896, allocations: 137 MB / 461.9 MB, free: 6.133 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0152/0.6049, allocations: 7.231 MB / 469.1 MB, free: 14.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.6062, allocations: 23.81 kB / 469.2 MB, free: 14.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.6073, allocations: 262.6 kB / 469.4 MB, free: 14.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0044/0.6117, allocations: 1.102 MB / 470.5 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003712/0.6154, allocations: 0.8967 MB / 471.4 MB, free: 12.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002122/0.6176, allocations: 0.845 MB / 472.3 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006619/0.6182, allocations: 319.4 kB / 472.6 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/0.6203, allocations: 0.6703 MB / 473.2 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.6218, allocations: 0.5141 MB / 473.8 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002316/0.6241, allocations: 0.6204 MB / 474.4 MB, free: 9.633 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003267/0.6244, allocations: 56 kB / 474.4 MB, free: 9.578 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003653/0.6248, allocations: 207.5 kB / 474.6 MB, free: 9.375 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.6252, allocations: 76 kB / 474.7 MB, free: 9.301 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002037/0.6272, allocations: 0.9898 MB / 475.7 MB, free: 8.309 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.6272, allocations: 0 / 475.7 MB, free: 8.309 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6272, allocations: 4 kB / 475.7 MB, free: 8.305 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.6273, allocations: 0 / 475.7 MB, free: 8.305 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002742/0.63, allocations: 0.9239 MB / 476.6 MB, free: 7.332 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.6301, allocations: 8.031 kB / 476.6 MB, free: 7.324 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.6312, allocations: 135 kB / 476.8 MB, free: 7.191 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.6325, allocations: 0.4927 MB / 477.3 MB, free: 6.656 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.6327, allocations: 100.4 kB / 477.4 MB, free: 6.547 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.6328, allocations: 51.98 kB / 477.4 MB, free: 6.496 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.6349, allocations: 0.8096 MB / 478.2 MB, free: 5.605 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/0.6349, allocations: 7.984 kB / 478.2 MB, free: 5.598 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.635, allocations: 20 kB / 478.2 MB, free: 5.578 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.462e-05/0.6351, allocations: 48.92 kB / 478.3 MB, free: 5.531 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.6369, allocations: 0.6204 MB / 478.9 MB, free: 4.91 MB / 410.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.007314/0.6443, allocations: 3.93 MB / 482.8 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009441/0.6452, allocations: 350.8 kB / 483.2 MB, free: 388 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.6454, allocations: 29.22 kB / 483.2 MB, free: 360 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.6454, allocations: 38.84 kB / 483.3 MB, free: 312 kB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 3.356e-06/0.6455, allocations: 0 / 483.3 MB, free: 312 kB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.2775/0.923, allocations: 1.63 MB / 484.9 MB, free: 142.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.9231, allocations: 137.1 kB / 485 MB, free: 142.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.9242, allocations: 0.5251 MB / 485.5 MB, free: 142.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.47e-05/0.9243, allocations: 36.17 kB / 485.6 MB, free: 142.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/0.9246, allocations: 377.4 kB / 485.9 MB, free: 142 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.9248, allocations: 148.4 kB / 486.1 MB, free: 141.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.9249, allocations: 11.75 kB / 486.1 MB, free: 141.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.925, allocations: 379.6 kB / 486.5 MB, free: 141.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006399/0.9257, allocations: 201.7 kB / 486.7 MB, free: 141.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008784/0.9266, allocations: 0.5256 MB / 487.2 MB, free: 141 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008374/0.9274, allocations: 305.6 kB / 487.5 MB, free: 140.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.9275, allocations: 3.562 kB / 487.5 MB, free: 140.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002461/0.9299, allocations: 0.8899 MB / 488.4 MB, free: 140.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.93, allocations: 9.906 kB / 488.4 MB, free: 140.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/0.93, allocations: 12.72 kB / 488.4 MB, free: 140.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002233/0.9323, allocations: 307.4 kB / 488.7 MB, free: 140.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008093/0.9331, allocations: 130.6 kB / 488.8 MB, free: 140.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.9346, allocations: 0.9036 MB / 489.7 MB, free: 139.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009917/0.9356, allocations: 45.86 kB / 489.8 MB, free: 139.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.9358, allocations: 70.45 kB / 489.9 MB, free: 139.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004739/0.9363, allocations: 252.3 kB / 490.1 MB, free: 139.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.9364, allocations: 65.36 kB / 490.2 MB, free: 139.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/0.9388, allocations: 0.6685 MB / 490.8 MB, free: 139.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.9388, allocations: 4.625 kB / 490.8 MB, free: 139.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.9388, allocations: 1.438 kB / 490.8 MB, free: 139.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.9389, allocations: 2.062 kB / 490.8 MB, free: 139.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002838/0.9417, allocations: 1.259 MB / 492.1 MB, free: 138.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.9417, allocations: 0.6562 kB / 492.1 MB, free: 138.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002025/0.9438, allocations: 211.2 kB / 492.3 MB, free: 138.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001376/0.9439, allocations: 25.02 kB / 492.3 MB, free: 138.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.475e-05/0.944, allocations: 20.75 kB / 492.4 MB, free: 138.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00222/0.9463, allocations: 2.696 MB / 495 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.9463, allocations: 2.281 kB / 495.1 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.9483, allocations: 0.8609 MB / 495.9 MB, free: 135.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/0.9487, allocations: 182.7 kB / 496.1 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.9489, allocations: 12.92 kB / 496.1 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006978/0.9496, allocations: 32.66 kB / 496.1 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.9497, allocations: 35.95 kB / 496.2 MB, free: 135.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/0.9499, allocations: 45.33 kB / 496.2 MB, free: 135.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007832/0.9507, allocations: 416.8 kB / 496.6 MB, free: 134.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.011e-06/0.9507, allocations: 0 / 496.6 MB, free: 134.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001454/0.9522, allocations: 289.4 kB / 496.9 MB, free: 134.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.001283/0.9535, allocations: 372.8 kB / 497.3 MB, free: 134.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001912/0.9554, allocations: 0.5509 MB / 497.8 MB, free: 134.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.9554, allocations: 1.125 kB / 497.8 MB, free: 134.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001595/0.957, allocations: 405.3 kB / 498.2 MB, free: 134.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/0.9597, allocations: 322.6 kB / 498.5 MB, free: 134.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.963, allocations: 1.538 MB / 0.4883 GB, free: 133.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006026/0.9637, allocations: 0.949 MB / 0.4893 GB, free: 132.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001935/0.9656, allocations: 272.2 kB / 0.4895 GB, free: 132.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005362/0.9662, allocations: 98.42 kB / 0.4896 GB, free: 132.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.292e-06/0.9662, allocations: 0 / 0.4896 GB, free: 132.6 MB / 410.7 MB Notification: Performance of Templates: time 0.04096/1.007, allocations: 15.98 MB / 0.5052 GB, free: 122.6 MB / 410.7 MB