Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadModel(Modelica): time 1.811/1.811, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.333e-05/2.342e-05, allocations: 4 kB / 258.8 MB, free: 8.051 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2905, allocations: 44.49 MB / 303.3 MB, free: 12.93 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07816/0.3687, allocations: 47.88 MB / 351.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007754/0.3765, allocations: 3.865 MB / 355.1 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000597/0.3772, allocations: 4 kB / 355.1 MB, free: 9.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009883/0.3782, allocations: 270.8 kB / 355.3 MB, free: 9.465 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009716/0.3792, allocations: 315.1 kB / 355.6 MB, free: 9.156 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01535/0.3945, allocations: 4.293 MB / 359.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00135/0.3959, allocations: 0.6254 MB / 360.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.3962, allocations: 102.3 kB / 360.7 MB, free: 4.125 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.3973, allocations: 0.4988 MB / 361.1 MB, free: 3.625 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007147/0.398, allocations: 367 kB / 361.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02183/0.4199, allocations: 8.314 MB / 369.8 MB, free: 10.94 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002941/0.4229, allocations: 447.9 kB / 370.3 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005663/0.4235, allocations: 243.5 kB / 370.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000358/0.4239, allocations: 92 kB / 370.6 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009479/0.4334, allocations: 3.707 MB / 374.3 MB, free: 6.461 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4334, allocations: 0 / 374.3 MB, free: 6.461 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4334, allocations: 4 kB / 374.3 MB, free: 6.457 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.964e-05/0.4335, allocations: 0 / 374.3 MB, free: 6.457 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004704/0.4382, allocations: 1.349 MB / 375.6 MB, free: 5.059 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.4382, allocations: 12.02 kB / 375.7 MB, free: 5.047 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006331/0.4389, allocations: 79.25 kB / 375.7 MB, free: 4.969 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008845/0.4398, allocations: 421.2 kB / 376.1 MB, free: 4.516 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.699e-05/0.4398, allocations: 45.31 kB / 376.2 MB, free: 4.473 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.44, allocations: 71.94 kB / 376.3 MB, free: 4.402 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002568/0.4426, allocations: 0.717 MB / 377 MB, free: 3.676 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.651e-05/0.4427, allocations: 3.906 kB / 377 MB, free: 3.672 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.4428, allocations: 31.95 kB / 377 MB, free: 3.641 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.4428, allocations: 19.98 kB / 377 MB, free: 3.621 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00278/0.4456, allocations: 0.8912 MB / 377.9 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02652/0.4722, allocations: 13.01 MB / 390.9 MB, free: 3.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.4746, allocations: 0.8683 MB / 391.8 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02089/0.4955, allocations: 11.11 MB / 402.9 MB, free: 5.324 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.298e-05/0.4956, allocations: 43.22 kB / 403 MB, free: 5.273 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 3.055e-06/0.4957, allocations: 0 / 403 MB, free: 5.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=88): time 0.01577/0.5114, allocations: 3.306 MB / 406.3 MB, free: 1.875 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.5115, allocations: 60.41 kB / 406.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005791/0.5121, allocations: 315.7 kB / 406.6 MB, free: 1.496 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.5123, allocations: 49.7 kB / 406.7 MB, free: 1.441 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.5125, allocations: 236.7 kB / 406.9 MB, free: 1.203 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003476/0.5129, allocations: 307.5 kB / 407.2 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.083e-05/0.5129, allocations: 20 kB / 407.2 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.5131, allocations: 358.8 kB / 407.6 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009579/0.5141, allocations: 345.8 kB / 407.9 MB, free: 184 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.5156, allocations: 459.4 kB / 408.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.517, allocations: 414.8 kB / 408.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.517, allocations: 0 / 408.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003934/0.521, allocations: 1.051 MB / 409.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.5211, allocations: 7.953 kB / 409.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.5211, allocations: 4.25 kB / 409.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.5223, allocations: 171.2 kB / 410 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.5239, allocations: 183.7 kB / 410.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003856/0.5277, allocations: 3.939 MB / 414.1 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009998/0.5288, allocations: 59.91 kB / 414.2 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.5289, allocations: 35.98 kB / 414.2 MB, free: 9.512 MB / 362.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,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.0005139/0.5294, allocations: 229.6 kB / 414.4 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004989/0.53, allocations: 59.34 kB / 414.5 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003407/0.5334, allocations: 1.089 MB / 415.6 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.5334, allocations: 19.95 kB / 415.6 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5334, allocations: 0 / 415.6 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00275/0.5362, allocations: 1.331 MB / 416.9 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005369/0.5416, allocations: 2.026 MB / 419 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.5417, allocations: 4 kB / 419 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/0.5431, allocations: 175.8 kB / 419.1 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002863/0.546, allocations: 297.2 kB / 419.4 MB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.5462, allocations: 31.98 kB / 419.5 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.5472, allocations: 1.289 MB / 420.8 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5473, allocations: 0 / 420.8 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004143/0.5514, allocations: 1.497 MB / 422.2 MB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.5517, allocations: 136.5 kB / 422.4 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.5519, allocations: 24 kB / 422.4 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.553, allocations: 63.75 kB / 422.5 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.5532, allocations: 56.92 kB / 422.5 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/0.5533, allocations: 43.97 kB / 422.6 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004393/0.5538, allocations: 259 kB / 422.8 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5538, allocations: 3.938 kB / 422.8 MB, free: 0.543 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.2431/0.7969, allocations: 1.368 MB / 424.2 MB, free: 112.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008554/0.8055, allocations: 1.594 MB / 425.8 MB, free: 112.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003059/0.8086, allocations: 1.129 MB / 426.9 MB, free: 111.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.8087, allocations: 0 / 426.9 MB, free: 111.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.81, allocations: 0.4921 MB / 427.4 MB, free: 111.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003296/0.8133, allocations: 394.2 kB / 427.8 MB, free: 111.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/0.8174, allocations: 2.021 MB / 429.8 MB, free: 110.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.8179, allocations: 0.9372 MB / 430.7 MB, free: 110.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001298/0.8192, allocations: 183.3 kB / 430.9 MB, free: 110 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/0.8195, allocations: 75.36 kB / 431 MB, free: 110 MB / 362.7 MB Notification: Performance of SimCode: time 1.153e-06/0.8195, allocations: 0 / 431 MB, free: 110 MB / 362.7 MB Notification: Performance of Templates: time 0.09011/0.9097, allocations: 48.21 MB / 479.2 MB, free: 64.67 MB / 362.7 MB