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.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") Notification: Performance of loadModel(ModelicaTest): time 2.031/2.031, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.265e-05/3.262e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3601, allocations: 48.7 MB / 324.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure): time 0.05509/0.4152, allocations: 30.52 MB / 355.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03385/0.4492, allocations: 17.26 MB / 372.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008394/0.45, allocations: 15.88 kB / 372.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.4511, allocations: 238.8 kB / 372.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01462/0.4657, allocations: 3.143 MB / 376 MB, free: 12.33 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006185/0.4719, allocations: 1.39 MB / 377.4 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.4735, allocations: 0.5168 MB / 377.9 MB, free: 10.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005923/0.4742, allocations: 231.9 kB / 378.2 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02359/0.4978, allocations: 8.85 MB / 387 MB, free: 1.324 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007182/0.4985, allocations: 227.3 kB / 387.2 MB, free: 1.102 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01978/0.5183, allocations: 6.524 MB / 393.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002827/0.5212, allocations: 400 kB / 394.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.5215, allocations: 87.67 kB / 394.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002504/0.5218, allocations: 52 kB / 394.3 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008216/0.53, allocations: 2.814 MB / 397.1 MB, free: 7.223 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.53, allocations: 7.938 kB / 397.1 MB, free: 7.215 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.5301, allocations: 0 / 397.1 MB, free: 7.215 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.5301, allocations: 0 / 397.1 MB, free: 7.215 MB / 330.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.003905/0.534, allocations: 1.162 MB / 398.3 MB, free: 6.004 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.5341, allocations: 12.03 kB / 398.3 MB, free: 5.992 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002466/0.5365, allocations: 223.2 kB / 398.5 MB, free: 5.773 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009114/0.5375, allocations: 397.9 kB / 398.9 MB, free: 5.348 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.947e-05/0.5376, allocations: 37 kB / 398.9 MB, free: 5.312 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-05/0.5377, allocations: 36 kB / 399 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/0.5402, allocations: 0.6846 MB / 399.6 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.5402, allocations: 0 / 399.6 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-05/0.5403, allocations: 20 kB / 399.7 MB, free: 4.516 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.5403, allocations: 8 kB / 399.7 MB, free: 4.508 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002592/0.543, allocations: 0.5917 MB / 400.3 MB, free: 3.914 MB / 330.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.005271/0.5482, allocations: 3.204 MB / 403.5 MB, free: 472 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/0.5504, allocations: 426.4 kB / 403.9 MB, free: 36 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6153/1.166, allocations: 81.65 MB / 485.5 MB, free: 135.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/1.166, allocations: 41.61 kB / 485.6 MB, free: 135.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 4.789e-06/1.166, allocations: 0 / 485.6 MB, free: 135.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.004445/1.17, allocations: 0.8339 MB / 486.4 MB, free: 135.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/1.17, allocations: 110.2 kB / 486.5 MB, free: 134.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005477/1.171, allocations: 301.5 kB / 486.8 MB, free: 134.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.49e-05/1.171, allocations: 30.8 kB / 486.8 MB, free: 134.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/1.171, allocations: 326.4 kB / 487.2 MB, free: 134.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/1.171, allocations: 91.22 kB / 487.2 MB, free: 134.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/1.171, allocations: 10.59 kB / 487.3 MB, free: 134.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.516e-05/1.171, allocations: 330.6 kB / 487.6 MB, free: 134.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005985/1.172, allocations: 131.8 kB / 487.7 MB, free: 134.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006846/1.173, allocations: 338.5 kB / 488 MB, free: 133.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006589/1.173, allocations: 174.6 kB / 488.2 MB, free: 133.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/1.173, allocations: 2.594 kB / 488.2 MB, free: 133.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001789/1.175, allocations: 0.5021 MB / 488.7 MB, free: 133.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005445/1.176, allocations: 2.45 MB / 491.2 MB, free: 130.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/1.176, allocations: 7.594 kB / 491.2 MB, free: 130.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003434/1.179, allocations: 226.5 kB / 491.4 MB, free: 130.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007849/1.18, allocations: 110.1 kB / 491.5 MB, free: 130.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006405/1.181, allocations: 0.5962 MB / 492.1 MB, free: 130.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006728/1.181, allocations: 68.86 kB / 492.2 MB, free: 130.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.615e-05/1.182, allocations: 29.3 kB / 492.2 MB, free: 130.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/1.182, allocations: 4.031 kB / 492.2 MB, free: 130.3 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00156/1.183, allocations: 444.6 kB / 492.6 MB, free: 130.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/1.183, allocations: 5.844 kB / 492.6 MB, free: 130.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/1.183, allocations: 10.72 kB / 492.6 MB, free: 130.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007859/1.184, allocations: 116.4 kB / 492.8 MB, free: 130.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/1.184, allocations: 10.62 kB / 492.8 MB, free: 130.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005092/1.185, allocations: 63.25 kB / 492.8 MB, free: 130.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.1e-05/1.185, allocations: 24.28 kB / 492.9 MB, free: 130.1 MB / 410.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.0003665/1.185, allocations: 180 kB / 493 MB, free: 129.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/1.185, allocations: 39.36 kB / 493.1 MB, free: 129.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003794/1.189, allocations: 1.884 MB / 494.9 MB, free: 129 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.983e-05/1.189, allocations: 27.17 kB / 495 MB, free: 129 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.189, allocations: 0 / 495 MB, free: 129 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/1.189, allocations: 6.281 kB / 495 MB, free: 129 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/1.191, allocations: 0.9432 MB / 495.9 MB, free: 128.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/1.191, allocations: 0 / 495.9 MB, free: 128.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/1.191, allocations: 72.36 kB / 496 MB, free: 128.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002104/1.193, allocations: 0.5817 MB / 496.6 MB, free: 128.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.895e-05/1.193, allocations: 10.97 kB / 496.6 MB, free: 128.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/1.194, allocations: 1.008 MB / 497.6 MB, free: 127.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/1.195, allocations: 3.984 kB / 497.6 MB, free: 127.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/1.197, allocations: 1.27 MB / 498.9 MB, free: 126.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004045/1.197, allocations: 241.4 kB / 499.1 MB, free: 126.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/1.198, allocations: 7.094 kB / 499.1 MB, free: 126.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004755/1.198, allocations: 31.69 kB / 499.1 MB, free: 126.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/1.198, allocations: 33.48 kB / 499.2 MB, free: 126.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/1.198, allocations: 8.156 kB / 499.2 MB, free: 126.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005128/1.199, allocations: 303.9 kB / 499.5 MB, free: 126.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.8e-07/1.199, allocations: 0 / 499.5 MB, free: 126.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004149/1.203, allocations: 1.089 MB / 0.4888 GB, free: 126.4 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: 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.006814/1.21, allocations: 1.199 MB / 0.49 GB, free: 126.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002706/1.212, allocations: 0.8109 MB / 0.4908 GB, free: 125.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/1.213, allocations: 0 / 0.4908 GB, free: 125.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/1.214, allocations: 477.4 kB / 0.4913 GB, free: 125.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/1.215, allocations: 182.3 kB / 0.4914 GB, free: 125.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/1.219, allocations: 2.055 MB / 0.4934 GB, free: 124 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/1.219, allocations: 0.9871 MB / 0.4944 GB, free: 123.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/1.22, allocations: 44.36 kB / 0.4944 GB, free: 123.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.272e-06/1.22, allocations: 0 / 0.4944 GB, free: 123.2 MB / 410.7 MB Notification: Performance of Templates: time 0.05433/1.274, allocations: 28.95 MB / 0.5227 GB, free: 94.5 MB / 410.7 MB