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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadModel(ModelicaTest): time 2.684/2.684, allocations: 234.9 MB / 250.1 MB, free: 9.93 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.675e-05/3.687e-05, allocations: 0 / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.3993, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.03984/0.4392, allocations: 23.36 MB / 386.2 MB, free: 6.43 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03002/0.4693, allocations: 13.79 MB / 400 MB, free: 8.609 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008351/0.4702, allocations: 15.88 kB / 400 MB, free: 8.594 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.4714, allocations: 246.8 kB / 400.3 MB, free: 8.352 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.4832, allocations: 2.637 MB / 402.9 MB, free: 5.707 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01179/0.4951, allocations: 2.662 MB / 405.6 MB, free: 3.039 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.4966, allocations: 0.4969 MB / 406.1 MB, free: 2.543 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004945/0.4971, allocations: 195.6 kB / 406.2 MB, free: 2.352 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.4984, allocations: 382.8 kB / 406.6 MB, free: 1.977 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005185/0.499, allocations: 211.3 kB / 406.8 MB, free: 1.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0211/0.5201, allocations: 6.684 MB / 413.5 MB, free: 11.08 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003019/0.5232, allocations: 412 kB / 413.9 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003062/0.5236, allocations: 79.69 kB / 414 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.5238, allocations: 52 kB / 414 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008969/0.5328, allocations: 2.873 MB / 416.9 MB, free: 7.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.5329, allocations: 0 / 416.9 MB, free: 7.668 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.447e-06/0.5329, allocations: 0 / 416.9 MB, free: 7.668 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.5329, allocations: 0 / 416.9 MB, free: 7.668 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.004656/0.5376, allocations: 1.189 MB / 418.1 MB, free: 6.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.07e-05/0.5376, allocations: 12.03 kB / 418.1 MB, free: 6.418 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002818/0.5405, allocations: 243.1 kB / 418.3 MB, free: 6.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009695/0.5415, allocations: 390.7 kB / 418.7 MB, free: 5.754 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.752e-05/0.5416, allocations: 32.66 kB / 418.8 MB, free: 5.723 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.106e-05/0.5417, allocations: 36 kB / 418.8 MB, free: 5.688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/0.5443, allocations: 0.637 MB / 419.4 MB, free: 5.008 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.5443, allocations: 0 / 419.4 MB, free: 5.008 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.58e-05/0.5444, allocations: 16 kB / 419.4 MB, free: 4.992 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.5445, allocations: 8 kB / 419.5 MB, free: 4.984 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002717/0.5472, allocations: 0.5918 MB / 420 MB, free: 4.395 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.005061/0.5523, allocations: 2.692 MB / 422.7 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00315/0.5555, allocations: 0.5587 MB / 423.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2185/0.774, allocations: 55.46 MB / 478.8 MB, free: 3.523 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.7741, allocations: 30.56 kB / 478.8 MB, free: 3.484 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.537e-06/0.7741, allocations: 4 kB / 478.8 MB, free: 3.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.004357/0.7785, allocations: 0.8297 MB / 479.6 MB, free: 2.645 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.911e-05/0.7786, allocations: 106.8 kB / 479.7 MB, free: 2.516 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006393/0.7792, allocations: 324.7 kB / 480 MB, free: 2.188 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.457e-05/0.7794, allocations: 37.58 kB / 480.1 MB, free: 2.145 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/0.7796, allocations: 294.1 kB / 480.4 MB, free: 1.852 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.7798, allocations: 94.73 kB / 480.5 MB, free: 1.758 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.7798, allocations: 8 kB / 480.5 MB, free: 1.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.78, allocations: 330.8 kB / 480.8 MB, free: 1.418 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006917/0.7807, allocations: 164.8 kB / 480.9 MB, free: 1.258 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008201/0.7815, allocations: 312 kB / 481.3 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007692/0.7823, allocations: 203.9 kB / 481.5 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.7823, allocations: 0 / 481.5 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001921/0.7843, allocations: 0.5051 MB / 482 MB, free: 176 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001036/0.7853, allocations: 1.825 MB / 483.8 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.7854, allocations: 4 kB / 483.8 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.387e-05/0.7854, allocations: 8 kB / 483.8 MB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008659/0.7863, allocations: 127.8 kB / 483.9 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/0.7863, allocations: 7.938 kB / 483.9 MB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007144/0.787, allocations: 71.5 kB / 484 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/0.7871, allocations: 31.98 kB / 484 MB, free: 13.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.7872, allocations: 4 kB / 484 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001779/0.789, allocations: 463.5 kB / 484.5 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.789, allocations: 8 kB / 484.5 MB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.789, allocations: 4 kB / 484.5 MB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007693/0.7898, allocations: 115.8 kB / 484.6 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/0.7898, allocations: 12.33 kB / 484.6 MB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005244/0.7904, allocations: 63.72 kB / 484.7 MB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/0.7905, allocations: 23.98 kB / 484.7 MB, free: 13.28 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.0003766/0.7908, allocations: 177.6 kB / 484.9 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.791, allocations: 35.53 kB / 484.9 MB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004258/0.7953, allocations: 1.978 MB / 486.9 MB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.398e-05/0.7954, allocations: 27.95 kB / 486.9 MB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.7954, allocations: 0 / 486.9 MB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.929e-05/0.7955, allocations: 7.922 kB / 486.9 MB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.7973, allocations: 1.039 MB / 488 MB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/0.7973, allocations: 0 / 488 MB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006778/0.798, allocations: 87.88 kB / 488.1 MB, free: 9.863 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.7981, allocations: 4 kB / 488.1 MB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.7981, allocations: 12 kB / 488.1 MB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.7981, allocations: 0 / 488.1 MB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.7981, allocations: 0 / 488.1 MB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/0.8006, allocations: 1.124 MB / 489.2 MB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004454/0.8011, allocations: 255.3 kB / 489.4 MB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.8012, allocations: 12 kB / 489.5 MB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005542/0.8018, allocations: 31.97 kB / 489.5 MB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.8019, allocations: 35.95 kB / 489.5 MB, free: 8.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.802, allocations: 15.92 kB / 489.5 MB, free: 8.344 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006368/0.8026, allocations: 318.9 kB / 489.8 MB, free: 8.031 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.8027, allocations: 0 / 489.8 MB, free: 8.031 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004153/0.8068, allocations: 1.085 MB / 490.9 MB, free: 6.945 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.007103/0.814, allocations: 1.217 MB / 492.1 MB, free: 5.727 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00292/0.8169, allocations: 0.8906 MB / 493 MB, free: 4.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.817, allocations: 8.062 kB / 493 MB, free: 4.832 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.8182, allocations: 0.5173 MB / 493.6 MB, free: 4.312 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.8201, allocations: 198.6 kB / 493.8 MB, free: 4.121 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004245/0.8244, allocations: 2.156 MB / 495.9 MB, free: 1.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007238/0.8252, allocations: 1.007 MB / 496.9 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.8255, allocations: 51.42 kB / 497 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of SimCode: time 1.373e-06/0.8255, allocations: 0 / 497 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of Templates: time 0.4277/1.253, allocations: 26.8 MB / 0.5115 GB, free: 135 MB / 442.7 MB