Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,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|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.TestValveLinear") Notification: Performance of loadModel(ModelicaTest): time 2.424/2.424, allocations: 269 MB / 284.1 MB, free: 3.551 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.69e-05/3.689e-05, allocations: 8 kB / 349 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.14, allocations: 61.88 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.3973/0.5373, allocations: 23.04 MB / 434 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02101/0.5584, allocations: 10.68 MB / 444.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005709/0.559, allocations: 15.53 kB / 444.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008024/0.5598, allocations: 191.3 kB / 444.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01089/0.5708, allocations: 2.517 MB / 447.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006962/0.5777, allocations: 1.687 MB / 449 MB, free: 9.09 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.579, allocations: 442.7 kB / 449.5 MB, free: 8.836 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004063/0.5794, allocations: 168.4 kB / 449.6 MB, free: 8.781 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009868/0.5804, allocations: 363 kB / 450 MB, free: 8.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003555/0.5808, allocations: 183 kB / 450.2 MB, free: 8.496 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02034/0.6011, allocations: 6.556 MB / 456.7 MB, free: 5.457 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002949/0.6041, allocations: 401.2 kB / 457.1 MB, free: 5.457 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002463/0.6044, allocations: 77.64 kB / 457.2 MB, free: 5.402 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.6047, allocations: 48.94 kB / 457.2 MB, free: 5.398 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008782/0.6135, allocations: 2.768 MB / 460 MB, free: 3.773 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.6136, allocations: 0.9688 kB / 460 MB, free: 3.773 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.6136, allocations: 0 / 460 MB, free: 3.773 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.6136, allocations: 4 kB / 460 MB, free: 3.77 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005116/0.6188, allocations: 1.135 MB / 461.2 MB, free: 2.945 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.6188, allocations: 9.531 kB / 461.2 MB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/0.6214, allocations: 220.3 kB / 461.4 MB, free: 2.859 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008556/0.6223, allocations: 356.6 kB / 461.7 MB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.234e-05/0.6224, allocations: 30.25 kB / 461.8 MB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.465e-05/0.6225, allocations: 27.75 kB / 461.8 MB, free: 2.504 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/0.625, allocations: 0.6093 MB / 462.4 MB, free: 2.113 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.6251, allocations: 1.375 kB / 462.4 MB, free: 2.113 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/0.6252, allocations: 16.12 kB / 462.4 MB, free: 2.102 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.6252, allocations: 8.25 kB / 462.4 MB, free: 2.102 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002837/0.6281, allocations: 0.5961 MB / 463 MB, free: 1.828 MB / 362.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.004785/0.6329, allocations: 2.633 MB / 465.6 MB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/0.6356, allocations: 0.4953 MB / 466.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08666/0.7223, allocations: 24.43 MB / 490.6 MB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.7224, allocations: 38.56 kB / 490.6 MB, free: 4.754 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 2.424e-06/0.7224, allocations: 0 / 490.6 MB, free: 4.754 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.004893/0.7273, allocations: 0.8886 MB / 491.5 MB, free: 3.859 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.745e-05/0.7274, allocations: 106.8 kB / 491.6 MB, free: 3.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000496/0.7279, allocations: 271.6 kB / 491.9 MB, free: 3.453 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.562e-05/0.728, allocations: 33.69 kB / 491.9 MB, free: 3.414 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.7282, allocations: 246.7 kB / 492.1 MB, free: 3.172 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.7283, allocations: 90.73 kB / 492.2 MB, free: 3.082 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.7284, allocations: 4 kB / 492.2 MB, free: 3.078 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.7285, allocations: 326.8 kB / 492.6 MB, free: 2.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008081/0.7293, allocations: 163.9 kB / 492.7 MB, free: 2.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009019/0.7303, allocations: 266.9 kB / 493 MB, free: 2.289 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008383/0.7311, allocations: 178.9 kB / 493.2 MB, free: 2.117 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.7311, allocations: 0 / 493.2 MB, free: 2.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001943/0.7331, allocations: 461 kB / 493.6 MB, free: 1.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.7332, allocations: 14.61 kB / 493.6 MB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.7332, allocations: 11.92 kB / 493.6 MB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.7332, allocations: 8.312 kB / 493.6 MB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007096/0.7339, allocations: 91.88 kB / 493.7 MB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.734, allocations: 4 kB / 493.7 MB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006649/0.7346, allocations: 71.64 kB / 493.8 MB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.402e-05/0.7347, allocations: 16 kB / 493.8 MB, free: 1.449 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (35): * Single equations (assignments): 35 * 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.0002889/0.735, allocations: 157.8 kB / 494 MB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.7351, allocations: 35.53 kB / 494 MB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004266/0.7394, allocations: 1.971 MB / 496 MB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.955e-05/0.7395, allocations: 27.95 kB / 496 MB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.7396, allocations: 0 / 496 MB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.7396, allocations: 0 / 496 MB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.7412, allocations: 1.015 MB / 497 MB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.7413, allocations: 7.984 kB / 497 MB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006944/0.742, allocations: 91.88 kB / 497.1 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.742, allocations: 0 / 497.1 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.7421, allocations: 8 kB / 497.1 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.7421, allocations: 11.94 kB / 497.1 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.7421, allocations: 0 / 497.1 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002732/0.7448, allocations: 1.125 MB / 498.3 MB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/0.7452, allocations: 223.5 kB / 498.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.7454, allocations: 4 kB / 498.5 MB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006175/0.746, allocations: 59.86 kB / 498.5 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.7462, allocations: 35.77 kB / 498.6 MB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.7462, allocations: 11.98 kB / 498.6 MB, free: 12.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006057/0.7469, allocations: 327.1 kB / 498.9 MB, free: 12.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.7469, allocations: 0 / 498.9 MB, free: 12.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004353/0.7512, allocations: 0.9486 MB / 499.9 MB, free: 11.3 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,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * 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.008374/0.7597, allocations: 1.169 MB / 0.4893 GB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002258/0.762, allocations: 0.6419 MB / 0.4899 GB, free: 9.477 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.762, allocations: 4 kB / 0.4899 GB, free: 9.473 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.7633, allocations: 0.5295 MB / 0.4904 GB, free: 8.941 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.7653, allocations: 201 kB / 0.4906 GB, free: 8.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003686/0.769, allocations: 1.912 MB / 0.4925 GB, free: 6.801 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006849/0.7698, allocations: 0.9797 MB / 0.4934 GB, free: 5.793 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.77, allocations: 39.44 kB / 0.4935 GB, free: 5.754 MB / 410.7 MB Notification: Performance of SimCode: time 1.292e-06/0.77, allocations: 0 / 0.4935 GB, free: 5.754 MB / 410.7 MB Notification: Performance of Templates: time 0.06397/0.834, allocations: 25.72 MB / 0.5186 GB, free: 12.05 MB / 442.7 MB