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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadModel(ModelicaTest): time 2.421/2.421, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.69e-05/3.641e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1404, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.4049/0.5454, allocations: 23.46 MB / 434.4 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03654/0.582, allocations: 13.82 MB / 448.2 MB, free: 9.297 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008215/0.5829, allocations: 16.62 kB / 448.2 MB, free: 9.289 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.5839, allocations: 238.7 kB / 448.5 MB, free: 9.148 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0119/0.5959, allocations: 2.656 MB / 451.1 MB, free: 7.809 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01244/0.6083, allocations: 2.658 MB / 453.8 MB, free: 5.863 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.6099, allocations: 0.5027 MB / 454.3 MB, free: 5.504 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004662/0.6104, allocations: 192 kB / 454.5 MB, free: 5.383 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.6116, allocations: 386.9 kB / 454.8 MB, free: 5.145 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000499/0.6121, allocations: 211 kB / 455.1 MB, free: 5.035 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0204/0.6325, allocations: 6.699 MB / 461.8 MB, free: 1.922 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003104/0.6357, allocations: 412.1 kB / 462.2 MB, free: 1.922 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003032/0.636, allocations: 91.94 kB / 462.2 MB, free: 1.855 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003444/0.6364, allocations: 49.91 kB / 462.3 MB, free: 1.855 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008697/0.6451, allocations: 2.883 MB / 465.2 MB, free: 168 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.6452, allocations: 3.938 kB / 465.2 MB, free: 164 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6452, allocations: 3.031 kB / 465.2 MB, free: 164 kB / 362.7 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.6452, allocations: 0 / 465.2 MB, free: 164 kB / 362.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.004532/0.6497, allocations: 1.201 MB / 466.4 MB, free: 15.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.6498, allocations: 10.12 kB / 466.4 MB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/0.6525, allocations: 233.8 kB / 466.6 MB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000887/0.6534, allocations: 378 kB / 467 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.883e-05/0.6535, allocations: 32.42 kB / 467 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.282e-05/0.6536, allocations: 33.97 kB / 467.1 MB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/0.656, allocations: 0.6266 MB / 467.7 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.6561, allocations: 3.938 kB / 467.7 MB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.949e-05/0.6562, allocations: 25.52 kB / 467.7 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.6562, allocations: 12.33 kB / 467.7 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002734/0.6589, allocations: 0.5876 MB / 468.3 MB, free: 14.11 MB / 378.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.005299/0.6643, allocations: 2.753 MB / 471.1 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003223/0.6675, allocations: 0.5883 MB / 471.7 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08672/0.7543, allocations: 24.43 MB / 496.1 MB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.7544, allocations: 38.56 kB / 496.1 MB, free: 15.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.005e-06/0.7544, allocations: 0 / 496.1 MB, free: 15.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.004401/0.7588, allocations: 0.8557 MB / 497 MB, free: 14.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.7589, allocations: 110.8 kB / 497.1 MB, free: 14.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006285/0.7595, allocations: 341 kB / 497.4 MB, free: 13.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.7596, allocations: 37.7 kB / 497.5 MB, free: 13.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/0.7598, allocations: 262.6 kB / 497.7 MB, free: 13.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.7599, allocations: 94.66 kB / 497.8 MB, free: 13.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.76, allocations: 8 kB / 497.8 MB, free: 13.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7601, allocations: 334.8 kB / 498.1 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007256/0.7609, allocations: 159.9 kB / 498.3 MB, free: 13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000803/0.7617, allocations: 283.3 kB / 498.6 MB, free: 12.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007574/0.7625, allocations: 195.4 kB / 498.8 MB, free: 12.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.7625, allocations: 0 / 498.8 MB, free: 12.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001824/0.7643, allocations: 493.1 kB / 499.2 MB, free: 11.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005776/0.7649, allocations: 1.399 MB / 0.4889 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.7649, allocations: 0 / 0.4889 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.765, allocations: 8 kB / 0.4889 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007706/0.7657, allocations: 107.8 kB / 0.489 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.981e-05/0.7658, allocations: 8 kB / 0.489 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/0.7665, allocations: 79.42 kB / 0.4891 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/0.7666, allocations: 23.94 kB / 0.4891 GB, free: 10.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.7666, allocations: 7.594 kB / 0.4891 GB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001698/0.7683, allocations: 449.3 kB / 0.4896 GB, free: 9.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.7683, allocations: 4 kB / 0.4896 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.7684, allocations: 4 kB / 0.4896 GB, free: 9.812 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007227/0.7691, allocations: 103.9 kB / 0.4897 GB, free: 9.711 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.7691, allocations: 7.938 kB / 0.4897 GB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/0.7696, allocations: 63.95 kB / 0.4897 GB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.722e-05/0.7697, allocations: 23.98 kB / 0.4898 GB, free: 9.617 MB / 410.7 MB 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.000308/0.77, allocations: 173.7 kB / 0.4899 GB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.7701, allocations: 39.53 kB / 0.49 GB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003988/0.7741, allocations: 1.974 MB / 0.4919 GB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.246e-05/0.7742, allocations: 31.94 kB / 0.4919 GB, free: 7.383 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.7742, allocations: 4 kB / 0.4919 GB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.7742, allocations: 0 / 0.4919 GB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.7759, allocations: 1.063 MB / 0.493 GB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.7759, allocations: 0 / 0.493 GB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006634/0.7766, allocations: 91.88 kB / 0.493 GB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.7766, allocations: 4 kB / 0.4931 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/0.7767, allocations: 7.984 kB / 0.4931 GB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.7767, allocations: 4 kB / 0.4931 GB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.7767, allocations: 0 / 0.4931 GB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/0.7791, allocations: 1.135 MB / 0.4942 GB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/0.7796, allocations: 271.3 kB / 0.4944 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.7797, allocations: 12 kB / 0.4944 GB, free: 4.715 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005951/0.7803, allocations: 35.97 kB / 0.4945 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.7805, allocations: 39.88 kB / 0.4945 GB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.144e-05/0.7805, allocations: 12 kB / 0.4945 GB, free: 4.629 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007348/0.7813, allocations: 378.8 kB / 0.4949 GB, free: 4.258 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7813, allocations: 4 kB / 0.4949 GB, free: 4.254 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004432/0.7857, allocations: 1.089 MB / 0.496 GB, free: 3.164 MB / 410.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.006829/0.7926, allocations: 1.22 MB / 0.4971 GB, free: 1.938 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002937/0.7956, allocations: 0.8827 MB / 0.498 GB, free: 1.055 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.7956, allocations: 192 / 0.498 GB, free: 1.055 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.7968, allocations: 0.529 MB / 0.4985 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/0.7989, allocations: 232.9 kB / 0.4987 GB, free: 308 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/0.8027, allocations: 2.05 MB / 0.5008 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007104/0.8035, allocations: 1.007 MB / 0.5017 GB, free: 13.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.8037, allocations: 55.42 kB / 0.5018 GB, free: 13.12 MB / 426.7 MB Notification: Performance of SimCode: time 8.21e-07/0.8038, allocations: 0 / 0.5018 GB, free: 13.12 MB / 426.7 MB Notification: Performance of Templates: time 0.06369/0.8675, allocations: 27.06 MB / 0.5282 GB, free: 2.074 MB / 442.7 MB