Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(ModelicaTest): time 2.418/2.418, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.799e-05/2.78e-05, allocations: 0 / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1339, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3782/0.5122, allocations: 33.01 MB / 443.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009172/0.5214, allocations: 3.872 MB / 447.8 MB, free: 9.332 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.5227, allocations: 28.19 kB / 447.8 MB, free: 9.316 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.5242, allocations: 259.5 kB / 448.1 MB, free: 9.16 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003294/0.5275, allocations: 0.6351 MB / 448.7 MB, free: 8.699 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.5308, allocations: 0.644 MB / 449.4 MB, free: 8.387 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002452/0.5332, allocations: 0.8368 MB / 450.2 MB, free: 7.918 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007744/0.534, allocations: 317.2 kB / 450.5 MB, free: 7.828 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1995/0.7336, allocations: 71.89 MB / 0.5102 GB, free: 8.23 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04169/0.7753, allocations: 13.29 MB / 0.5231 GB, free: 10.93 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04736/0.8227, allocations: 18.48 MB / 0.5412 GB, free: 8.449 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003806/0.8232, allocations: 35.94 kB / 0.5412 GB, free: 8.414 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003976/0.8236, allocations: 211.4 kB / 0.5414 GB, free: 8.207 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003826/0.824, allocations: 76 kB / 0.5415 GB, free: 8.133 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.8254, allocations: 0.7628 MB / 0.5422 GB, free: 7.371 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.8254, allocations: 0 / 0.5422 GB, free: 7.371 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.8255, allocations: 0 / 0.5422 GB, free: 7.371 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.8255, allocations: 0 / 0.5422 GB, free: 7.371 MB / 458.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.002608/0.8281, allocations: 0.8615 MB / 0.5431 GB, free: 6.461 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.8282, allocations: 12.03 kB / 0.5431 GB, free: 6.449 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000495/0.8287, allocations: 87.14 kB / 0.5432 GB, free: 6.363 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.8298, allocations: 492.6 kB / 0.5436 GB, free: 5.84 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.83, allocations: 100.4 kB / 0.5437 GB, free: 5.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.8302, allocations: 51.98 kB / 0.5438 GB, free: 5.68 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.8322, allocations: 0.8143 MB / 0.5446 GB, free: 4.785 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.8322, allocations: 4 kB / 0.5446 GB, free: 4.781 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.8323, allocations: 27.94 kB / 0.5446 GB, free: 4.754 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.232e-05/0.8324, allocations: 44.97 kB / 0.5447 GB, free: 4.711 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.8343, allocations: 0.6399 MB / 0.5453 GB, free: 4.07 MB / 458.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.007682/0.842, allocations: 4.241 MB / 0.5494 GB, free: 15.54 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.8435, allocations: 418.2 kB / 0.5498 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007038/0.8443, allocations: 0.4989 MB / 0.5503 GB, free: 14.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.8443, allocations: 42.84 kB / 0.5504 GB, free: 14.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=40): time 8.415e-06/0.8444, allocations: 0 / 0.5504 GB, free: 14.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=45): time 0.005243/0.8496, allocations: 1.518 MB / 0.5518 GB, free: 12.89 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.084e-05/0.8497, allocations: 132.5 kB / 0.552 GB, free: 12.73 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009483/0.8507, allocations: 0.502 MB / 0.5525 GB, free: 12.23 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.516e-05/0.8508, allocations: 33.7 kB / 0.5525 GB, free: 12.19 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.8511, allocations: 381.5 kB / 0.5528 GB, free: 11.81 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.8513, allocations: 173.7 kB / 0.553 GB, free: 11.64 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.597e-05/0.8514, allocations: 12 kB / 0.553 GB, free: 11.63 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.8516, allocations: 346.7 kB / 0.5534 GB, free: 11.28 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006679/0.8522, allocations: 225.9 kB / 0.5536 GB, free: 11.06 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008873/0.8531, allocations: 0.5123 MB / 0.5541 GB, free: 10.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008665/0.854, allocations: 312.6 kB / 0.5544 GB, free: 10.11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.8541, allocations: 4 kB / 0.5544 GB, free: 10.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003197/0.8573, allocations: 0.93 MB / 0.5553 GB, free: 9.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.8573, allocations: 11.95 kB / 0.5553 GB, free: 9.148 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.8574, allocations: 12 kB / 0.5553 GB, free: 9.137 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/0.8591, allocations: 273.3 kB / 0.5556 GB, free: 8.867 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008249/0.86, allocations: 119.8 kB / 0.5557 GB, free: 8.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.8615, allocations: 0.8645 MB / 0.5565 GB, free: 7.859 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008971/0.8624, allocations: 43.97 kB / 0.5566 GB, free: 7.816 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-05/0.8625, allocations: 40 kB / 0.5566 GB, free: 7.777 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (73): * Single equations (assignments): 72 * 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.0004922/0.863, allocations: 253.4 kB / 0.5568 GB, free: 7.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.8632, allocations: 63.25 kB / 0.5569 GB, free: 7.457 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.8654, allocations: 0.7079 MB / 0.5576 GB, free: 6.727 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.8654, allocations: 4 kB / 0.5576 GB, free: 6.723 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.8654, allocations: 0 / 0.5576 GB, free: 6.723 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.8655, allocations: 3.984 kB / 0.5576 GB, free: 6.719 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003452/0.8689, allocations: 1.41 MB / 0.559 GB, free: 5.227 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.869, allocations: 8 kB / 0.559 GB, free: 5.219 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/0.8709, allocations: 192 kB / 0.5592 GB, free: 5.031 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003864/0.8713, allocations: 56.8 kB / 0.5592 GB, free: 4.973 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.799e-05/0.8714, allocations: 11.98 kB / 0.5592 GB, free: 4.961 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003185/0.8746, allocations: 2.797 MB / 0.562 GB, free: 1.902 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.8746, allocations: 0 / 0.562 GB, free: 1.902 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/0.8773, allocations: 1.074 MB / 0.563 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004547/0.8777, allocations: 208.2 kB / 0.5632 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.8779, allocations: 19.94 kB / 0.5632 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007179/0.8787, allocations: 35.98 kB / 0.5633 GB, free: 480 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.8788, allocations: 31.95 kB / 0.5633 GB, free: 448 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.066e-05/0.8789, allocations: 19.98 kB / 0.5633 GB, free: 428 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007316/0.8796, allocations: 390.8 kB / 0.5637 GB, free: 40 kB / 474.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.8796, allocations: 3.938 kB / 0.5637 GB, free: 36 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.001144/0.8808, allocations: 204 kB / 0.5639 GB, free: 15.84 MB / 490.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.0006668/0.8815, allocations: 241.7 kB / 0.5641 GB, free: 15.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001943/0.8834, allocations: 0.5997 MB / 0.5647 GB, free: 15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.8835, allocations: 0 / 0.5647 GB, free: 15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001851/0.8853, allocations: 472 kB / 0.5652 GB, free: 14.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/0.888, allocations: 334.2 kB / 0.5655 GB, free: 14.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/0.8916, allocations: 1.683 MB / 0.5671 GB, free: 12.47 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007417/0.8924, allocations: 0.9464 MB / 0.568 GB, free: 11.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/0.8928, allocations: 67.42 kB / 0.5681 GB, free: 11.43 MB / 490.7 MB Notification: Performance of SimCode: time 1.423e-06/0.8928, allocations: 0 / 0.5681 GB, free: 11.43 MB / 490.7 MB Notification: Performance of Templates: time 0.03354/0.9263, allocations: 14.85 MB / 0.5826 GB, free: 12.63 MB / 0.4948 GB