Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(Modelica): time 1.616/1.616, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.221e-05/3.238e-05, allocations: 8 kB / 228.2 MB, free: 7.312 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07684/0.07689, allocations: 38.77 MB / 266.9 MB, free: 472 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.4036/0.4806, allocations: 117.7 MB / 384.6 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002976/0.4836, allocations: 1.41 MB / 386 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.4838, allocations: 4 kB / 386 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006164/0.4844, allocations: 147.8 kB / 386.2 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005526/0.485, allocations: 199.4 kB / 386.4 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.4863, allocations: 319.9 kB / 386.7 MB, free: 10.15 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006358/0.487, allocations: 347.1 kB / 387 MB, free: 9.809 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.4872, allocations: 43.95 kB / 387.1 MB, free: 9.766 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00067/0.4878, allocations: 279.3 kB / 387.3 MB, free: 9.492 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004629/0.4883, allocations: 191.5 kB / 387.5 MB, free: 9.305 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004029/0.4887, allocations: 83.89 kB / 387.6 MB, free: 9.223 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.484e-05/0.4888, allocations: 19.94 kB / 387.6 MB, free: 9.203 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.489, allocations: 71.78 kB / 387.7 MB, free: 9.133 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.4891, allocations: 40 kB / 387.7 MB, free: 9.094 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006537/0.4898, allocations: 385.1 kB / 388.1 MB, free: 8.723 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.4898, allocations: 4 kB / 388.1 MB, free: 8.719 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.4898, allocations: 0 / 388.1 MB, free: 8.719 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.4898, allocations: 0 / 388.1 MB, free: 8.719 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009295/0.4908, allocations: 0.5069 MB / 388.6 MB, free: 8.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.4908, allocations: 8.031 kB / 388.6 MB, free: 8.152 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003713/0.4912, allocations: 39.62 kB / 388.7 MB, free: 8.113 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/0.4917, allocations: 282.6 kB / 388.9 MB, free: 7.797 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.4918, allocations: 24.5 kB / 389 MB, free: 7.773 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.544e-05/0.4918, allocations: 24 kB / 389 MB, free: 7.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00076/0.4926, allocations: 293.4 kB / 389.3 MB, free: 7.449 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.4926, allocations: 3.906 kB / 389.3 MB, free: 7.445 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.589e-05/0.4927, allocations: 12 kB / 389.3 MB, free: 7.434 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.4927, allocations: 11.95 kB / 389.3 MB, free: 7.422 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005602/0.4933, allocations: 206.1 kB / 389.5 MB, free: 7.223 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/0.4959, allocations: 1.285 MB / 390.8 MB, free: 5.812 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005717/0.4965, allocations: 191.2 kB / 391 MB, free: 5.617 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002017/0.4967, allocations: 166.3 kB / 391.1 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.4967, allocations: 42.73 kB / 391.2 MB, free: 5.367 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 2.795e-06/0.4967, allocations: 0 / 391.2 MB, free: 5.367 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.003908/0.5006, allocations: 1.038 MB / 392.2 MB, free: 4.234 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.5008, allocations: 63.34 kB / 392.3 MB, free: 4.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/0.5012, allocations: 229.8 kB / 392.5 MB, free: 3.926 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.5012, allocations: 33.7 kB / 392.5 MB, free: 3.887 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.5014, allocations: 180.1 kB / 392.7 MB, free: 3.703 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.5015, allocations: 90.73 kB / 392.8 MB, free: 3.613 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.5016, allocations: 4 kB / 392.8 MB, free: 3.609 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.5017, allocations: 338.8 kB / 393.1 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.502, allocations: 79.91 kB / 393.2 MB, free: 3.191 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.5023, allocations: 191.5 kB / 393.4 MB, free: 2.961 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.5026, allocations: 111.9 kB / 393.5 MB, free: 2.852 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5027, allocations: 0 / 393.5 MB, free: 2.852 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001041/0.5037, allocations: 447.8 kB / 393.9 MB, free: 2.383 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.5038, allocations: 8 kB / 393.9 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.5038, allocations: 0.8125 kB / 393.9 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/0.504, allocations: 41.7 kB / 394 MB, free: 2.328 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006152/0.5046, allocations: 80.17 kB / 394.1 MB, free: 2.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.5073, allocations: 2.582 MB / 396.6 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/0.5077, allocations: 24.17 kB / 396.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/0.5078, allocations: 16 kB / 396.7 MB, free: 15.37 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002566/0.5081, allocations: 157.7 kB / 396.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.542e-05/0.5082, allocations: 31.62 kB / 396.9 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008705/0.5091, allocations: 354.8 kB / 397.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.5091, allocations: 0 / 397.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.5091, allocations: 4 kB / 397.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007937/0.5099, allocations: 0.623 MB / 397.8 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.5114, allocations: 0.7509 MB / 398.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.5114, allocations: 0 / 398.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005349/0.512, allocations: 60.53 kB / 398.7 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/0.5121, allocations: 20.84 kB / 398.7 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.5122, allocations: 11.94 kB / 398.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/0.5134, allocations: 1.288 MB / 400 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5134, allocations: 0 / 400 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.5145, allocations: 0.5159 MB / 400.5 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.5146, allocations: 108.8 kB / 400.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.786e-05/0.5147, allocations: 8 kB / 400.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004376/0.5152, allocations: 15.98 kB / 400.6 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.5152, allocations: 20.03 kB / 400.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.817e-05/0.5153, allocations: 15.98 kB / 400.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002744/0.5156, allocations: 178 kB / 400.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5156, allocations: 0 / 400.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000621/0.5162, allocations: 107.9 kB / 400.9 MB, free: 10.69 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002838/0.5165, allocations: 135.1 kB / 401.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009534/0.5175, allocations: 453.7 kB / 401.5 MB, free: 10.08 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5175, allocations: 0 / 401.5 MB, free: 10.08 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004199/0.5179, allocations: 222.5 kB / 401.7 MB, free: 9.848 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.5194, allocations: 157.2 kB / 401.9 MB, free: 9.695 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.5212, allocations: 0.7915 MB / 402.7 MB, free: 8.875 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.5216, allocations: 0.7648 MB / 403.4 MB, free: 8.086 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004965/0.5221, allocations: 62.92 kB / 403.5 MB, free: 8.023 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.5223, allocations: 31.44 kB / 403.5 MB, free: 7.992 MB / 330.7 MB Notification: Performance of SimCode: time 1.373e-06/0.5223, allocations: 0 / 403.5 MB, free: 7.992 MB / 330.7 MB Notification: Performance of Templates: time 0.01686/0.5391, allocations: 5.66 MB / 409.2 MB, free: 2.348 MB / 330.7 MB