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_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadModel(ModelicaTest): time 2.502/2.502, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.321e-05/3.323e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4117, allocations: 54.86 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.04101/0.4527, allocations: 23.36 MB / 386.2 MB, free: 6.363 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02869/0.4815, allocations: 13.78 MB / 400 MB, free: 8.547 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008476/0.4824, allocations: 23.81 kB / 400 MB, free: 8.523 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.4835, allocations: 242.9 kB / 400.3 MB, free: 8.285 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01121/0.4947, allocations: 2.644 MB / 402.9 MB, free: 5.633 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01214/0.5069, allocations: 2.653 MB / 405.6 MB, free: 2.977 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.5083, allocations: 0.5047 MB / 406.1 MB, free: 2.473 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004359/0.5088, allocations: 175.7 kB / 406.3 MB, free: 2.301 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.5099, allocations: 398.7 kB / 406.6 MB, free: 1.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004133/0.5103, allocations: 215.3 kB / 406.9 MB, free: 1.699 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01887/0.5292, allocations: 6.676 MB / 413.5 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002868/0.5321, allocations: 416 kB / 413.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002647/0.5325, allocations: 79.69 kB / 414 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.5327, allocations: 48 kB / 414.1 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008558/0.5413, allocations: 2.877 MB / 416.9 MB, free: 7.602 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5413, allocations: 0 / 416.9 MB, free: 7.602 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.5413, allocations: 0 / 416.9 MB, free: 7.602 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.5414, allocations: 4 kB / 416.9 MB, free: 7.598 MB / 346.7 MB 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.004714/0.5461, allocations: 1.189 MB / 418.1 MB, free: 6.359 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.5462, allocations: 8.031 kB / 418.1 MB, free: 6.352 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002808/0.549, allocations: 243.1 kB / 418.4 MB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009224/0.5499, allocations: 390.7 kB / 418.8 MB, free: 5.688 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.87e-05/0.55, allocations: 32.59 kB / 418.8 MB, free: 5.656 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.14e-05/0.5501, allocations: 32 kB / 418.8 MB, free: 5.625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/0.5528, allocations: 0.6331 MB / 419.5 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.5529, allocations: 0 / 419.5 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.427e-05/0.553, allocations: 20 kB / 419.5 MB, free: 4.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.553, allocations: 8 kB / 419.5 MB, free: 4.922 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002887/0.5559, allocations: 0.5917 MB / 420.1 MB, free: 4.332 MB / 346.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.004859/0.5608, allocations: 2.688 MB / 422.8 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003109/0.564, allocations: 0.562 MB / 423.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2201/0.7841, allocations: 55.45 MB / 478.8 MB, free: 3.465 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.852e-05/0.7842, allocations: 42.56 kB / 478.8 MB, free: 3.414 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.056e-06/0.7842, allocations: 0 / 478.8 MB, free: 3.414 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.004226/0.7884, allocations: 0.8297 MB / 479.6 MB, free: 2.578 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/0.7886, allocations: 106.8 kB / 479.8 MB, free: 2.449 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005985/0.7892, allocations: 328.7 kB / 480.1 MB, free: 2.117 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/0.7892, allocations: 33.7 kB / 480.1 MB, free: 2.078 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.7895, allocations: 243.6 kB / 480.3 MB, free: 1.832 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.7896, allocations: 94.67 kB / 480.4 MB, free: 1.738 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.7896, allocations: 8 kB / 480.4 MB, free: 1.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.7898, allocations: 354.8 kB / 480.8 MB, free: 1.375 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006693/0.7905, allocations: 164.8 kB / 481 MB, free: 1.215 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000792/0.7913, allocations: 319.9 kB / 481.3 MB, free: 0.832 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007714/0.7921, allocations: 199.9 kB / 481.5 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.7921, allocations: 0 / 481.5 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001852/0.794, allocations: 0.5242 MB / 482 MB, free: 108 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008187/0.7948, allocations: 1.825 MB / 483.8 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.7949, allocations: 7.938 kB / 483.8 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.948e-05/0.7949, allocations: 8 kB / 483.8 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008285/0.7957, allocations: 115.9 kB / 483.9 MB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/0.7958, allocations: 11.94 kB / 483.9 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007127/0.7965, allocations: 79.5 kB / 484 MB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.062e-05/0.7966, allocations: 23.98 kB / 484.1 MB, free: 13.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.7966, allocations: 4 kB / 484.1 MB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001697/0.7983, allocations: 467.6 kB / 484.5 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.7983, allocations: 4 kB / 484.5 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.7984, allocations: 11.94 kB / 484.5 MB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007547/0.7991, allocations: 112.2 kB / 484.6 MB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/0.7992, allocations: 15.92 kB / 484.7 MB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006396/0.7998, allocations: 59.62 kB / 484.7 MB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/0.7999, allocations: 24 kB / 484.7 MB, free: 13.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (49): * Single equations (assignments): 49 * 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.0003814/0.8003, allocations: 177.7 kB / 484.9 MB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.8004, allocations: 39.53 kB / 484.9 MB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004087/0.8045, allocations: 1.967 MB / 486.9 MB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.906e-05/0.8046, allocations: 27.95 kB / 486.9 MB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.8047, allocations: 0 / 486.9 MB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.8047, allocations: 3.984 kB / 486.9 MB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.8064, allocations: 1.043 MB / 488 MB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.8064, allocations: 3.938 kB / 488 MB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006322/0.8071, allocations: 91.88 kB / 488.1 MB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.8071, allocations: 0 / 488.1 MB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.8071, allocations: 8 kB / 488.1 MB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/0.8072, allocations: 4 kB / 488.1 MB, free: 9.785 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.8072, allocations: 0 / 488.1 MB, free: 9.785 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/0.8095, allocations: 1.127 MB / 489.2 MB, free: 8.641 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/0.8099, allocations: 251.4 kB / 489.5 MB, free: 8.375 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.8101, allocations: 15.94 kB / 489.5 MB, free: 8.359 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005485/0.8106, allocations: 47.81 kB / 489.5 MB, free: 8.312 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.8108, allocations: 27.95 kB / 489.6 MB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.8108, allocations: 16 kB / 489.6 MB, free: 8.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005969/0.8114, allocations: 314.8 kB / 489.9 MB, free: 7.961 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.8115, allocations: 3.938 kB / 489.9 MB, free: 7.957 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004008/0.8155, allocations: 1.085 MB / 491 MB, free: 6.871 MB / 426.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,$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.008671/0.8242, allocations: 1.201 MB / 492.2 MB, free: 5.668 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00473/0.829, allocations: 0.9077 MB / 493.1 MB, free: 4.762 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.8291, allocations: 0 / 493.1 MB, free: 4.762 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001862/0.8309, allocations: 0.5256 MB / 493.6 MB, free: 4.238 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/0.8335, allocations: 203.3 kB / 493.8 MB, free: 4.039 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004092/0.8376, allocations: 2.123 MB / 495.9 MB, free: 1.887 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007002/0.8383, allocations: 1.008 MB / 496.9 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001781/0.8401, allocations: 0.6063 MB / 497.5 MB, free: 248 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.8403, allocations: 47.42 kB / 497.6 MB, free: 200 kB / 426.7 MB Notification: Performance of SimCode: time 1.213e-06/0.8404, allocations: 0 / 497.6 MB, free: 200 kB / 426.7 MB Notification: Performance of Templates: time 0.3713/1.212, allocations: 30.83 MB / 0.516 GB, free: 105.4 MB / 426.7 MB