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.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(Modelica): time 1.892/1.892, allocations: 171.2 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.237e-05/4.241e-05, allocations: 2.188 kB / 228.1 MB, free: 7.977 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 38.76 MB / 266.9 MB, free: 1.133 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.5168/0.6275, allocations: 143.4 MB / 410.3 MB, free: 3.152 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007064/0.6346, allocations: 3.05 MB / 413.4 MB, free: 96 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004886/0.6351, allocations: 7.938 kB / 413.4 MB, free: 88 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009186/0.6361, allocations: 183.2 kB / 413.5 MB, free: 15.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.6371, allocations: 235.3 kB / 413.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005716/0.6429, allocations: 1.274 MB / 415 MB, free: 14.4 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.6442, allocations: 472.1 kB / 415.5 MB, free: 13.94 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.6445, allocations: 68.31 kB / 415.6 MB, free: 13.87 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00327/0.6478, allocations: 0.8691 MB / 416.4 MB, free: 13 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008062/0.6486, allocations: 271.3 kB / 416.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00835/0.657, allocations: 2.973 MB / 419.7 MB, free: 9.758 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009102/0.658, allocations: 96 kB / 419.8 MB, free: 9.664 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005161/0.6586, allocations: 175.5 kB / 419.9 MB, free: 9.492 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003003/0.6589, allocations: 72 kB / 420 MB, free: 9.422 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004599/0.6635, allocations: 1.557 MB / 421.6 MB, free: 7.863 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6636, allocations: 0 / 421.6 MB, free: 7.863 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.6636, allocations: 0 / 421.6 MB, free: 7.863 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.865e-05/0.6636, allocations: 0 / 421.6 MB, free: 7.863 MB / 346.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.002982/0.6666, allocations: 0.9009 MB / 422.5 MB, free: 6.914 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.6667, allocations: 8.031 kB / 422.5 MB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005452/0.6672, allocations: 63.42 kB / 422.5 MB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007672/0.668, allocations: 338.3 kB / 422.9 MB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.173e-05/0.6681, allocations: 36.95 kB / 422.9 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.6682, allocations: 55.84 kB / 423 MB, free: 6.383 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.6697, allocations: 0.4983 MB / 423.5 MB, free: 5.879 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/0.6698, allocations: 4 kB / 423.5 MB, free: 5.875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.6699, allocations: 16 kB / 423.5 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.6699, allocations: 8 kB / 423.5 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.6716, allocations: 0.5973 MB / 424.1 MB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005493/0.6772, allocations: 1.996 MB / 426.1 MB, free: 3.078 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002344/0.6796, allocations: 0.5559 MB / 426.6 MB, free: 2.516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008613/0.6805, allocations: 0.6964 MB / 427.3 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.731e-05/0.6806, allocations: 43 kB / 427.4 MB, free: 1.621 MB / 346.7 MB Notification: Performance of pre-optimization done (n=53): time 5.38e-06/0.6806, allocations: 0 / 427.4 MB, free: 1.621 MB / 346.7 MB Notification: Performance of matching and sorting (n=65): time 0.02906/0.7097, allocations: 3.805 MB / 431.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/0.7098, allocations: 59.97 kB / 431.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005267/0.7104, allocations: 261.8 kB / 431.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001842/0.7106, allocations: 37.7 kB / 431.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.7108, allocations: 243.7 kB / 431.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003138/0.7111, allocations: 232.6 kB / 432 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.276e-05/0.7112, allocations: 16 kB / 432 MB, free: 12.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.7114, allocations: 338.8 kB / 432.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.7127, allocations: 313.1 kB / 432.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.7141, allocations: 392.2 kB / 433 MB, free: 11.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.7156, allocations: 347.1 kB / 433.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.7156, allocations: 4 kB / 433.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003975/0.7196, allocations: 0.9602 MB / 434.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.7197, allocations: 4 kB / 434.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.7197, allocations: 4 kB / 434.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002718/0.7224, allocations: 346.3 kB / 434.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.7236, allocations: 123.8 kB / 434.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005737/0.7294, allocations: 3.538 MB / 438.3 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.7306, allocations: 64 kB / 438.4 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.7307, allocations: 27.98 kB / 438.4 MB, free: 6.094 MB / 362.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.0004413/0.7312, allocations: 193.6 kB / 438.6 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.7314, allocations: 47.48 kB / 438.7 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004336/0.7357, allocations: 1.04 MB / 439.7 MB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.7358, allocations: 8 kB / 439.7 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.7358, allocations: 4 kB / 439.7 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0037/0.7395, allocations: 1.079 MB / 440.8 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005583/0.7451, allocations: 1.71 MB / 442.5 MB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.7452, allocations: 3.984 kB / 442.5 MB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.7463, allocations: 107.9 kB / 442.6 MB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003181/0.7495, allocations: 388.3 kB / 443 MB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/0.7497, allocations: 23.94 kB / 443 MB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003015/0.7528, allocations: 0.8842 MB / 443.9 MB, free: 440 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.7528, allocations: 4.031 kB / 443.9 MB, free: 436 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.286/1.039, allocations: 1.363 MB / 445.3 MB, free: 140.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002147/1.039, allocations: 121.2 kB / 445.4 MB, free: 140.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/1.039, allocations: 25.3 kB / 445.4 MB, free: 140.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/1.041, allocations: 58.08 kB / 445.5 MB, free: 140.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.041, allocations: 42.66 kB / 445.5 MB, free: 140.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/1.041, allocations: 30.69 kB / 445.5 MB, free: 140.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003883/1.041, allocations: 223.5 kB / 445.8 MB, free: 140.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.041, allocations: 3.906 kB / 445.8 MB, free: 140.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001716/1.043, allocations: 449.5 kB / 446.2 MB, free: 140.6 MB / 362.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.001917/1.045, allocations: 0.5268 MB / 446.7 MB, free: 140.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003452/1.048, allocations: 1.007 MB / 447.7 MB, free: 140.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.048, allocations: 1.312 kB / 447.7 MB, free: 140.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0017/1.05, allocations: 430.6 kB / 448.2 MB, free: 140.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/1.053, allocations: 289.5 kB / 448.4 MB, free: 140.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004821/1.058, allocations: 1.565 MB / 450 MB, free: 139.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/1.059, allocations: 0.8607 MB / 450.9 MB, free: 138.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004135/1.059, allocations: 59.17 kB / 450.9 MB, free: 138.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/1.059, allocations: 0 / 450.9 MB, free: 138.6 MB / 362.7 MB Notification: Performance of Templates: time 0.03527/1.094, allocations: 17.28 MB / 468.2 MB, free: 128.5 MB / 362.7 MB