Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pressure1.p|pressure2.p|relativePressure.p_rel|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") Notification: Performance of loadModel(ModelicaTest): time 2.595/2.595, allocations: 234.9 MB / 250.1 MB, free: 9.934 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.126e-05/3.136e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.3988, allocations: 54.86 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure): time 0.05552/0.4544, allocations: 30.75 MB / 393.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0327/0.4872, allocations: 17.41 MB / 411 MB, free: 13.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007965/0.488, allocations: 23.88 kB / 411 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009059/0.489, allocations: 226.8 kB / 411.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01306/0.502, allocations: 3.166 MB / 414.4 MB, free: 10.15 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006054/0.5081, allocations: 1.421 MB / 415.8 MB, free: 8.723 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001473/0.5096, allocations: 0.5207 MB / 416.4 MB, free: 8.203 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005894/0.5102, allocations: 243.9 kB / 416.6 MB, free: 7.965 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02326/0.5335, allocations: 8.955 MB / 425.6 MB, free: 15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007732/0.5343, allocations: 223.3 kB / 425.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01967/0.554, allocations: 6.626 MB / 432.4 MB, free: 8.152 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003017/0.5571, allocations: 412 kB / 432.8 MB, free: 7.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003038/0.5575, allocations: 87.67 kB / 432.9 MB, free: 7.664 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.5577, allocations: 52 kB / 432.9 MB, free: 7.613 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00848/0.5662, allocations: 2.85 MB / 435.8 MB, free: 4.758 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5663, allocations: 0 / 435.8 MB, free: 4.758 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.5663, allocations: 4 kB / 435.8 MB, free: 4.754 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.5663, allocations: 0 / 435.8 MB, free: 4.754 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.004442/0.5708, allocations: 1.186 MB / 437 MB, free: 3.516 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/0.5708, allocations: 12.03 kB / 437 MB, free: 3.504 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002731/0.5736, allocations: 239.2 kB / 437.2 MB, free: 3.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.5748, allocations: 390 kB / 437.6 MB, free: 2.848 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.345e-05/0.5749, allocations: 29 kB / 437.6 MB, free: 2.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.406e-05/0.575, allocations: 36 kB / 437.7 MB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/0.5777, allocations: 0.6963 MB / 438.4 MB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.5777, allocations: 0 / 438.4 MB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.5778, allocations: 16 kB / 438.4 MB, free: 2.016 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.5779, allocations: 12 kB / 438.4 MB, free: 2.004 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/0.5806, allocations: 0.5878 MB / 439 MB, free: 1.418 MB / 362.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.005464/0.5861, allocations: 3.192 MB / 442.2 MB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/0.5882, allocations: 433.3 kB / 442.6 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6555/1.244, allocations: 81.75 MB / 0.5121 GB, free: 109.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/1.244, allocations: 43.02 kB / 0.5121 GB, free: 109.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.045e-06/1.244, allocations: 0 / 0.5121 GB, free: 109.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.00557/1.249, allocations: 0.8449 MB / 0.5129 GB, free: 109 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/1.25, allocations: 106.8 kB / 0.513 GB, free: 108.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006463/1.25, allocations: 303.3 kB / 0.5133 GB, free: 108.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/1.25, allocations: 29.7 kB / 0.5133 GB, free: 108.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/1.25, allocations: 325.5 kB / 0.5137 GB, free: 108.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.799e-05/1.251, allocations: 94.77 kB / 0.5137 GB, free: 108.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/1.251, allocations: 8 kB / 0.5138 GB, free: 108.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.445e-05/1.251, allocations: 326.8 kB / 0.5141 GB, free: 107.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007012/1.251, allocations: 135.9 kB / 0.5142 GB, free: 107.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008872/1.252, allocations: 341 kB / 0.5145 GB, free: 107.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008712/1.253, allocations: 175.9 kB / 0.5147 GB, free: 107.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/1.253, allocations: 4 kB / 0.5147 GB, free: 107.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002265/1.256, allocations: 0.499 MB / 0.5152 GB, free: 106.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006728/1.256, allocations: 2.436 MB / 0.5176 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/1.256, allocations: 4 kB / 0.5176 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004371/1.261, allocations: 234.5 kB / 0.5178 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009576/1.262, allocations: 103.8 kB / 0.5179 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008503/1.263, allocations: 0.6055 MB / 0.5185 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007548/1.263, allocations: 67.58 kB / 0.5185 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/1.263, allocations: 27.98 kB / 0.5186 GB, free: 102.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/1.263, allocations: 5.406 kB / 0.5186 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001926/1.265, allocations: 449.7 kB / 0.519 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/1.265, allocations: 4 kB / 0.519 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/1.266, allocations: 12 kB / 0.519 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/1.267, allocations: 121.9 kB / 0.5191 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/1.267, allocations: 11.94 kB / 0.5191 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000704/1.267, allocations: 60 kB / 0.5192 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-05/1.267, allocations: 24 kB / 0.5192 GB, free: 102.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004254/1.268, allocations: 175.5 kB / 0.5194 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/1.268, allocations: 43.38 kB / 0.5194 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004391/1.273, allocations: 1.876 MB / 0.5213 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.995e-05/1.273, allocations: 23.95 kB / 0.5213 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/1.273, allocations: 4 kB / 0.5213 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/1.273, allocations: 3.984 kB / 0.5213 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/1.275, allocations: 0.9417 MB / 0.5222 GB, free: 99.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/1.275, allocations: 8 kB / 0.5222 GB, free: 99.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007031/1.275, allocations: 67.88 kB / 0.5223 GB, free: 99.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002473/1.278, allocations: 0.5821 MB / 0.5229 GB, free: 98.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-05/1.278, allocations: 9.172 kB / 0.5229 GB, free: 98.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/1.279, allocations: 1.007 MB / 0.5238 GB, free: 97.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.279, allocations: 0 / 0.5238 GB, free: 97.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002987/1.282, allocations: 1.276 MB / 0.5251 GB, free: 96.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003414/1.283, allocations: 247.3 kB / 0.5253 GB, free: 95.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/1.283, allocations: 4 kB / 0.5253 GB, free: 95.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004603/1.283, allocations: 31.97 kB / 0.5254 GB, free: 95.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/1.283, allocations: 27.95 kB / 0.5254 GB, free: 95.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/1.283, allocations: 12 kB / 0.5254 GB, free: 95.78 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004343/1.284, allocations: 294.9 kB / 0.5257 GB, free: 95.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.284, allocations: 0 / 0.5257 GB, free: 95.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003663/1.288, allocations: 1.097 MB / 0.5268 GB, free: 94.48 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: 16 ($cse2.phase,$cse2.region,$cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006359/1.294, allocations: 1.208 MB / 0.5279 GB, free: 93.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002451/1.297, allocations: 0.8034 MB / 0.5287 GB, free: 92.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.297, allocations: 1.188 kB / 0.5287 GB, free: 92.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008962/1.297, allocations: 480.8 kB / 0.5292 GB, free: 92.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/1.299, allocations: 184.8 kB / 0.5294 GB, free: 91.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/1.302, allocations: 2.049 MB / 0.5314 GB, free: 89.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/1.303, allocations: 0.9874 MB / 0.5323 GB, free: 88.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/1.303, allocations: 47.42 kB / 0.5324 GB, free: 88.88 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/1.303, allocations: 0 / 0.5324 GB, free: 88.88 MB / 426.7 MB Notification: Performance of Templates: time 0.0563/1.359, allocations: 29.11 MB / 0.5608 GB, free: 59.76 MB / 426.7 MB