Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(ModelicaTest): time 2.491/2.491, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.039e-05/3.044e-05, allocations: 4 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3691, allocations: 54.86 MB / 362.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02688/0.3961, allocations: 13.69 MB / 376.6 MB, free: 144 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009158/0.4053, allocations: 3.857 MB / 380.4 MB, free: 12.28 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.4065, allocations: 27.75 kB / 380.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.4079, allocations: 254.6 kB / 380.7 MB, free: 12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002995/0.4109, allocations: 0.6422 MB / 381.3 MB, free: 11.36 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003019/0.414, allocations: 0.6352 MB / 382 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002353/0.4163, allocations: 0.8286 MB / 382.8 MB, free: 9.895 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008617/0.4173, allocations: 311.6 kB / 383.1 MB, free: 9.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001978/0.4193, allocations: 0.5687 MB / 383.7 MB, free: 9.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.4205, allocations: 398.9 kB / 384.1 MB, free: 8.629 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.4218, allocations: 227.8 kB / 384.3 MB, free: 8.406 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002492/0.4221, allocations: 36 kB / 384.3 MB, free: 8.371 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003663/0.4225, allocations: 207.4 kB / 384.5 MB, free: 8.168 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.4228, allocations: 76 kB / 384.6 MB, free: 8.094 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.4245, allocations: 0.7654 MB / 385.4 MB, free: 7.328 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4245, allocations: 4 kB / 385.4 MB, free: 7.324 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4246, allocations: 0 / 385.4 MB, free: 7.324 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.53e-05/0.4246, allocations: 0 / 385.4 MB, free: 7.324 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002879/0.4275, allocations: 0.8499 MB / 386.2 MB, free: 6.426 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.4276, allocations: 8.031 kB / 386.2 MB, free: 6.418 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006033/0.4282, allocations: 87.06 kB / 386.3 MB, free: 6.332 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.4296, allocations: 0.4967 MB / 386.8 MB, free: 5.793 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.4298, allocations: 108.3 kB / 386.9 MB, free: 5.676 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.43, allocations: 55.97 kB / 387 MB, free: 5.621 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/0.4323, allocations: 0.8039 MB / 387.8 MB, free: 4.742 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.516e-05/0.4324, allocations: 11.84 kB / 387.8 MB, free: 4.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.4326, allocations: 24 kB / 387.8 MB, free: 4.707 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.885e-05/0.4327, allocations: 36.98 kB / 387.8 MB, free: 4.668 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.4347, allocations: 0.64 MB / 388.5 MB, free: 4.031 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008623/0.4433, allocations: 4.221 MB / 392.7 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.445, allocations: 411.9 kB / 393.1 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008002/0.4459, allocations: 0.499 MB / 393.6 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.446, allocations: 34.89 kB / 393.6 MB, free: 14.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 3.266e-06/0.446, allocations: 0 / 393.6 MB, free: 14.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.005711/0.4517, allocations: 1.502 MB / 395.1 MB, free: 12.9 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.821e-05/0.4518, allocations: 136.5 kB / 395.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.4529, allocations: 498.1 kB / 395.7 MB, free: 12.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000136/0.4531, allocations: 33.7 kB / 395.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000403/0.4535, allocations: 401.9 kB / 396.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.4538, allocations: 169.7 kB / 396.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.4538, allocations: 12 kB / 396.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.454, allocations: 342.8 kB / 396.7 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007378/0.4548, allocations: 221.9 kB / 396.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.4558, allocations: 0.5333 MB / 397.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009391/0.4568, allocations: 324.6 kB / 397.8 MB, free: 10.06 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.4568, allocations: 7.938 kB / 397.8 MB, free: 10.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00325/0.4601, allocations: 0.9495 MB / 398.7 MB, free: 9.098 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.4602, allocations: 8 kB / 398.7 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.4602, allocations: 19.94 kB / 398.7 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001735/0.462, allocations: 256.8 kB / 399 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008648/0.4628, allocations: 131.8 kB / 399.1 MB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.4643, allocations: 0.8543 MB / 400 MB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.4654, allocations: 47.97 kB / 400 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-05/0.4655, allocations: 32 kB / 400 MB, free: 7.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005264/0.466, allocations: 257.5 kB / 400.3 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.4662, allocations: 71.19 kB / 400.4 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/0.4684, allocations: 0.7047 MB / 401.1 MB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.4685, allocations: 7.984 kB / 401.1 MB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.4685, allocations: 3.938 kB / 401.1 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.4685, allocations: 0 / 401.1 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003551/0.4721, allocations: 1.379 MB / 402.5 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.4721, allocations: 4 kB / 402.5 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001942/0.4741, allocations: 196 kB / 402.7 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004008/0.4745, allocations: 56.73 kB / 402.7 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.559e-05/0.4746, allocations: 15.98 kB / 402.7 MB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00353/0.4781, allocations: 2.797 MB / 405.5 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/0.4782, allocations: 7.969 kB / 405.5 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/0.4811, allocations: 1.069 MB / 406.6 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006299/0.4818, allocations: 208.2 kB / 406.8 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/0.482, allocations: 12 kB / 406.8 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008531/0.4829, allocations: 28.05 kB / 406.8 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.4831, allocations: 35.91 kB / 406.9 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.288e-05/0.4832, allocations: 19.98 kB / 406.9 MB, free: 408 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007969/0.484, allocations: 382.8 kB / 407.3 MB, free: 28 kB / 330.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.484, allocations: 0 / 407.3 MB, free: 28 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001339/0.4854, allocations: 211.9 kB / 407.5 MB, free: 15.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.0007509/0.4862, allocations: 232.4 kB / 407.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002182/0.4884, allocations: 0.6081 MB / 408.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.4884, allocations: 0 / 408.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00212/0.4906, allocations: 463.9 kB / 408.8 MB, free: 14.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/0.4934, allocations: 299.8 kB / 409.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004347/0.4978, allocations: 1.691 MB / 410.8 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008023/0.4987, allocations: 0.9464 MB / 411.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003873/0.4991, allocations: 63.42 kB / 411.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of SimCode: time 1.372e-06/0.4991, allocations: 7.938 kB / 411.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of Templates: time 0.03581/0.535, allocations: 14.69 MB / 426.5 MB, free: 12.78 MB / 362.7 MB