Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(Modelica): time 1.801/1.801, allocations: 171.1 MB / 186.3 MB, free: 1.422 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.031e-05, allocations: 4 kB / 228.1 MB, free: 7.988 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08407/0.08412, allocations: 38.77 MB / 266.9 MB, free: 1.137 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01772/0.1019, allocations: 10.26 MB / 277.2 MB, free: 6.832 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003253/0.1052, allocations: 1.395 MB / 278.6 MB, free: 5.434 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003835/0.1056, allocations: 4 kB / 278.6 MB, free: 5.43 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006213/0.1063, allocations: 135.3 kB / 278.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006103/0.1069, allocations: 191.4 kB / 278.9 MB, free: 5.109 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.1083, allocations: 323.2 kB / 279.2 MB, free: 4.793 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007449/0.109, allocations: 327.3 kB / 279.5 MB, free: 4.473 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.1092, allocations: 51.86 kB / 279.6 MB, free: 4.422 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007456/0.11, allocations: 275.3 kB / 279.8 MB, free: 4.152 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.1103, allocations: 139.5 kB / 280 MB, free: 4.016 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003111/0.1106, allocations: 51.98 kB / 280 MB, free: 3.965 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.675e-05/0.1107, allocations: 19.98 kB / 280 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.1109, allocations: 67.73 kB / 280.1 MB, free: 3.879 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.111, allocations: 40 kB / 280.1 MB, free: 3.84 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006634/0.1117, allocations: 363.3 kB / 280.5 MB, free: 3.484 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1117, allocations: 0 / 280.5 MB, free: 3.484 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1117, allocations: 0 / 280.5 MB, free: 3.484 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.1118, allocations: 3.938 kB / 280.5 MB, free: 3.48 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.0009171/0.1127, allocations: 0.4991 MB / 281 MB, free: 2.93 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1127, allocations: 12.03 kB / 281 MB, free: 2.918 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003933/0.1131, allocations: 39.62 kB / 281.1 MB, free: 2.879 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/0.1137, allocations: 274.6 kB / 281.3 MB, free: 2.57 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.1137, allocations: 16.56 kB / 281.3 MB, free: 2.555 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.715e-05/0.1138, allocations: 31.89 kB / 281.4 MB, free: 2.523 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007523/0.1146, allocations: 313.4 kB / 281.7 MB, free: 2.184 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.1146, allocations: 7.891 kB / 281.7 MB, free: 2.176 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.341e-05/0.1147, allocations: 12 kB / 281.7 MB, free: 2.164 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.1147, allocations: 11.98 kB / 281.7 MB, free: 2.152 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.1152, allocations: 189.5 kB / 281.9 MB, free: 1.969 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002941/0.1182, allocations: 1.728 MB / 283.6 MB, free: 92 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.1186, allocations: 126.6 kB / 283.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002275/0.1188, allocations: 178.2 kB / 283.9 MB, free: 15.74 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.1189, allocations: 34.52 kB / 284 MB, free: 15.7 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 2.634e-06/0.1189, allocations: 0 / 284 MB, free: 15.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.002843/0.1218, allocations: 0.7997 MB / 284.8 MB, free: 14.83 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.1219, allocations: 55.41 kB / 284.8 MB, free: 14.76 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004197/0.1223, allocations: 249.8 kB / 285 MB, free: 14.51 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/0.1223, allocations: 29.7 kB / 285.1 MB, free: 14.48 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.1226, allocations: 261.8 kB / 285.3 MB, free: 14.22 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.522e-05/0.1227, allocations: 70.92 kB / 285.4 MB, free: 14.15 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.1227, allocations: 8 kB / 285.4 MB, free: 14.14 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1229, allocations: 322.8 kB / 285.7 MB, free: 13.82 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.1231, allocations: 71.95 kB / 285.8 MB, free: 13.75 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.1234, allocations: 190.9 kB / 286 MB, free: 13.51 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.1237, allocations: 103.6 kB / 286.1 MB, free: 13.41 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1237, allocations: 3.938 kB / 286.1 MB, free: 13.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008279/0.1246, allocations: 310.4 kB / 286.4 MB, free: 13.09 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.1246, allocations: 9.562 kB / 286.4 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.1246, allocations: 8 kB / 286.4 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001339/0.1248, allocations: 28.88 kB / 286.4 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005935/0.1254, allocations: 83.89 kB / 286.5 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.1269, allocations: 1.311 MB / 287.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.1274, allocations: 12 kB / 287.8 MB, free: 11.51 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/0.1274, allocations: 23.94 kB / 287.9 MB, free: 11.49 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003192/0.1278, allocations: 157.7 kB / 288 MB, free: 11.32 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.849e-05/0.1279, allocations: 27.91 kB / 288 MB, free: 11.3 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005907/0.1285, allocations: 209.2 kB / 288.2 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.1285, allocations: 4 kB / 288.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1285, allocations: 0 / 288.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000566/0.1291, allocations: 478.4 kB / 288.7 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.1309, allocations: 0.776 MB / 289.5 MB, free: 9.641 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.1309, allocations: 0 / 289.5 MB, free: 9.641 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.1313, allocations: 47.92 kB / 289.5 MB, free: 9.594 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/0.1313, allocations: 4.281 kB / 289.5 MB, free: 9.59 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.1314, allocations: 11.98 kB / 289.6 MB, free: 9.578 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/0.1314, allocations: 7.953 kB / 289.6 MB, free: 9.57 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.1314, allocations: 4 kB / 289.6 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009026/0.1323, allocations: 0.4903 MB / 290.1 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.1325, allocations: 108.8 kB / 290.2 MB, free: 8.852 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.001e-05/0.1326, allocations: 8 kB / 290.2 MB, free: 8.844 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004312/0.133, allocations: 15.92 kB / 290.2 MB, free: 8.828 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.1331, allocations: 27.94 kB / 290.2 MB, free: 8.801 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.57e-05/0.1331, allocations: 15.98 kB / 290.2 MB, free: 8.785 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003191/0.1335, allocations: 198 kB / 290.4 MB, free: 8.598 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1335, allocations: 0 / 290.4 MB, free: 8.598 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006527/0.1341, allocations: 96 kB / 290.5 MB, free: 8.504 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002812/0.1344, allocations: 135.1 kB / 290.7 MB, free: 8.363 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007825/0.1352, allocations: 297.6 kB / 290.9 MB, free: 8.062 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/0.1353, allocations: 7.938 kB / 291 MB, free: 8.055 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.1355, allocations: 73.34 kB / 291 MB, free: 7.984 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.1371, allocations: 160.4 kB / 291.2 MB, free: 7.828 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.1388, allocations: 0.7624 MB / 291.9 MB, free: 7.004 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.1392, allocations: 0.7718 MB / 292.7 MB, free: 6.203 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.1394, allocations: 27.44 kB / 292.7 MB, free: 6.18 MB / 250.7 MB Notification: Performance of SimCode: time 1.563e-06/0.1394, allocations: 0 / 292.7 MB, free: 6.18 MB / 250.7 MB Notification: Performance of Templates: time 0.01331/0.1527, allocations: 5.042 MB / 297.8 MB, free: 1.141 MB / 250.7 MB