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_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadModel(Modelica): time 2.023/2.023, allocations: 194.9 MB / 211.2 MB, free: 9.32 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.452e-05, allocations: 7.891 kB / 258.8 MB, free: 9.688 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3225, allocations: 44.5 MB / 303.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.08728/0.4099, allocations: 47.89 MB / 351.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008494/0.4184, allocations: 3.861 MB / 355 MB, free: 9.973 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006366/0.4191, allocations: 8 kB / 355 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.4202, allocations: 262.7 kB / 355.3 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.4214, allocations: 323.1 kB / 355.6 MB, free: 9.391 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01661/0.438, allocations: 4.304 MB / 359.9 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.4397, allocations: 0.6215 MB / 360.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003211/0.4401, allocations: 106.3 kB / 360.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.4415, allocations: 0.4988 MB / 361.1 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.4426, allocations: 355.1 kB / 361.5 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02349/0.4661, allocations: 8.314 MB / 369.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003243/0.4694, allocations: 444 kB / 370.2 MB, free: 10.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007211/0.4702, allocations: 251.4 kB / 370.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003821/0.4706, allocations: 92 kB / 370.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.4809, allocations: 3.703 MB / 374.3 MB, free: 6.695 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.481, allocations: 3.938 kB / 374.3 MB, free: 6.691 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.481, allocations: 0 / 374.3 MB, free: 6.691 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.302e-05/0.481, allocations: 0 / 374.3 MB, free: 6.691 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.005144/0.4862, allocations: 1.346 MB / 375.6 MB, free: 5.297 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.4862, allocations: 8.031 kB / 375.6 MB, free: 5.289 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006743/0.4869, allocations: 87.23 kB / 375.7 MB, free: 5.203 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.4879, allocations: 421.1 kB / 376.1 MB, free: 4.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.678e-05/0.488, allocations: 49.31 kB / 376.2 MB, free: 4.703 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.4882, allocations: 63.94 kB / 376.2 MB, free: 4.641 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002919/0.4911, allocations: 0.717 MB / 377 MB, free: 3.914 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.361e-05/0.4912, allocations: 7.906 kB / 377 MB, free: 3.906 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.4914, allocations: 35.95 kB / 377 MB, free: 3.871 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.4914, allocations: 16 kB / 377 MB, free: 3.855 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003091/0.4945, allocations: 0.8951 MB / 377.9 MB, free: 2.961 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02898/0.5236, allocations: 13.01 MB / 390.9 MB, free: 3.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/0.5264, allocations: 0.8644 MB / 391.8 MB, free: 2.812 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02277/0.5492, allocations: 11.11 MB / 402.9 MB, free: 5.559 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.029e-05/0.5493, allocations: 51.22 kB / 402.9 MB, free: 5.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 4.138e-06/0.5493, allocations: 0 / 402.9 MB, free: 5.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=88): time 0.02387/0.5732, allocations: 3.295 MB / 406.2 MB, free: 2.113 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.5733, allocations: 60.41 kB / 406.3 MB, free: 2.043 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008291/0.5742, allocations: 319.7 kB / 406.6 MB, free: 1.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002725/0.5745, allocations: 41.7 kB / 406.7 MB, free: 1.684 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.5748, allocations: 291.2 kB / 406.9 MB, free: 1.395 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005332/0.5753, allocations: 307.5 kB / 407.2 MB, free: 1.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.882e-05/0.5755, allocations: 16 kB / 407.3 MB, free: 1.074 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.5757, allocations: 342.8 kB / 407.6 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/0.5772, allocations: 349.8 kB / 407.9 MB, free: 396 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/0.5797, allocations: 459.4 kB / 408.4 MB, free: 15.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002421/0.5822, allocations: 410.8 kB / 408.8 MB, free: 15.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.5823, allocations: 4 kB / 408.8 MB, free: 15.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.006491/0.5888, allocations: 1.039 MB / 409.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.5889, allocations: 7.953 kB / 409.8 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.683e-05/0.5889, allocations: 4 kB / 409.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001907/0.5908, allocations: 163.6 kB / 410 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002227/0.5931, allocations: 187.7 kB / 410.2 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006025/0.5992, allocations: 3.939 MB / 414.1 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.6007, allocations: 60.19 kB / 414.2 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/0.601, allocations: 39.98 kB / 414.2 MB, free: 9.727 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.0007482/0.6018, allocations: 230.2 kB / 414.4 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008803/0.6027, allocations: 55.44 kB / 414.5 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005536/0.6082, allocations: 1.089 MB / 415.6 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.14e-05/0.6083, allocations: 11.95 kB / 415.6 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6083, allocations: 0 / 415.6 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005055/0.6134, allocations: 1.335 MB / 416.9 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008828/0.6223, allocations: 2.03 MB / 419 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.6224, allocations: 4 kB / 419 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002069/0.6245, allocations: 171.8 kB / 419.1 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004342/0.6289, allocations: 289.3 kB / 419.4 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002608/0.6292, allocations: 31.98 kB / 419.4 MB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.6308, allocations: 1.289 MB / 420.7 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/0.6308, allocations: 0 / 420.7 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006813/0.6377, allocations: 1.494 MB / 422.2 MB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004999/0.6382, allocations: 140.5 kB / 422.4 MB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003468/0.6386, allocations: 20 kB / 422.4 MB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00185/0.6405, allocations: 71.73 kB / 422.5 MB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002578/0.6408, allocations: 56.92 kB / 422.5 MB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002189/0.641, allocations: 47.97 kB / 422.6 MB, free: 1.023 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007475/0.6418, allocations: 259 kB / 422.8 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.108e-06/0.6419, allocations: 0 / 422.8 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.3602/1.002, allocations: 1.369 MB / 424.2 MB, free: 112.1 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.01433/1.016, allocations: 1.587 MB / 425.8 MB, free: 112 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00521/1.022, allocations: 1.132 MB / 426.9 MB, free: 111.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/1.022, allocations: 2.031 kB / 426.9 MB, free: 111.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002281/1.024, allocations: 0.5002 MB / 427.4 MB, free: 111.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005025/1.029, allocations: 390.6 kB / 427.8 MB, free: 111.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006694/1.036, allocations: 2.073 MB / 429.9 MB, free: 110.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006864/1.037, allocations: 0.9357 MB / 430.8 MB, free: 109.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007101/1.037, allocations: 84.5 kB / 430.9 MB, free: 109.9 MB / 362.7 MB Notification: Performance of SimCode: time 1.924e-06/1.038, allocations: 4 kB / 430.9 MB, free: 109.9 MB / 362.7 MB Notification: Performance of Templates: time 0.1209/1.158, allocations: 44.23 MB / 475.1 MB, free: 69.02 MB / 362.7 MB