Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,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_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadModel(ModelicaTest): time 2.363/2.363, allocations: 270 MB / 283.6 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.011e-05/3.02e-05, allocations: 0 / 348.4 MB, free: 2.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3649, allocations: 61.88 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.191/7.556, allocations: 2.777 GB / 3.177 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/7.556, allocations: 81.72 kB / 3.178 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.033/8.589, allocations: 239.3 MB / 3.411 GB, free: 86.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.957e-06/8.589, allocations: 3.188 kB / 3.411 GB, free: 86.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.884e-05/8.589, allocations: 9.359 kB / 3.411 GB, free: 86.62 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004592/8.594, allocations: 1.285 MB / 3.413 GB, free: 85.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/8.594, allocations: 11.44 kB / 3.413 GB, free: 85.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002894/8.597, allocations: 253.7 kB / 3.413 GB, free: 85.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008869/8.598, allocations: 416 kB / 3.413 GB, free: 85.45 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.194e-05/8.598, allocations: 30.59 kB / 3.413 GB, free: 85.44 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.363e-05/8.598, allocations: 31.28 kB / 3.413 GB, free: 85.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/8.6, allocations: 0.6296 MB / 3.414 GB, free: 85.13 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/8.6, allocations: 0 / 3.414 GB, free: 85.13 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.318e-05/8.6, allocations: 15.69 kB / 3.414 GB, free: 85.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/8.6, allocations: 7.625 kB / 3.414 GB, free: 85.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/8.601, allocations: 0.5254 MB / 3.414 GB, free: 84.97 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.003842/8.605, allocations: 2.713 MB / 3.417 GB, free: 82.74 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/8.607, allocations: 0.5013 MB / 3.418 GB, free: 82.59 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/8.608, allocations: 145.8 kB / 3.418 GB, free: 82.53 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05292/8.66, allocations: 24.16 MB / 3.441 GB, free: 67.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/8.661, allocations: 38.16 kB / 3.441 GB, free: 67.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.552e-06/8.661, allocations: 0 / 3.441 GB, free: 67.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.002847/8.663, allocations: 0.6648 MB / 3.442 GB, free: 67.16 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/8.663, allocations: 108.9 kB / 3.442 GB, free: 67.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004702/8.664, allocations: 343.1 kB / 3.442 GB, free: 66.86 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/8.664, allocations: 33.52 kB / 3.442 GB, free: 66.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/8.664, allocations: 220.6 kB / 3.443 GB, free: 66.64 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.501e-05/8.664, allocations: 100.7 kB / 3.443 GB, free: 66.56 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/8.664, allocations: 7.906 kB / 3.443 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.734e-05/8.664, allocations: 346.1 kB / 3.443 GB, free: 66.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/8.665, allocations: 106.3 kB / 3.443 GB, free: 66.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/8.665, allocations: 234 kB / 3.443 GB, free: 65.99 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/8.665, allocations: 131.3 kB / 3.444 GB, free: 65.94 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.477e-06/8.665, allocations: 0 / 3.444 GB, free: 65.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009229/8.666, allocations: 397.9 kB / 3.444 GB, free: 65.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002888/8.667, allocations: 1.397 MB / 3.445 GB, free: 64.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/8.667, allocations: 11.88 kB / 3.445 GB, free: 64.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/8.667, allocations: 3.656 kB / 3.445 GB, free: 64.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005611/8.667, allocations: 103.4 kB / 3.445 GB, free: 64.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/8.667, allocations: 14.55 kB / 3.445 GB, free: 64.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/8.668, allocations: 79.09 kB / 3.445 GB, free: 64.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/8.668, allocations: 22.2 kB / 3.445 GB, free: 64.22 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/8.668, allocations: 3.938 kB / 3.445 GB, free: 64.22 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00072/8.669, allocations: 325.3 kB / 3.446 GB, free: 64.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.452e-06/8.669, allocations: 3.562 kB / 3.446 GB, free: 64.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/8.669, allocations: 7.594 kB / 3.446 GB, free: 64.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/8.669, allocations: 105.6 kB / 3.446 GB, free: 64.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/8.669, allocations: 7.594 kB / 3.446 GB, free: 64.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005328/8.67, allocations: 69.25 kB / 3.446 GB, free: 64.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/8.67, allocations: 19.09 kB / 3.446 GB, free: 64.06 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (44): * Single equations (assignments): 44 * 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.0001628/8.67, allocations: 132.1 kB / 3.446 GB, free: 63.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/8.67, allocations: 42.34 kB / 3.446 GB, free: 63.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/8.673, allocations: 1.911 MB / 3.448 GB, free: 62.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.361e-05/8.673, allocations: 34.08 kB / 3.448 GB, free: 62.97 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.237e-06/8.673, allocations: 0 / 3.448 GB, free: 62.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.379e-06/8.673, allocations: 3.516 kB / 3.448 GB, free: 62.97 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/8.674, allocations: 1.053 MB / 3.449 GB, free: 62.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.906e-06/8.674, allocations: 0 / 3.449 GB, free: 62.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005172/8.675, allocations: 88.45 kB / 3.449 GB, free: 62.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.953e-06/8.675, allocations: 3.516 kB / 3.449 GB, free: 62.37 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/8.675, allocations: 7.906 kB / 3.449 GB, free: 62.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.543e-06/8.675, allocations: 2 kB / 3.449 GB, free: 62.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/8.675, allocations: 0 / 3.449 GB, free: 62.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/8.676, allocations: 1.044 MB / 3.45 GB, free: 61.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/8.677, allocations: 272.8 kB / 3.45 GB, free: 61.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/8.677, allocations: 15.34 kB / 3.45 GB, free: 61.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005367/8.677, allocations: 36 kB / 3.451 GB, free: 61.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/8.677, allocations: 39.89 kB / 3.451 GB, free: 61.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/8.677, allocations: 15.14 kB / 3.451 GB, free: 61.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005579/8.678, allocations: 365 kB / 3.451 GB, free: 61.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.12e-07/8.678, allocations: 0 / 3.451 GB, free: 61.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004653/8.683, allocations: 1.162 MB / 3.452 GB, free: 61.16 MB / 0.5261 GB 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,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * 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.007931/8.691, allocations: 1.447 MB / 3.453 GB, free: 60.79 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001429/8.692, allocations: 0.7149 MB / 3.454 GB, free: 60.51 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.142e-06/8.692, allocations: 0.625 kB / 3.454 GB, free: 60.51 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000585/8.693, allocations: 495.8 kB / 3.455 GB, free: 60.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/8.694, allocations: 234.7 kB / 3.455 GB, free: 60 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/8.696, allocations: 1.201 MB / 3.456 GB, free: 58.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/8.697, allocations: 1.015 MB / 3.457 GB, free: 57.95 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001246/8.698, allocations: 0.5567 MB / 3.458 GB, free: 57.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/8.698, allocations: 47.33 kB / 3.458 GB, free: 57.57 MB / 0.5261 GB Notification: Performance of SimCode: time 1.66e-06/8.698, allocations: 0 / 3.458 GB, free: 57.57 MB / 0.5261 GB Notification: Performance of Templates: time 0.06162/8.76, allocations: 34.63 MB / 3.491 GB, free: 29.86 MB / 0.5261 GB