Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(Modelica): time 1.805/1.805, allocations: 171.1 MB / 186.3 MB, free: 1.418 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.313e-05, allocations: 4 kB / 228.1 MB, free: 7.988 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08267/0.08273, allocations: 38.78 MB / 266.9 MB, free: 1.133 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01728/0.1001, allocations: 10.16 MB / 277.1 MB, free: 6.93 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002908/0.103, allocations: 1.325 MB / 278.4 MB, free: 5.602 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003839/0.1035, allocations: 4 kB / 278.4 MB, free: 5.598 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006368/0.1041, allocations: 131.3 kB / 278.5 MB, free: 5.469 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006707/0.1048, allocations: 195.4 kB / 278.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009076/0.1058, allocations: 211.6 kB / 278.9 MB, free: 5.07 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007292/0.1065, allocations: 339.2 kB / 279.3 MB, free: 4.738 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.1067, allocations: 47.75 kB / 279.3 MB, free: 4.691 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.1077, allocations: 311.2 kB / 279.6 MB, free: 4.387 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004072/0.1082, allocations: 155.5 kB / 279.8 MB, free: 4.234 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.1084, allocations: 20 kB / 279.8 MB, free: 4.215 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.599e-05/0.1085, allocations: 16 kB / 279.8 MB, free: 4.199 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.1086, allocations: 67.73 kB / 279.9 MB, free: 4.133 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.1088, allocations: 40 kB / 279.9 MB, free: 4.094 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005537/0.1093, allocations: 339.3 kB / 280.2 MB, free: 3.762 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1094, allocations: 0 / 280.2 MB, free: 3.762 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1094, allocations: 0 / 280.2 MB, free: 3.762 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.1094, allocations: 0 / 280.2 MB, free: 3.762 MB / 234.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.001122/0.1105, allocations: 0.507 MB / 280.7 MB, free: 3.203 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.1106, allocations: 8.031 kB / 280.7 MB, free: 3.195 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004005/0.111, allocations: 43.62 kB / 280.8 MB, free: 3.152 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005493/0.1116, allocations: 270.6 kB / 281.1 MB, free: 2.848 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.1116, allocations: 20.56 kB / 281.1 MB, free: 2.828 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.697e-05/0.1117, allocations: 27.94 kB / 281.1 MB, free: 2.801 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007332/0.1124, allocations: 303.6 kB / 281.4 MB, free: 2.477 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.1125, allocations: 7.906 kB / 281.4 MB, free: 2.469 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.816e-05/0.1125, allocations: 15.98 kB / 281.4 MB, free: 2.453 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.1126, allocations: 4 kB / 281.4 MB, free: 2.449 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.1131, allocations: 201.5 kB / 281.6 MB, free: 2.254 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/0.1157, allocations: 1.424 MB / 283 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.1162, allocations: 179.2 kB / 283.2 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.312e-05/0.1163, allocations: 8.188 kB / 283.2 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.1163, allocations: 30.75 kB / 283.3 MB, free: 492 kB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 3.026e-06/0.1163, allocations: 0 / 283.3 MB, free: 492 kB / 234.7 MB Notification: Performance of matching and sorting (n=26): time 0.003966/0.1203, allocations: 1.009 MB / 284.3 MB, free: 15.39 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.1204, allocations: 55.41 kB / 284.3 MB, free: 15.33 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.1208, allocations: 237.6 kB / 284.6 MB, free: 15.09 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.1209, allocations: 29.7 kB / 284.6 MB, free: 15.05 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.121, allocations: 238.6 kB / 284.8 MB, free: 14.82 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.1211, allocations: 94.64 kB / 284.9 MB, free: 14.73 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.1212, allocations: 4 kB / 284.9 MB, free: 14.73 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1213, allocations: 334.8 kB / 285.2 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.1216, allocations: 79.97 kB / 285.3 MB, free: 14.31 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/0.1219, allocations: 182.6 kB / 285.5 MB, free: 14.09 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.1223, allocations: 123.9 kB / 285.6 MB, free: 13.97 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.1223, allocations: 4 kB / 285.6 MB, free: 13.97 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00108/0.1234, allocations: 354.9 kB / 286 MB, free: 13.61 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.1234, allocations: 8 kB / 286 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.1235, allocations: 4 kB / 286 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003994/0.1239, allocations: 61.61 kB / 286 MB, free: 13.53 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.1244, allocations: 68.28 kB / 286.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/0.1274, allocations: 2.697 MB / 288.8 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/0.1279, allocations: 24.08 kB / 288.8 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.128, allocations: 16 kB / 288.8 MB, free: 10.46 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000246/0.1282, allocations: 145.7 kB / 289 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.201e-05/0.1283, allocations: 31.66 kB / 289 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.1284, allocations: 34.17 kB / 289 MB, free: 10.24 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1285, allocations: 7.953 kB / 289.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1285, allocations: 4 kB / 289.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009198/0.1294, allocations: 0.5668 MB / 289.6 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.131, allocations: 0.6958 MB / 290.3 MB, free: 8.816 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.131, allocations: 3.938 kB / 290.3 MB, free: 8.812 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/0.1314, allocations: 48 kB / 290.4 MB, free: 8.766 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003823/0.1318, allocations: 56.69 kB / 290.4 MB, free: 8.707 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.1319, allocations: 4 kB / 290.4 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.1335, allocations: 1.397 MB / 291.8 MB, free: 7.172 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.1335, allocations: 3.953 kB / 291.8 MB, free: 7.168 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.1347, allocations: 482.4 kB / 292.3 MB, free: 6.668 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.1349, allocations: 96.86 kB / 292.4 MB, free: 6.555 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.026e-05/0.135, allocations: 8 kB / 292.4 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/0.1354, allocations: 15.92 kB / 292.4 MB, free: 6.531 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.1354, allocations: 15.97 kB / 292.4 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/0.1355, allocations: 16.06 kB / 292.5 MB, free: 6.5 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002796/0.1358, allocations: 186 kB / 292.6 MB, free: 6.32 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.517e-06/0.1358, allocations: 0 / 292.6 MB, free: 6.32 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005858/0.1364, allocations: 91.94 kB / 292.7 MB, free: 6.23 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 (24): * Single equations (assignments): 23 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001685/0.1366, allocations: 99.25 kB / 292.8 MB, free: 6.125 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.1377, allocations: 485.4 kB / 293.3 MB, free: 5.625 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1377, allocations: 0 / 293.3 MB, free: 5.625 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005733/0.1383, allocations: 226.6 kB / 293.5 MB, free: 5.391 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.1399, allocations: 160.9 kB / 293.7 MB, free: 5.234 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.1418, allocations: 0.8408 MB / 294.5 MB, free: 4.363 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.1424, allocations: 0.7726 MB / 295.3 MB, free: 3.566 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.1425, allocations: 27.44 kB / 295.3 MB, free: 3.543 MB / 250.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1426, allocations: 0 / 295.3 MB, free: 3.543 MB / 250.7 MB Notification: Performance of Templates: time 0.2197/0.3623, allocations: 5.715 MB / 301 MB, free: 30.52 MB / 250.7 MB