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.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadModel(ModelicaTest): time 1.938/1.938, allocations: 209.3 MB / 223.8 MB, free: 448 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.645e-05/2.64e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3496, allocations: 48.7 MB / 324.9 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.0602/0.4098, allocations: 23.2 MB / 348.1 MB, free: 3.547 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.04017/0.4501, allocations: 13.73 MB / 361.8 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009607/0.4511, allocations: 20.59 kB / 361.8 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.4526, allocations: 239.2 kB / 362.1 MB, free: 8.871 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01517/0.4678, allocations: 2.624 MB / 364.7 MB, free: 6.629 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01551/0.4833, allocations: 2.634 MB / 367.3 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002098/0.4855, allocations: 499.8 kB / 367.8 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007727/0.4863, allocations: 195 kB / 368 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.4882, allocations: 378.1 kB / 368.4 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008787/0.4892, allocations: 217.3 kB / 368.6 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02512/0.5143, allocations: 6.577 MB / 375.2 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003597/0.518, allocations: 399.9 kB / 375.6 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000362/0.5184, allocations: 79.73 kB / 375.6 MB, free: 12.67 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003746/0.5188, allocations: 52 kB / 375.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01031/0.5291, allocations: 2.842 MB / 378.5 MB, free: 9.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5292, allocations: 0 / 378.5 MB, free: 9.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.5292, allocations: 0 / 378.5 MB, free: 9.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.5292, allocations: 0 / 378.5 MB, free: 9.77 MB / 314.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.004394/0.5336, allocations: 1.177 MB / 379.7 MB, free: 8.543 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.5337, allocations: 8.031 kB / 379.7 MB, free: 8.535 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002749/0.5365, allocations: 223.2 kB / 379.9 MB, free: 8.316 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009478/0.5375, allocations: 394.6 kB / 380.3 MB, free: 7.891 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.207e-05/0.5375, allocations: 40.53 kB / 380.4 MB, free: 7.852 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-05/0.5376, allocations: 32 kB / 380.4 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/0.5404, allocations: 0.6293 MB / 381 MB, free: 7.148 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.5404, allocations: 0 / 381 MB, free: 7.148 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-05/0.5405, allocations: 16 kB / 381 MB, free: 7.133 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.5405, allocations: 12 kB / 381 MB, free: 7.121 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002835/0.5434, allocations: 0.5839 MB / 381.6 MB, free: 6.539 MB / 314.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.005015/0.5485, allocations: 2.688 MB / 384.3 MB, free: 3.609 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003095/0.5516, allocations: 0.5648 MB / 384.9 MB, free: 3.035 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2206/0.7722, allocations: 55.39 MB / 440.3 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/0.7723, allocations: 42.52 kB / 440.3 MB, free: 5.672 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 3.016e-06/0.7723, allocations: 0 / 440.3 MB, free: 5.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.004167/0.7765, allocations: 0.8251 MB / 441.1 MB, free: 4.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.7766, allocations: 106.8 kB / 441.2 MB, free: 4.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006097/0.7773, allocations: 328.6 kB / 441.6 MB, free: 4.383 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/0.7773, allocations: 37.7 kB / 441.6 MB, free: 4.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.7776, allocations: 243.8 kB / 441.8 MB, free: 4.098 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.7777, allocations: 94.66 kB / 441.9 MB, free: 4.004 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.7778, allocations: 4 kB / 441.9 MB, free: 4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.778, allocations: 346.8 kB / 442.3 MB, free: 3.652 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006745/0.7786, allocations: 164.8 kB / 442.4 MB, free: 3.492 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008022/0.7795, allocations: 319.9 kB / 442.7 MB, free: 3.113 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007446/0.7802, allocations: 187.9 kB / 442.9 MB, free: 2.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.753e-05/0.7803, allocations: 4 kB / 442.9 MB, free: 2.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001913/0.7822, allocations: 0.5242 MB / 443.4 MB, free: 2.395 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008375/0.7831, allocations: 1.833 MB / 445.3 MB, free: 428 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.7831, allocations: 4 kB / 445.3 MB, free: 424 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.799e-05/0.7831, allocations: 8 kB / 445.3 MB, free: 416 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008268/0.784, allocations: 111.9 kB / 445.4 MB, free: 304 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.39e-05/0.784, allocations: 15.86 kB / 445.4 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007154/0.7847, allocations: 75.56 kB / 445.5 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.686e-05/0.7848, allocations: 31.89 kB / 445.5 MB, free: 180 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.7849, allocations: 4 kB / 445.5 MB, free: 176 kB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001736/0.7866, allocations: 471.9 kB / 446 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.7866, allocations: 4 kB / 446 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.7867, allocations: 8 kB / 446 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007637/0.7874, allocations: 116.2 kB / 446.1 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.7875, allocations: 15.92 kB / 446.1 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006236/0.7881, allocations: 63.66 kB / 446.2 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-05/0.7882, allocations: 20 kB / 446.2 MB, free: 15.48 MB / 394.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.0003831/0.7886, allocations: 173.7 kB / 446.4 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.7887, allocations: 47.48 kB / 446.4 MB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004046/0.7928, allocations: 1.966 MB / 448.4 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.483e-05/0.7929, allocations: 27.95 kB / 448.4 MB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.7929, allocations: 0 / 448.4 MB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.7929, allocations: 3.984 kB / 448.4 MB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.7948, allocations: 1.039 MB / 449.5 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.7948, allocations: 3.984 kB / 449.5 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006628/0.7955, allocations: 87.89 kB / 449.6 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/0.7955, allocations: 3.984 kB / 449.6 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.7956, allocations: 11.95 kB / 449.6 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.7956, allocations: 0 / 449.6 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.7956, allocations: 4 kB / 449.6 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/0.7981, allocations: 1.12 MB / 450.7 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00047/0.7986, allocations: 263.3 kB / 450.9 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.7987, allocations: 4 kB / 451 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005571/0.7993, allocations: 55.8 kB / 451 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.7994, allocations: 23.95 kB / 451 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/0.7995, allocations: 16 kB / 451 MB, free: 10.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000635/0.8001, allocations: 322.8 kB / 451.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/0.8001, allocations: 0 / 451.4 MB, free: 10.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004392/0.8045, allocations: 1.077 MB / 452.4 MB, free: 9.152 MB / 394.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.006874/0.8115, allocations: 1.216 MB / 453.7 MB, free: 7.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002863/0.8144, allocations: 0.8962 MB / 454.6 MB, free: 7.035 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.8144, allocations: 0 / 454.6 MB, free: 7.035 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.8156, allocations: 0.5256 MB / 455.1 MB, free: 6.512 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.8175, allocations: 193.1 kB / 455.3 MB, free: 6.328 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004235/0.8218, allocations: 2.118 MB / 457.4 MB, free: 4.176 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007737/0.8226, allocations: 1.008 MB / 458.4 MB, free: 3.141 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002169/0.8248, allocations: 0.6162 MB / 459 MB, free: 2.523 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/0.8251, allocations: 43.42 kB / 459 MB, free: 2.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.413e-06/0.8251, allocations: 4 kB / 459.1 MB, free: 2.477 MB / 394.7 MB Notification: Performance of Templates: time 0.3406/1.166, allocations: 30.66 MB / 489.7 MB, free: 134.2 MB / 410.7 MB