Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadModel(Modelica): time 1.733/1.733, allocations: 171.2 MB / 186.3 MB, free: 1.41 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.912e-05/2.904e-05, allocations: 4 kB / 228.1 MB, free: 7.988 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08085/0.0809, allocations: 38.77 MB / 266.9 MB, free: 1.141 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02526/0.1062, allocations: 15.82 MB / 282.7 MB, free: 1.266 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008414/0.1147, allocations: 4.517 MB / 287.2 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000451/0.1152, allocations: 4 kB / 287.2 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006701/0.1159, allocations: 167.1 kB / 287.4 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006513/0.1165, allocations: 203.4 kB / 287.6 MB, free: 12.37 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004121/0.1207, allocations: 1.047 MB / 288.6 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008899/0.1216, allocations: 379.2 kB / 289 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.1218, allocations: 43.86 kB / 289.1 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01569/0.1375, allocations: 7.184 MB / 296.2 MB, free: 3.715 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.1379, allocations: 151.5 kB / 296.4 MB, free: 3.566 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002268/0.1402, allocations: 0.7181 MB / 297.1 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000241/0.1405, allocations: 52 kB / 297.2 MB, free: 2.797 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.1406, allocations: 75.72 kB / 297.2 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.1408, allocations: 44 kB / 297.3 MB, free: 2.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.1424, allocations: 0.6082 MB / 297.9 MB, free: 2.07 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1424, allocations: 0 / 297.9 MB, free: 2.07 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1424, allocations: 0 / 297.9 MB, free: 2.07 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.1425, allocations: 0 / 297.9 MB, free: 2.07 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001223/0.1437, allocations: 0.5615 MB / 298.4 MB, free: 1.461 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.1438, allocations: 12.03 kB / 298.5 MB, free: 1.449 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006436/0.1444, allocations: 55.61 kB / 298.5 MB, free: 1.395 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005657/0.145, allocations: 282.4 kB / 298.8 MB, free: 1.078 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/0.1451, allocations: 20.56 kB / 298.8 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.213e-05/0.1452, allocations: 32 kB / 298.8 MB, free: 1.027 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000819/0.146, allocations: 334.5 kB / 299.2 MB, free: 0.668 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.146, allocations: 7.953 kB / 299.2 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.532e-05/0.1461, allocations: 12 kB / 299.2 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.1461, allocations: 4 kB / 299.2 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005518/0.1467, allocations: 210 kB / 299.4 MB, free: 448 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2301/0.3768, allocations: 5.886 MB / 305.3 MB, free: 30.34 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004749/0.3774, allocations: 180 kB / 305.4 MB, free: 30.31 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01785/0.3952, allocations: 3.884 MB / 309.3 MB, free: 28.23 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.3953, allocations: 36 kB / 309.4 MB, free: 28.19 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 2.665e-06/0.3953, allocations: 0 / 309.4 MB, free: 28.19 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.009354/0.4047, allocations: 1.419 MB / 310.8 MB, free: 27.33 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.4048, allocations: 53.81 kB / 310.8 MB, free: 27.27 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.4051, allocations: 235.4 kB / 311.1 MB, free: 27.11 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.4052, allocations: 34.98 kB / 311.1 MB, free: 27.07 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.4053, allocations: 243.6 kB / 311.3 MB, free: 26.84 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.976e-05/0.4054, allocations: 89.56 kB / 311.4 MB, free: 26.77 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.4054, allocations: 9.406 kB / 311.4 MB, free: 26.76 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.364e-05/0.4055, allocations: 324 kB / 311.8 MB, free: 26.44 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.4057, allocations: 93.89 kB / 311.8 MB, free: 26.39 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.406, allocations: 183.1 kB / 312 MB, free: 26.23 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.4064, allocations: 125.8 kB / 312.1 MB, free: 26.16 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4064, allocations: 1 kB / 312.1 MB, free: 26.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001054/0.4075, allocations: 380.2 kB / 312.5 MB, free: 25.95 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.4075, allocations: 6.312 kB / 312.5 MB, free: 25.95 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.4075, allocations: 2.844 kB / 312.5 MB, free: 25.95 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00582/0.4134, allocations: 404.8 kB / 312.9 MB, free: 25.79 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/0.4139, allocations: 69.34 kB / 313 MB, free: 25.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.4158, allocations: 1.88 MB / 314.9 MB, free: 23.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00046/0.4163, allocations: 22.66 kB / 314.9 MB, free: 23.85 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.244e-05/0.4163, allocations: 19.73 kB / 314.9 MB, free: 23.84 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000245/0.4166, allocations: 153.5 kB / 315.1 MB, free: 23.7 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.864e-05/0.4167, allocations: 31.05 kB / 315.1 MB, free: 23.68 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.4178, allocations: 498.6 kB / 315.6 MB, free: 23.38 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.4179, allocations: 8.125 kB / 315.6 MB, free: 23.38 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4179, allocations: 0 / 315.6 MB, free: 23.38 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008056/0.4187, allocations: 0.7122 MB / 316.3 MB, free: 22.75 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.4206, allocations: 0.9411 MB / 317.2 MB, free: 22.04 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.4207, allocations: 1.281 kB / 317.2 MB, free: 22.04 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/0.421, allocations: 50.81 kB / 317.3 MB, free: 22.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002863/0.4239, allocations: 327.6 kB / 317.6 MB, free: 21.86 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.358e-05/0.424, allocations: 10.8 kB / 317.6 MB, free: 21.85 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005981/0.4246, allocations: 0.6391 MB / 318.3 MB, free: 21.25 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.4247, allocations: 2.375 kB / 318.3 MB, free: 21.25 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.4261, allocations: 0.7269 MB / 319 MB, free: 20.77 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.4263, allocations: 117.3 kB / 319.1 MB, free: 20.65 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.136e-05/0.4264, allocations: 5.312 kB / 319.1 MB, free: 20.64 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.4268, allocations: 18.84 kB / 319.1 MB, free: 20.63 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.4269, allocations: 16.03 kB / 319.1 MB, free: 20.62 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.854e-05/0.4269, allocations: 11.97 kB / 319.2 MB, free: 20.62 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002865/0.4272, allocations: 182.5 kB / 319.3 MB, free: 20.5 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4272, allocations: 0 / 319.3 MB, free: 20.5 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0009764/0.4282, allocations: 186.8 kB / 319.5 MB, free: 20.48 MB / 250.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): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008504/0.4291, allocations: 281.8 kB / 319.8 MB, free: 20.34 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.4302, allocations: 440.2 kB / 320.2 MB, free: 20.07 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.4302, allocations: 3.938 kB / 320.2 MB, free: 20.07 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007402/0.431, allocations: 239.1 kB / 320.5 MB, free: 19.95 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.4326, allocations: 156.9 kB / 320.6 MB, free: 19.88 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.4342, allocations: 0.9661 MB / 321.6 MB, free: 19.18 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.4345, allocations: 0.7889 MB / 322.4 MB, free: 18.43 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.4346, allocations: 33.77 kB / 322.4 MB, free: 18.41 MB / 250.7 MB Notification: Performance of SimCode: time 9.52e-07/0.4346, allocations: 0 / 322.4 MB, free: 18.41 MB / 250.7 MB Notification: Performance of Templates: time 0.01543/0.4501, allocations: 8.435 MB / 330.8 MB, free: 10.03 MB / 250.7 MB