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.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadModel(Modelica): time 2.117/2.117, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.609e-05, allocations: 7.906 kB / 258.8 MB, free: 8.711 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3155, allocations: 44.51 MB / 303.3 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.08015/0.3958, allocations: 37.54 MB / 340.8 MB, free: 8.074 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007728/0.4035, allocations: 3.599 MB / 344.4 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004895/0.4041, allocations: 7.938 kB / 344.4 MB, free: 4.465 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008506/0.405, allocations: 183.1 kB / 344.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008519/0.4058, allocations: 235.3 kB / 344.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0158/0.4217, allocations: 4.125 MB / 349 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.4229, allocations: 456.2 kB / 349.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.4232, allocations: 68.48 kB / 349.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01433/0.4375, allocations: 5.926 MB / 355.4 MB, free: 9.473 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007721/0.4384, allocations: 259.3 kB / 355.7 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02686/0.4653, allocations: 8.217 MB / 363.9 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004373/0.4697, allocations: 435.9 kB / 364.3 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000626/0.4704, allocations: 179.5 kB / 364.5 MB, free: 400 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004505/0.4709, allocations: 64 kB / 364.5 MB, free: 336 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0157/0.4866, allocations: 3.419 MB / 368 MB, free: 12.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4867, allocations: 0 / 368 MB, free: 12.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4867, allocations: 3.938 kB / 368 MB, free: 12.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.101e-05/0.4867, allocations: 4 kB / 368 MB, free: 12.89 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.004438/0.4912, allocations: 1.193 MB / 369.2 MB, free: 11.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.592e-05/0.4913, allocations: 16.02 kB / 369.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005377/0.4918, allocations: 59.44 kB / 369.2 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008824/0.4927, allocations: 358.2 kB / 369.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.681e-05/0.4928, allocations: 33 kB / 369.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.493, allocations: 40 kB / 369.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/0.4951, allocations: 0.5218 MB / 370.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.4952, allocations: 3.938 kB / 370.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.4953, allocations: 20 kB / 370.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.4953, allocations: 12 kB / 370.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002278/0.4976, allocations: 0.6441 MB / 370.9 MB, free: 9.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02717/0.5248, allocations: 12.22 MB / 383.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.5269, allocations: 0.6551 MB / 383.7 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0229/0.5499, allocations: 10.76 MB / 394.5 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.895e-05/0.55, allocations: 39 kB / 394.5 MB, free: 13.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 3.196e-06/0.55, allocations: 0 / 394.5 MB, free: 13.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.009509/0.5595, allocations: 2.035 MB / 396.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.5596, allocations: 55.97 kB / 396.6 MB, free: 11.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005638/0.5602, allocations: 298 kB / 396.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.5603, allocations: 33.7 kB / 396.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.5606, allocations: 254.8 kB / 397.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/0.5608, allocations: 193.2 kB / 397.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.5609, allocations: 12 kB / 397.4 MB, free: 10.97 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.5611, allocations: 334.8 kB / 397.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006494/0.5618, allocations: 224.9 kB / 397.9 MB, free: 10.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.5628, allocations: 314.5 kB / 398.3 MB, free: 10.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.5638, allocations: 264.8 kB / 398.5 MB, free: 9.824 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.82e-06/0.5639, allocations: 0 / 398.5 MB, free: 9.824 MB / 346.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002786/0.5667, allocations: 0.6933 MB / 399.2 MB, free: 9.113 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.5667, allocations: 4 kB / 399.2 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.5667, allocations: 4.25 kB / 399.2 MB, free: 9.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008604/0.5676, allocations: 102.5 kB / 399.3 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.569, allocations: 131.8 kB / 399.4 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006023/0.575, allocations: 3.286 MB / 402.7 MB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008791/0.576, allocations: 44.19 kB / 402.8 MB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.5761, allocations: 27.98 kB / 402.8 MB, free: 5.223 MB / 346.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.0004241/0.5765, allocations: 185.7 kB / 403 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004093/0.5769, allocations: 47.47 kB / 403 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/0.5793, allocations: 0.6891 MB / 403.7 MB, free: 4.273 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.5794, allocations: 15.88 kB / 403.7 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5794, allocations: 0 / 403.7 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001963/0.5814, allocations: 0.7781 MB / 404.5 MB, free: 3.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003942/0.5854, allocations: 1.377 MB / 405.9 MB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.5855, allocations: 4 kB / 405.9 MB, free: 1.953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00099/0.5865, allocations: 115.9 kB / 406 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001523/0.588, allocations: 144.6 kB / 406.1 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.5882, allocations: 19.98 kB / 406.2 MB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006331/0.5888, allocations: 0.6484 MB / 406.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.651e-05/0.5888, allocations: 11.89 kB / 406.8 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002987/0.5918, allocations: 0.9883 MB / 407.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/0.5921, allocations: 120.6 kB / 407.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.5923, allocations: 12 kB / 407.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008657/0.5932, allocations: 47.81 kB / 408 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.5933, allocations: 40.45 kB / 408 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.5934, allocations: 31.97 kB / 408.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004532/0.5939, allocations: 237.9 kB / 408.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5939, allocations: 0 / 408.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00526/0.5992, allocations: 1.288 MB / 409.6 MB, free: 14.16 MB / 362.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.008954/0.6082, allocations: 1.536 MB / 411.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002425/0.6107, allocations: 0.798 MB / 411.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.6107, allocations: 64 / 411.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.6118, allocations: 303.9 kB / 412.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00269/0.6145, allocations: 277.8 kB / 412.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.6182, allocations: 1.405 MB / 413.9 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006299/0.6188, allocations: 0.8491 MB / 414.7 MB, free: 8.902 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/0.6193, allocations: 63.42 kB / 414.8 MB, free: 8.84 MB / 362.7 MB Notification: Performance of SimCode: time 1.302e-06/0.6193, allocations: 0 / 414.8 MB, free: 8.84 MB / 362.7 MB Notification: Performance of Templates: time 0.3812/1.001, allocations: 37.6 MB / 452.4 MB, free: 90.05 MB / 362.7 MB