Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(Modelica): time 1.83/1.83, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.781e-05, allocations: 4 kB / 258.8 MB, free: 8.047 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3021, allocations: 44.49 MB / 303.3 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.5336/0.8358, allocations: 143.5 MB / 446.8 MB, free: 1.34 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005283/0.8411, allocations: 3.057 MB / 449.9 MB, free: 1.285 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004996/0.8417, allocations: 9.219 kB / 449.9 MB, free: 1.281 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007484/0.8425, allocations: 188 kB / 450.1 MB, free: 1.277 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007329/0.8432, allocations: 232.5 kB / 450.3 MB, free: 1.273 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004907/0.8481, allocations: 1.284 MB / 451.6 MB, free: 1.219 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.8492, allocations: 472.5 kB / 452 MB, free: 1.203 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.8494, allocations: 67.92 kB / 452.1 MB, free: 1.199 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002723/0.8521, allocations: 0.8761 MB / 453 MB, free: 1.184 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005361/0.8527, allocations: 269.3 kB / 453.2 MB, free: 1.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007103/0.8598, allocations: 2.993 MB / 456.2 MB, free: 1.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009044/0.8608, allocations: 96.94 kB / 456.3 MB, free: 1.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003632/0.8612, allocations: 172.6 kB / 456.5 MB, free: 1.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000302/0.8615, allocations: 70.31 kB / 456.6 MB, free: 1.156 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004093/0.8656, allocations: 1.558 MB / 458.1 MB, free: 1.039 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.8657, allocations: 0 / 458.1 MB, free: 1.039 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.8657, allocations: 0 / 458.1 MB, free: 1.039 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.8657, allocations: 2.531 kB / 458.1 MB, free: 1.039 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002611/0.8683, allocations: 0.8939 MB / 459 MB, free: 16.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.8684, allocations: 7.938 kB / 459 MB, free: 16.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004392/0.8688, allocations: 60.84 kB / 459.1 MB, free: 16.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006409/0.8695, allocations: 355.5 kB / 459.4 MB, free: 16.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.8695, allocations: 36.48 kB / 459.5 MB, free: 16.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.8697, allocations: 44.72 kB / 459.5 MB, free: 16.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.8709, allocations: 0.497 MB / 460 MB, free: 16.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.871, allocations: 5.625 kB / 460 MB, free: 16.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.049e-05/0.8711, allocations: 18.94 kB / 460 MB, free: 16.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.8711, allocations: 8.25 kB / 460 MB, free: 16.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.8725, allocations: 0.5957 MB / 460.6 MB, free: 16.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004565/0.8771, allocations: 2.172 MB / 462.8 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.8789, allocations: 0.5609 MB / 463.4 MB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007089/0.8796, allocations: 0.6883 MB / 464.1 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.8797, allocations: 46.55 kB / 464.1 MB, free: 13.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 2.885e-06/0.8797, allocations: 0 / 464.1 MB, free: 13.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.02503/0.9047, allocations: 3.808 MB / 467.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.9048, allocations: 56.75 kB / 468 MB, free: 12.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004257/0.9053, allocations: 267.1 kB / 468.2 MB, free: 12.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.9054, allocations: 38.39 kB / 468.3 MB, free: 12.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.9056, allocations: 190.6 kB / 468.4 MB, free: 12.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/0.9058, allocations: 233.8 kB / 468.7 MB, free: 11.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.9059, allocations: 10.78 kB / 468.7 MB, free: 11.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.9061, allocations: 352.5 kB / 469 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.9072, allocations: 308.3 kB / 469.3 MB, free: 11.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.9084, allocations: 393.4 kB / 469.7 MB, free: 11.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.9097, allocations: 352.5 kB / 470.1 MB, free: 11.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.9097, allocations: 4 kB / 470.1 MB, free: 11.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003557/0.9132, allocations: 0.9698 MB / 471 MB, free: 11.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.9133, allocations: 6 kB / 471 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.9133, allocations: 2.844 kB / 471 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002574/0.9159, allocations: 348.8 kB / 471.4 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.917, allocations: 123.2 kB / 471.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005034/0.9221, allocations: 3.543 MB / 475 MB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.9233, allocations: 62.61 kB / 475.1 MB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.665e-05/0.9234, allocations: 30.08 kB / 475.1 MB, free: 7.781 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004043/0.9238, allocations: 196.1 kB / 475.3 MB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.924, allocations: 45.55 kB / 475.4 MB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003983/0.928, allocations: 1.032 MB / 476.4 MB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.928, allocations: 5.156 kB / 476.4 MB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.928, allocations: 6.844 kB / 476.4 MB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00333/0.9314, allocations: 1.079 MB / 477.5 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004728/0.9361, allocations: 1.718 MB / 479.2 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.9362, allocations: 0 / 479.2 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.9372, allocations: 112.6 kB / 479.3 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003003/0.9402, allocations: 394.6 kB / 479.7 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/0.9404, allocations: 23.02 kB / 479.7 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002285/0.9427, allocations: 0.8785 MB / 480.6 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.9428, allocations: 2.531 kB / 480.6 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004427/0.9472, allocations: 1.372 MB / 482 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.9474, allocations: 118.3 kB / 482.1 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.9476, allocations: 21.84 kB / 482.1 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.9488, allocations: 53.73 kB / 482.2 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.9489, allocations: 55.94 kB / 482.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.949, allocations: 29.67 kB / 482.3 MB, free: 4.953 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000346/0.9494, allocations: 225.2 kB / 482.5 MB, free: 4.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.9494, allocations: 0 / 482.5 MB, free: 4.844 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001637/0.951, allocations: 450.1 kB / 482.9 MB, free: 4.762 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001789/0.9528, allocations: 0.5357 MB / 483.5 MB, free: 4.508 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003067/0.9559, allocations: 1.002 MB / 484.5 MB, free: 4.156 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.9559, allocations: 3.312 kB / 484.5 MB, free: 4.156 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00142/0.9574, allocations: 421.4 kB / 484.9 MB, free: 4.094 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.9599, allocations: 291.3 kB / 485.2 MB, free: 3.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004346/0.9643, allocations: 1.529 MB / 486.7 MB, free: 2.836 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.9648, allocations: 0.8667 MB / 487.5 MB, free: 1.949 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009754/0.9658, allocations: 128.5 kB / 487.7 MB, free: 1.824 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.966, allocations: 54.48 kB / 487.7 MB, free: 1.773 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.9661, allocations: 4 kB / 487.7 MB, free: 1.77 MB / 378.7 MB Notification: Performance of Templates: time 0.04791/1.014, allocations: 19.81 MB / 0.4956 GB, free: 14.05 MB / 410.7 MB