Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadModel(ModelicaTest): time 2.424/2.424, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.062e-05/3.062e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1346, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.3729/0.5076, allocations: 23.48 MB / 434.4 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02844/0.5361, allocations: 13.85 MB / 448.3 MB, free: 9.262 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008767/0.537, allocations: 19.62 kB / 448.3 MB, free: 9.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.5384, allocations: 239.2 kB / 448.5 MB, free: 9.109 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01262/0.551, allocations: 2.651 MB / 451.2 MB, free: 7.773 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01254/0.5636, allocations: 2.749 MB / 453.9 MB, free: 5.738 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001585/0.5652, allocations: 0.495 MB / 454.4 MB, free: 5.387 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004962/0.5657, allocations: 183.6 kB / 454.6 MB, free: 5.273 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.5671, allocations: 401.3 kB / 455 MB, free: 5.023 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005579/0.5676, allocations: 212.5 kB / 455.2 MB, free: 4.914 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02109/0.5888, allocations: 6.703 MB / 461.9 MB, free: 1.801 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003046/0.5919, allocations: 412 kB / 462.3 MB, free: 1.801 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002835/0.5922, allocations: 88.61 kB / 462.4 MB, free: 1.738 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003159/0.5925, allocations: 54.59 kB / 462.4 MB, free: 1.734 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008863/0.6014, allocations: 2.89 MB / 465.3 MB, free: 40 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.6015, allocations: 0 / 465.3 MB, free: 40 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.6015, allocations: 3.938 kB / 465.3 MB, free: 36 kB / 362.7 MB Notification: Performance of Transformations before backend: time 2.136e-05/0.6015, allocations: 0 / 465.3 MB, free: 36 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.004905/0.6064, allocations: 1.219 MB / 466.5 MB, free: 15.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.6065, allocations: 8.156 kB / 466.5 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002701/0.6092, allocations: 244.6 kB / 466.8 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008502/0.6101, allocations: 380.1 kB / 467.2 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/0.6101, allocations: 29.22 kB / 467.2 MB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.614e-05/0.6102, allocations: 32.66 kB / 467.2 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002821/0.6131, allocations: 0.6723 MB / 467.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.6131, allocations: 3.938 kB / 467.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.142e-05/0.6132, allocations: 14.62 kB / 467.9 MB, free: 14.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.6132, allocations: 12.98 kB / 467.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003386/0.6166, allocations: 0.6599 MB / 468.6 MB, free: 13.92 MB / 378.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.005486/0.6222, allocations: 2.848 MB / 471.4 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003071/0.6253, allocations: 0.5296 MB / 472 MB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08662/0.7119, allocations: 24.54 MB / 496.5 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.712, allocations: 34.56 kB / 496.5 MB, free: 14.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 2.424e-06/0.712, allocations: 0 / 496.5 MB, free: 14.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.00537/0.7174, allocations: 0.9024 MB / 497.4 MB, free: 13.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.7175, allocations: 106.8 kB / 497.5 MB, free: 13.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006479/0.7182, allocations: 332.8 kB / 497.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.891e-05/0.7183, allocations: 29.7 kB / 497.9 MB, free: 13.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.7185, allocations: 278.5 kB / 498.2 MB, free: 13.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.7186, allocations: 86.7 kB / 498.3 MB, free: 13.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.7187, allocations: 8 kB / 498.3 MB, free: 13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.7189, allocations: 326.8 kB / 498.6 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.7199, allocations: 180.5 kB / 498.8 MB, free: 12.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.721, allocations: 277.2 kB / 499 MB, free: 12.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.7221, allocations: 195.9 kB / 499.2 MB, free: 12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.7222, allocations: 7.938 kB / 499.2 MB, free: 11.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002462/0.7246, allocations: 0.4893 MB / 499.7 MB, free: 11.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005347/0.7252, allocations: 1.05 MB / 0.489 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.7252, allocations: 4 kB / 0.489 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.7253, allocations: 8 kB / 0.489 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008943/0.7262, allocations: 111.9 kB / 0.4891 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.7262, allocations: 11.98 kB / 0.4892 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008614/0.7271, allocations: 83.59 kB / 0.4892 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.039e-05/0.7271, allocations: 23.92 kB / 0.4893 GB, free: 10.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.7272, allocations: 4 kB / 0.4893 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002308/0.7295, allocations: 451.5 kB / 0.4897 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.7295, allocations: 7.938 kB / 0.4897 GB, free: 9.676 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.7296, allocations: 4 kB / 0.4897 GB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008503/0.7304, allocations: 112.1 kB / 0.4898 GB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.7304, allocations: 4 kB / 0.4898 GB, free: 9.559 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006862/0.7311, allocations: 75.7 kB / 0.4899 GB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/0.7312, allocations: 19.98 kB / 0.4899 GB, free: 9.465 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 prepare postOptimizeDAE: time 0.0003366/0.7316, allocations: 161.7 kB / 0.4901 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.7317, allocations: 43.48 kB / 0.4901 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004724/0.7365, allocations: 1.996 MB / 0.4921 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.563e-05/0.7366, allocations: 35.94 kB / 0.4921 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.7366, allocations: 0 / 0.4921 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.7366, allocations: 0 / 0.4921 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.7383, allocations: 1.043 MB / 0.4931 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.7384, allocations: 0 / 0.4931 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008318/0.7392, allocations: 99.86 kB / 0.4932 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.7393, allocations: 7.953 kB / 0.4932 GB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.7393, allocations: 12 kB / 0.4932 GB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.7393, allocations: 4 kB / 0.4932 GB, free: 6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7393, allocations: 0 / 0.4932 GB, free: 6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003015/0.7424, allocations: 1.161 MB / 0.4944 GB, free: 4.824 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000503/0.7429, allocations: 263.4 kB / 0.4946 GB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.7431, allocations: 15.94 kB / 0.4946 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007435/0.7438, allocations: 59.8 kB / 0.4947 GB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.7439, allocations: 31.95 kB / 0.4947 GB, free: 4.441 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.744, allocations: 15.98 kB / 0.4947 GB, free: 4.426 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007222/0.7447, allocations: 374.8 kB / 0.4951 GB, free: 4.059 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.7448, allocations: 0 / 0.4951 GB, free: 4.059 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004371/0.7491, allocations: 1.089 MB / 0.4961 GB, free: 2.969 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse13.phase,$cse13.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.00753/0.7567, allocations: 1.212 MB / 0.4973 GB, free: 1.746 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003864/0.7606, allocations: 0.9196 MB / 0.4982 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.7607, allocations: 4.125 kB / 0.4982 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.7621, allocations: 0.5447 MB / 0.4988 GB, free: 284 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/0.7642, allocations: 225 kB / 0.499 GB, free: 60 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004018/0.7682, allocations: 2.007 MB / 0.5009 GB, free: 14.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007082/0.769, allocations: 1.007 MB / 0.5019 GB, free: 12.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.7692, allocations: 51.42 kB / 0.502 GB, free: 12.92 MB / 426.7 MB Notification: Performance of SimCode: time 3.427e-06/0.7693, allocations: 0 / 0.502 GB, free: 12.92 MB / 426.7 MB Notification: Performance of Templates: time 0.06396/0.8332, allocations: 27.03 MB / 0.5284 GB, free: 1.902 MB / 442.7 MB