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_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadModel(ModelicaTest): time 2.15/2.15, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.807e-05/2.812e-05, allocations: 0 / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3121, allocations: 54.85 MB / 359.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.844/6.157, allocations: 2.635 GB / 2.986 GB, free: 44.45 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/6.157, allocations: 79.95 kB / 2.986 GB, free: 44.38 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9601/7.117, allocations: 235.5 MB / 3.216 GB, free: 9.273 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.914e-06/7.117, allocations: 0 / 3.216 GB, free: 9.273 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.558e-05/7.117, allocations: 16 kB / 3.216 GB, free: 9.258 MB / 490.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.005003/7.122, allocations: 1.305 MB / 3.218 GB, free: 7.906 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/7.122, allocations: 12.03 kB / 3.218 GB, free: 7.895 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002742/7.125, allocations: 251.2 kB / 3.218 GB, free: 7.648 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000898/7.126, allocations: 436.5 kB / 3.218 GB, free: 7.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.228e-05/7.126, allocations: 32.72 kB / 3.218 GB, free: 7.148 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.28e-05/7.126, allocations: 32 kB / 3.218 GB, free: 7.117 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/7.128, allocations: 0.6227 MB / 3.219 GB, free: 6.449 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/7.128, allocations: 3.938 kB / 3.219 GB, free: 6.445 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-05/7.128, allocations: 19.94 kB / 3.219 GB, free: 6.426 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/7.128, allocations: 12 kB / 3.219 GB, free: 6.414 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/7.129, allocations: 0.5168 MB / 3.219 GB, free: 5.898 MB / 490.7 MB 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.00326/7.133, allocations: 2.767 MB / 3.222 GB, free: 2.875 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/7.134, allocations: 447.2 kB / 3.223 GB, free: 2.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/7.135, allocations: 136.8 kB / 3.223 GB, free: 2.293 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4061/7.541, allocations: 51.74 MB / 3.273 GB, free: 43.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/7.541, allocations: 38.47 kB / 3.273 GB, free: 43.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.31e-06/7.541, allocations: 0 / 3.273 GB, free: 43.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.002681/7.543, allocations: 0.6409 MB / 3.274 GB, free: 43.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/7.543, allocations: 115.1 kB / 3.274 GB, free: 43.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/7.544, allocations: 294.2 kB / 3.274 GB, free: 43.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/7.544, allocations: 32.89 kB / 3.274 GB, free: 43.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/7.544, allocations: 286.4 kB / 3.275 GB, free: 43.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.756e-05/7.544, allocations: 91.5 kB / 3.275 GB, free: 43.37 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/7.544, allocations: 9.312 kB / 3.275 GB, free: 43.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.194e-05/7.544, allocations: 326.4 kB / 3.275 GB, free: 43.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/7.545, allocations: 111.3 kB / 3.275 GB, free: 43.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/7.545, allocations: 232.7 kB / 3.275 GB, free: 42.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/7.545, allocations: 125.5 kB / 3.275 GB, free: 42.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.981e-06/7.545, allocations: 1.875 kB / 3.275 GB, free: 42.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007902/7.546, allocations: 364 kB / 3.276 GB, free: 42.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003003/7.546, allocations: 1.48 MB / 3.277 GB, free: 41.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/7.546, allocations: 7.875 kB / 3.277 GB, free: 41.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/7.546, allocations: 7.562 kB / 3.277 GB, free: 41.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006823/7.547, allocations: 123.3 kB / 3.277 GB, free: 41.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/7.547, allocations: 10.16 kB / 3.277 GB, free: 41.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007174/7.548, allocations: 85.52 kB / 3.277 GB, free: 41.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/7.548, allocations: 23.67 kB / 3.277 GB, free: 41.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/7.548, allocations: 5.594 kB / 3.277 GB, free: 41.26 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000727/7.549, allocations: 320.1 kB / 3.278 GB, free: 41.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.451e-06/7.549, allocations: 7.406 kB / 3.278 GB, free: 41.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/7.549, allocations: 9.062 kB / 3.278 GB, free: 41.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006436/7.549, allocations: 118.4 kB / 3.278 GB, free: 41.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/7.549, allocations: 9.641 kB / 3.278 GB, free: 41.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005416/7.55, allocations: 83.09 kB / 3.278 GB, free: 41.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.855e-05/7.55, allocations: 16.94 kB / 3.278 GB, free: 41.24 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.0001396/7.55, allocations: 134.4 kB / 3.278 GB, free: 41.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/7.55, allocations: 41.92 kB / 3.278 GB, free: 41.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/7.553, allocations: 1.891 MB / 3.28 GB, free: 40.87 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.168e-05/7.553, allocations: 35.91 kB / 3.28 GB, free: 40.87 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.135e-06/7.553, allocations: 0 / 3.28 GB, free: 40.87 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.495e-06/7.553, allocations: 0 / 3.28 GB, free: 40.87 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/7.554, allocations: 1.018 MB / 3.281 GB, free: 40.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.475e-06/7.554, allocations: 2.109 kB / 3.281 GB, free: 40.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000581/7.555, allocations: 104.3 kB / 3.281 GB, free: 40.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/7.555, allocations: 3.25 kB / 3.281 GB, free: 40.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/7.555, allocations: 7.75 kB / 3.281 GB, free: 40.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.294e-06/7.555, allocations: 0.625 kB / 3.281 GB, free: 40.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.857e-06/7.555, allocations: 2.25 kB / 3.281 GB, free: 40.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/7.556, allocations: 1.012 MB / 3.282 GB, free: 40.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/7.557, allocations: 253.2 kB / 3.282 GB, free: 40.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.502e-05/7.557, allocations: 16.95 kB / 3.282 GB, free: 40.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000608/7.557, allocations: 58.16 kB / 3.282 GB, free: 40.24 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.547e-05/7.557, allocations: 34.22 kB / 3.282 GB, free: 40.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/7.557, allocations: 10.09 kB / 3.282 GB, free: 40.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004005/7.558, allocations: 295.8 kB / 3.283 GB, free: 40.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.02e-07/7.558, allocations: 0 / 3.283 GB, free: 40.15 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004694/7.563, allocations: 1.161 MB / 3.284 GB, free: 40.14 MB / 490.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,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.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.008093/7.571, allocations: 1.449 MB / 3.285 GB, free: 39.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001378/7.572, allocations: 0.6972 MB / 3.286 GB, free: 39.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.697e-06/7.572, allocations: 0 / 3.286 GB, free: 39.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006159/7.573, allocations: 493.5 kB / 3.286 GB, free: 39.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/7.574, allocations: 192.2 kB / 3.287 GB, free: 39.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1874/7.762, allocations: 76.38 MB / 3.361 GB, free: 29.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/7.762, allocations: 1.003 MB / 3.362 GB, free: 28.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/7.762, allocations: 47.08 kB / 3.362 GB, free: 28.85 MB / 490.7 MB Notification: Performance of SimCode: time 2.067e-06/7.762, allocations: 0 / 3.362 GB, free: 28.85 MB / 490.7 MB Notification: Performance of Templates: time 0.04368/7.806, allocations: 27.47 MB / 3.389 GB, free: 13.02 MB / 490.7 MB