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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") Notification: Performance of loadModel(ModelicaTest): time 2.382/2.382, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.083e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1328, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure): time 0.3801/0.513, allocations: 30.89 MB / 441.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0333/0.5463, allocations: 17.5 MB / 459.3 MB, free: 1.199 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008569/0.5472, allocations: 16.22 kB / 459.3 MB, free: 1.191 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.5483, allocations: 222.7 kB / 459.6 MB, free: 1.059 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01334/0.5617, allocations: 3.19 MB / 462.7 MB, free: 14.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006394/0.5681, allocations: 1.42 MB / 464.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001556/0.5697, allocations: 0.5229 MB / 464.7 MB, free: 12.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005349/0.5702, allocations: 230.1 kB / 464.9 MB, free: 12.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02233/0.5926, allocations: 8.972 MB / 473.9 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008341/0.5935, allocations: 223.3 kB / 474.1 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01941/0.6129, allocations: 6.645 MB / 480.8 MB, free: 1.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002984/0.6159, allocations: 412 kB / 481.2 MB, free: 1.367 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002845/0.6163, allocations: 87.72 kB / 481.2 MB, free: 1.281 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003026/0.6166, allocations: 56 kB / 481.3 MB, free: 1.227 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00824/0.6248, allocations: 2.868 MB / 484.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.6249, allocations: 0 / 484.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6249, allocations: 0 / 484.2 MB, free: 14.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.6249, allocations: 0 / 484.2 MB, free: 14.36 MB / 394.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.00411/0.6291, allocations: 1.182 MB / 485.3 MB, free: 13.12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.6291, allocations: 8.031 kB / 485.4 MB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002624/0.6318, allocations: 239.2 kB / 485.6 MB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008988/0.6327, allocations: 389.9 kB / 486 MB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.827e-05/0.6328, allocations: 29 kB / 486 MB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.211e-05/0.6329, allocations: 43.95 kB / 486 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002516/0.6354, allocations: 0.6847 MB / 486.7 MB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.6355, allocations: 8 kB / 486.7 MB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.412e-05/0.6356, allocations: 20 kB / 486.8 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.6356, allocations: 12 kB / 486.8 MB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002646/0.6383, allocations: 0.5839 MB / 487.3 MB, free: 11.03 MB / 394.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.005984/0.6443, allocations: 3.305 MB / 490.7 MB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.6466, allocations: 462.4 kB / 491.1 MB, free: 7.008 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2005/0.8472, allocations: 56.33 MB / 0.5346 GB, free: 8.047 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.8473, allocations: 38.56 kB / 0.5346 GB, free: 8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=27): time 3.737e-06/0.8473, allocations: 0 / 0.5346 GB, free: 8 MB / 458.7 MB Notification: Performance of matching and sorting (n=27): time 0.00494/0.8522, allocations: 0.928 MB / 0.5355 GB, free: 7.047 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/0.8524, allocations: 114.7 kB / 0.5357 GB, free: 6.91 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006156/0.853, allocations: 349 kB / 0.536 GB, free: 6.562 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.452e-05/0.8531, allocations: 33.7 kB / 0.536 GB, free: 6.523 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.8533, allocations: 306 kB / 0.5363 GB, free: 6.223 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.8535, allocations: 90.69 kB / 0.5364 GB, free: 6.133 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.8535, allocations: 8 kB / 0.5364 GB, free: 6.125 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.8536, allocations: 326.8 kB / 0.5367 GB, free: 5.797 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006586/0.8543, allocations: 148.8 kB / 0.5369 GB, free: 5.648 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007868/0.8551, allocations: 317.7 kB / 0.5372 GB, free: 5.262 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007327/0.8559, allocations: 179.8 kB / 0.5373 GB, free: 5.086 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.8559, allocations: 0 / 0.5373 GB, free: 5.086 MB / 458.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001912/0.8578, allocations: 0.5072 MB / 0.5378 GB, free: 4.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008452/0.8587, allocations: 2.003 MB / 0.5398 GB, free: 2.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.8587, allocations: 8 kB / 0.5398 GB, free: 2.402 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005388/0.8641, allocations: 372.4 kB / 0.5401 GB, free: 2.035 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007852/0.865, allocations: 99.81 kB / 0.5402 GB, free: 1.938 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008218/0.8658, allocations: 0.6147 MB / 0.5408 GB, free: 1.297 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007785/0.8666, allocations: 75.41 kB / 0.5409 GB, free: 1.223 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/0.8667, allocations: 20 kB / 0.5409 GB, free: 1.203 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.8667, allocations: 8.062 kB / 0.5409 GB, free: 1.195 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001671/0.8684, allocations: 450.7 kB / 0.5414 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.8685, allocations: 8 kB / 0.5414 GB, free: 0.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.8685, allocations: 8 kB / 0.5414 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008153/0.8693, allocations: 115.8 kB / 0.5415 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.8693, allocations: 15.97 kB / 0.5415 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/0.8699, allocations: 59.81 kB / 0.5416 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/0.8699, allocations: 24 kB / 0.5416 GB, free: 0.5312 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (45): * 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: 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003415/0.8703, allocations: 173.6 kB / 0.5418 GB, free: 360 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.8704, allocations: 47.44 kB / 0.5418 GB, free: 312 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003986/0.8744, allocations: 1.921 MB / 0.5437 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.324e-05/0.8745, allocations: 27.95 kB / 0.5437 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.8745, allocations: 0 / 0.5437 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.8746, allocations: 11.94 kB / 0.5437 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.8762, allocations: 0.9673 MB / 0.5447 GB, free: 13.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.8762, allocations: 8 kB / 0.5447 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005506/0.8768, allocations: 71.89 kB / 0.5447 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002448/0.8792, allocations: 0.631 MB / 0.5454 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.8793, allocations: 8.062 kB / 0.5454 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.8805, allocations: 1.03 MB / 0.5464 GB, free: 11.53 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8805, allocations: 0 / 0.5464 GB, free: 11.53 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/0.8832, allocations: 1.301 MB / 0.5476 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000482/0.8837, allocations: 259.4 kB / 0.5479 GB, free: 9.938 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.8839, allocations: 4 kB / 0.5479 GB, free: 9.934 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006023/0.8845, allocations: 39.91 kB / 0.5479 GB, free: 9.895 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.8846, allocations: 31.95 kB / 0.548 GB, free: 9.863 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/0.8847, allocations: 15.98 kB / 0.548 GB, free: 9.848 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000715/0.8854, allocations: 378.8 kB / 0.5483 GB, free: 9.477 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8854, allocations: 0 / 0.5483 GB, free: 9.477 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004113/0.8895, allocations: 1.105 MB / 0.5494 GB, free: 8.371 MB / 474.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 (30): * Single equations (assignments): 23 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.006578/0.8961, allocations: 1.209 MB / 0.5506 GB, free: 7.152 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00297/0.8992, allocations: 0.8269 MB / 0.5514 GB, free: 6.328 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/0.8992, allocations: 4 kB / 0.5514 GB, free: 6.324 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.9003, allocations: 492.8 kB / 0.5519 GB, free: 5.844 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.9024, allocations: 231.3 kB / 0.5521 GB, free: 5.625 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.9061, allocations: 1.943 MB / 0.554 GB, free: 3.648 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006792/0.9068, allocations: 0.9875 MB / 0.555 GB, free: 2.633 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.907, allocations: 51.42 kB / 0.555 GB, free: 2.582 MB / 474.7 MB Notification: Performance of SimCode: time 1.162e-06/0.9071, allocations: 0 / 0.555 GB, free: 2.582 MB / 474.7 MB Notification: Performance of Templates: time 0.06636/0.9734, allocations: 29.65 MB / 0.584 GB, free: 4.93 MB / 0.4948 GB