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.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(Modelica): time 2.01/2.01, allocations: 194.9 MB / 211.2 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.007e-05, allocations: 7.906 kB / 258.8 MB, free: 8.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3047, allocations: 44.5 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.2008/0.5056, allocations: 117.7 MB / 421 MB, free: 7.664 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003465/0.5091, allocations: 1.406 MB / 422.4 MB, free: 6.254 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003943/0.5095, allocations: 7.938 kB / 422.4 MB, free: 6.246 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006898/0.5102, allocations: 135.3 kB / 422.6 MB, free: 6.113 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000651/0.5109, allocations: 199.4 kB / 422.7 MB, free: 5.918 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.5123, allocations: 331.2 kB / 423.1 MB, free: 5.594 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008208/0.5132, allocations: 339 kB / 423.4 MB, free: 5.262 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.5134, allocations: 47.88 kB / 423.5 MB, free: 5.215 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008061/0.5142, allocations: 275.4 kB / 423.7 MB, free: 4.945 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004962/0.5147, allocations: 199.5 kB / 423.9 MB, free: 4.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004286/0.5151, allocations: 79.88 kB / 424 MB, free: 4.672 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.786e-05/0.5152, allocations: 12 kB / 424 MB, free: 4.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.5154, allocations: 75.73 kB / 424.1 MB, free: 4.586 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.5155, allocations: 40 kB / 424.1 MB, free: 4.547 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007082/0.5163, allocations: 384.8 kB / 424.5 MB, free: 4.172 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5163, allocations: 0 / 424.5 MB, free: 4.172 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.5163, allocations: 7.938 kB / 424.5 MB, free: 4.164 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.5163, allocations: 0 / 424.5 MB, free: 4.164 MB / 362.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.0009989/0.5173, allocations: 0.4992 MB / 425 MB, free: 3.617 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.5174, allocations: 8.031 kB / 425 MB, free: 3.609 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003956/0.5178, allocations: 43.61 kB / 425 MB, free: 3.566 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/0.5184, allocations: 274.5 kB / 425.3 MB, free: 3.258 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.5184, allocations: 20.52 kB / 425.3 MB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.56e-05/0.5185, allocations: 28 kB / 425.4 MB, free: 3.211 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007911/0.5193, allocations: 297.3 kB / 425.7 MB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.5193, allocations: 0 / 425.7 MB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.857e-05/0.5194, allocations: 12 kB / 425.7 MB, free: 2.887 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.5194, allocations: 4 kB / 425.7 MB, free: 2.883 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005463/0.52, allocations: 202.1 kB / 425.9 MB, free: 2.688 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00277/0.5228, allocations: 1.301 MB / 427.2 MB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005971/0.5234, allocations: 182 kB / 427.3 MB, free: 1.078 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/0.5237, allocations: 178.4 kB / 427.5 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.5237, allocations: 42.7 kB / 427.6 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.925e-06/0.5237, allocations: 0 / 427.6 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.2729/0.7966, allocations: 1.026 MB / 428.6 MB, free: 122.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.7967, allocations: 55.34 kB / 428.6 MB, free: 122.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006051/0.7973, allocations: 235.6 kB / 428.9 MB, free: 122.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.291e-05/0.7974, allocations: 31.58 kB / 428.9 MB, free: 122.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.7976, allocations: 237 kB / 429.1 MB, free: 122.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.7978, allocations: 92.98 kB / 429.2 MB, free: 122.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.7979, allocations: 6.719 kB / 429.2 MB, free: 122.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.798, allocations: 330.5 kB / 429.6 MB, free: 121.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.7984, allocations: 80.34 kB / 429.6 MB, free: 121.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/0.7988, allocations: 174.6 kB / 429.8 MB, free: 121.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004543/0.7993, allocations: 109.3 kB / 429.9 MB, free: 121.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.7993, allocations: 3.844 kB / 429.9 MB, free: 121.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001447/0.8008, allocations: 425.3 kB / 430.3 MB, free: 121.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.8009, allocations: 6.281 kB / 430.3 MB, free: 121.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.8009, allocations: 4.484 kB / 430.3 MB, free: 121.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/0.8012, allocations: 38.25 kB / 430.4 MB, free: 121.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008577/0.8021, allocations: 78.38 kB / 430.5 MB, free: 121.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/0.8051, allocations: 2.588 MB / 433 MB, free: 118.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007115/0.8058, allocations: 20.47 kB / 433.1 MB, free: 118.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.324e-05/0.8059, allocations: 22.34 kB / 433.1 MB, free: 118.8 MB / 362.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.0003426/0.8063, allocations: 151.7 kB / 433.2 MB, free: 118.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.8065, allocations: 26.09 kB / 433.3 MB, free: 118.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.8077, allocations: 371.4 kB / 433.6 MB, free: 118.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.8078, allocations: 3.438 kB / 433.6 MB, free: 118.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.8078, allocations: 2.625 kB / 433.6 MB, free: 118.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001039/0.8088, allocations: 0.608 MB / 434.2 MB, free: 117.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.811, allocations: 0.7667 MB / 435 MB, free: 117.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.8111, allocations: 1.125 kB / 435 MB, free: 117.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007595/0.8119, allocations: 53.84 kB / 435.1 MB, free: 117.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001474/0.812, allocations: 21.59 kB / 435.1 MB, free: 117.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.093e-05/0.8121, allocations: 6.406 kB / 435.1 MB, free: 117.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.8134, allocations: 1.284 MB / 436.4 MB, free: 115.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.8134, allocations: 7.375 kB / 436.4 MB, free: 115.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.8148, allocations: 0.5151 MB / 436.9 MB, free: 115.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.815, allocations: 112.3 kB / 437 MB, free: 115.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.8151, allocations: 6.188 kB / 437 MB, free: 115.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006394/0.8158, allocations: 11.89 kB / 437 MB, free: 115.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.156e-05/0.8158, allocations: 19.42 kB / 437 MB, free: 115.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-05/0.8159, allocations: 17.14 kB / 437.1 MB, free: 115.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000365/0.8163, allocations: 182.8 kB / 437.2 MB, free: 115.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.8163, allocations: 0 / 437.2 MB, free: 115.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001096/0.8174, allocations: 103.7 kB / 437.3 MB, free: 115.1 MB / 362.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.000349/0.8178, allocations: 132.5 kB / 437.5 MB, free: 115 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.8191, allocations: 459.2 kB / 437.9 MB, free: 114.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.8192, allocations: 0 / 437.9 MB, free: 114.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005236/0.8197, allocations: 212.2 kB / 438.1 MB, free: 114.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.822, allocations: 156.1 kB / 438.3 MB, free: 114.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.8242, allocations: 0.8241 MB / 439.1 MB, free: 113.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.8246, allocations: 0.7708 MB / 439.9 MB, free: 113.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.8248, allocations: 35.17 kB / 439.9 MB, free: 113.1 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.8249, allocations: 4 kB / 439.9 MB, free: 113.1 MB / 362.7 MB Notification: Performance of Templates: time 0.01659/0.8415, allocations: 6.157 MB / 446.1 MB, free: 107.1 MB / 362.7 MB