Running command: translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") Notification: Performance of loadModel(ThermoPower): time 2.273/2.273, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.729e-05/3.743e-05, allocations: 7.984 kB / 330.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3689, allocations: 60.24 MB / 391 MB, free: 4.891 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.157/7.526, allocations: 2.922 GB / 3.304 GB, free: 103 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/7.527, allocations: 72.62 kB / 3.304 GB, free: 103 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.638/9.164, allocations: 354.8 MB / 3.65 GB, free: 70.83 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.405e-06/9.164, allocations: 0 / 3.65 GB, free: 70.83 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.863e-05/9.165, allocations: 10.92 kB / 3.65 GB, free: 70.83 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004235/9.169, allocations: 1.224 MB / 3.652 GB, free: 70.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/9.169, allocations: 7.438 kB / 3.652 GB, free: 70.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000893/9.17, allocations: 109.1 kB / 3.652 GB, free: 70.15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008236/9.171, allocations: 383.9 kB / 3.652 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/9.171, allocations: 28.19 kB / 3.652 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.138e-05/9.171, allocations: 38.02 kB / 3.652 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/9.172, allocations: 0.5295 MB / 3.653 GB, free: 69.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/9.172, allocations: 3.875 kB / 3.653 GB, free: 69.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.596e-05/9.172, allocations: 17.34 kB / 3.653 GB, free: 69.71 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/9.172, allocations: 6.25 kB / 3.653 GB, free: 69.71 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000738/9.173, allocations: 297.4 kB / 3.653 GB, free: 69.71 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.002636/9.175, allocations: 2.53 MB / 3.655 GB, free: 67.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007466/9.176, allocations: 260.4 kB / 3.656 GB, free: 67.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/9.176, allocations: 160.3 kB / 3.656 GB, free: 67.72 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0884/9.265, allocations: 39.7 MB / 3.695 GB, free: 43.76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008222/9.266, allocations: 346 kB / 3.695 GB, free: 43.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 3.842e-06/9.266, allocations: 0 / 3.695 GB, free: 43.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36): time 0.004964/9.271, allocations: 1.744 MB / 3.697 GB, free: 42.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/9.271, allocations: 221 kB / 3.697 GB, free: 42.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004797/9.271, allocations: 345.6 kB / 3.697 GB, free: 42.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/9.271, allocations: 33.58 kB / 3.697 GB, free: 42.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/9.272, allocations: 246.5 kB / 3.697 GB, free: 42.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/9.272, allocations: 110 kB / 3.698 GB, free: 42.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/9.272, allocations: 10.62 kB / 3.698 GB, free: 42.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/9.272, allocations: 356.2 kB / 3.698 GB, free: 42.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/9.272, allocations: 144 kB / 3.698 GB, free: 42.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/9.273, allocations: 242.3 kB / 3.698 GB, free: 41.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/9.273, allocations: 228.3 kB / 3.698 GB, free: 41.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.884e-06/9.273, allocations: 0 / 3.698 GB, free: 41.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001529/9.275, allocations: 0.6548 MB / 3.699 GB, free: 41.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.015e-05/9.275, allocations: 69.17 kB / 3.699 GB, free: 41.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.936e-06/9.275, allocations: 0 / 3.699 GB, free: 41.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000693/9.275, allocations: 94.56 kB / 3.699 GB, free: 41.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/9.276, allocations: 62.22 kB / 3.699 GB, free: 41.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008278/9.277, allocations: 1.13 MB / 3.7 GB, free: 40.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/9.277, allocations: 37.12 kB / 3.7 GB, free: 40.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.487e-05/9.277, allocations: 23.94 kB / 3.7 GB, free: 40.58 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,$PRE.steamFlowRate.nextEvent,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled,tank.liquidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002014/9.277, allocations: 205.3 kB / 3.701 GB, free: 40.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/9.278, allocations: 52.22 kB / 3.701 GB, free: 40.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/9.28, allocations: 1.5 MB / 3.702 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-05/9.28, allocations: 11.47 kB / 3.702 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.613e-06/9.28, allocations: 10.02 kB / 3.702 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.484e-06/9.28, allocations: 0 / 3.702 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009585/9.281, allocations: 0.6837 MB / 3.703 GB, free: 39.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.687e-06/9.281, allocations: 0 / 3.703 GB, free: 39.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003426/9.281, allocations: 48.09 kB / 3.703 GB, free: 39.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/9.283, allocations: 440.2 kB / 3.703 GB, free: 39.93 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.281e-05/9.283, allocations: 18.5 kB / 3.703 GB, free: 39.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000958/9.284, allocations: 1.34 MB / 3.705 GB, free: 38.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.626e-06/9.284, allocations: 3.141 kB / 3.705 GB, free: 38.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002827/9.286, allocations: 1.744 MB / 3.706 GB, free: 38.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003559/9.287, allocations: 195.9 kB / 3.707 GB, free: 38.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/9.287, allocations: 11.06 kB / 3.707 GB, free: 38.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/9.287, allocations: 28.47 kB / 3.707 GB, free: 38.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.798e-05/9.287, allocations: 27.81 kB / 3.707 GB, free: 38.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-05/9.288, allocations: 24.34 kB / 3.707 GB, free: 38.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003706/9.288, allocations: 271.6 kB / 3.707 GB, free: 38.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.31e-07/9.288, allocations: 3.969 kB / 3.707 GB, free: 38.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004347/9.292, allocations: 1.111 MB / 3.708 GB, free: 38.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (barometricCondenser.hl,tank.y,tank.h) * Number of discrete variables: 21 ($cse1.phase,$cse2.phase,$cse3.phase,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled) * Number of discrete states: 12 (steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.nextEventScaled,steamFlowRate.b,steamFlowRate.a,$whenCondition1,coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.nextEventScaled,coolingFlowRate.b,coolingFlowRate.a,$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.008381/9.301, allocations: 1.671 MB / 3.71 GB, free: 37.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001517/9.302, allocations: 0.6861 MB / 3.71 GB, free: 37.74 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.873e-06/9.302, allocations: 0 / 3.71 GB, free: 37.74 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008037/9.303, allocations: 0.5324 MB / 3.711 GB, free: 37.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/9.304, allocations: 176.6 kB / 3.711 GB, free: 37.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/9.306, allocations: 1.101 MB / 3.712 GB, free: 37.22 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/9.307, allocations: 0.9101 MB / 3.713 GB, free: 36.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004106/9.307, allocations: 102.1 kB / 3.713 GB, free: 36.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.373e-05/9.307, allocations: 30.12 kB / 3.713 GB, free: 36.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.77e-06/9.307, allocations: 0 / 3.713 GB, free: 36.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.06664/9.374, allocations: 37.75 MB / 3.75 GB, free: 34.23 MB / 0.5105 GB