Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadModel(Modelica): time 1.666/1.666, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.732e-05/3.742e-05, allocations: 7.984 kB / 228.1 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08052/0.08058, allocations: 38.77 MB / 266.9 MB, free: 496 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2868/0.3674, allocations: 37.39 MB / 304.3 MB, free: 4.664 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006919/0.3744, allocations: 3.594 MB / 307.9 MB, free: 4.625 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005894/0.375, allocations: 5.188 kB / 307.9 MB, free: 4.625 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007325/0.3758, allocations: 180.7 kB / 308.1 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008955/0.3767, allocations: 230.4 kB / 308.3 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01446/0.3912, allocations: 4.127 MB / 312.4 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001198/0.3924, allocations: 451.3 kB / 312.9 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.3926, allocations: 67.56 kB / 312.9 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01349/0.4061, allocations: 5.933 MB / 318.9 MB, free: 3.895 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000694/0.4069, allocations: 250.1 kB / 319.1 MB, free: 3.844 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02004/0.4269, allocations: 8.159 MB / 327.3 MB, free: 444 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002915/0.4299, allocations: 432 kB / 327.7 MB, free: 12 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005273/0.4305, allocations: 172.8 kB / 327.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003681/0.4309, allocations: 64 kB / 327.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.4409, allocations: 3.422 MB / 331.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.441, allocations: 0 / 331.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.441, allocations: 0 / 331.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.441, allocations: 0 / 331.3 MB, free: 12.89 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00427/0.4453, allocations: 1.201 MB / 332.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.4453, allocations: 8.031 kB / 332.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004934/0.4458, allocations: 56.17 kB / 332.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007306/0.4466, allocations: 350.7 kB / 332.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.4467, allocations: 34.77 kB / 333 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.4468, allocations: 39.62 kB / 333 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.4488, allocations: 0.5303 MB / 333.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.4488, allocations: 0 / 333.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-05/0.4489, allocations: 18.12 kB / 333.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.4489, allocations: 12 kB / 333.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/0.451, allocations: 0.6406 MB / 334.2 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02624/0.4773, allocations: 12.06 MB / 346.3 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.4791, allocations: 0.6549 MB / 346.9 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02179/0.5009, allocations: 10.76 MB / 357.7 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.704e-05/0.501, allocations: 37.62 kB / 357.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 3.577e-06/0.501, allocations: 3.938 kB / 357.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.009179/0.5102, allocations: 2.048 MB / 359.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.5103, allocations: 55.97 kB / 359.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005302/0.5108, allocations: 282.2 kB / 360.1 MB, free: 13.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.741e-05/0.511, allocations: 40.7 kB / 360.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.5112, allocations: 208.3 kB / 360.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/0.5114, allocations: 188.5 kB / 360.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.5115, allocations: 11.94 kB / 360.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.5117, allocations: 354.8 kB / 360.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006447/0.5123, allocations: 221 kB / 361.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.5134, allocations: 310.5 kB / 361.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009879/0.5144, allocations: 266.8 kB / 361.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.5144, allocations: 4 kB / 361.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002842/0.5173, allocations: 0.7072 MB / 362.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.5173, allocations: 8 kB / 362.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.5174, allocations: 0 / 362.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007398/0.5181, allocations: 109.4 kB / 362.5 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.5191, allocations: 122 kB / 362.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003831/0.523, allocations: 3.283 MB / 365.9 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007815/0.5238, allocations: 44 kB / 366 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.524, allocations: 31.98 kB / 366 MB, free: 7.016 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 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.0004439/0.5244, allocations: 184.8 kB / 366.2 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004525/0.5249, allocations: 43.53 kB / 366.2 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.5273, allocations: 0.6993 MB / 366.9 MB, free: 6.074 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.5273, allocations: 11.98 kB / 366.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5273, allocations: 0 / 366.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001832/0.5292, allocations: 0.7807 MB / 367.7 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003723/0.5329, allocations: 1.373 MB / 369.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.533, allocations: 4 kB / 369.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009296/0.5339, allocations: 111.9 kB / 369.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001469/0.5354, allocations: 148.6 kB / 369.3 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.913e-05/0.5355, allocations: 23.98 kB / 369.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006313/0.5362, allocations: 0.6473 MB / 370 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5362, allocations: 0 / 370 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002923/0.5391, allocations: 0.998 MB / 371 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.5394, allocations: 128.6 kB / 371.1 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.5396, allocations: 15.98 kB / 371.1 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008871/0.5404, allocations: 27.98 kB / 371.2 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.5406, allocations: 47.03 kB / 371.2 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.5407, allocations: 23.98 kB / 371.2 MB, free: 1.539 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004428/0.5412, allocations: 241.9 kB / 371.5 MB, free: 1.297 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5412, allocations: 3.938 kB / 371.5 MB, free: 1.293 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.004858/0.546, allocations: 1.284 MB / 372.8 MB, free: 8 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008447/0.5545, allocations: 1.538 MB / 374.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002396/0.557, allocations: 0.7961 MB / 375.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.557, allocations: 4 kB / 375.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009517/0.558, allocations: 296 kB / 375.4 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002679/0.5607, allocations: 288.7 kB / 375.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.5641, allocations: 1.358 MB / 377 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005807/0.5647, allocations: 0.8532 MB / 377.9 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009945/0.5657, allocations: 132.4 kB / 378 MB, free: 10.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.566, allocations: 55.42 kB / 378.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.566, allocations: 0 / 378.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of Templates: time 0.1038/0.6698, allocations: 43.48 MB / 421.5 MB, free: 15.32 MB / 362.7 MB