Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestBarometricCondenser,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestBarometricCondenser",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.808/2.808, allocations: 254.6 MB / 267.7 MB, free: 12.46 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.767e-05/3.778e-05, allocations: 7.984 kB / 330.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4465/0.4466, allocations: 60.23 MB / 391.1 MB, free: 4.777 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.404/9.851, allocations: 2.922 GB / 3.304 GB, free: 84.92 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/9.851, allocations: 76.95 kB / 3.304 GB, free: 84.88 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.015/11.87, allocations: 354.8 MB / 3.65 GB, free: 75.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.825e-06/11.87, allocations: 0 / 3.65 GB, free: 75.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.432e-05/11.87, allocations: 20.16 kB / 3.65 GB, free: 75.59 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.005223/11.87, allocations: 1.217 MB / 3.652 GB, free: 74.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/11.87, allocations: 7.25 kB / 3.652 GB, free: 74.89 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/11.87, allocations: 72.17 kB / 3.652 GB, free: 74.85 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008418/11.87, allocations: 117.4 kB / 3.652 GB, free: 74.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000896/11.87, allocations: 384 kB / 3.652 GB, free: 74.58 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/11.87, allocations: 27.66 kB / 3.652 GB, free: 74.58 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.41e-05/11.87, allocations: 36.92 kB / 3.652 GB, free: 74.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/11.87, allocations: 0.5306 MB / 3.653 GB, free: 74.37 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/11.87, allocations: 0 / 3.653 GB, free: 74.37 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.918e-05/11.87, allocations: 18.44 kB / 3.653 GB, free: 74.37 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/11.87, allocations: 10.22 kB / 3.653 GB, free: 74.37 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008065/11.88, allocations: 293.2 kB / 3.653 GB, free: 74.37 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.003159/11.88, allocations: 2.525 MB / 3.656 GB, free: 72.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008719/11.88, allocations: 265 kB / 3.656 GB, free: 72.39 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/11.88, allocations: 165.8 kB / 3.656 GB, free: 72.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1263/12.01, allocations: 39.69 MB / 3.695 GB, free: 48.28 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008214/12.01, allocations: 338.7 kB / 3.695 GB, free: 48.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 3.036e-06/12.01, allocations: 4 kB / 3.695 GB, free: 48.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36): time 0.005165/12.01, allocations: 1.741 MB / 3.697 GB, free: 47.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.129e-05/12.01, allocations: 220.8 kB / 3.697 GB, free: 47.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005318/12.01, allocations: 348.6 kB / 3.697 GB, free: 47.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/12.01, allocations: 33.48 kB / 3.697 GB, free: 47.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/12.01, allocations: 244.4 kB / 3.698 GB, free: 46.92 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/12.01, allocations: 109.3 kB / 3.698 GB, free: 46.85 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/12.01, allocations: 10.66 kB / 3.698 GB, free: 46.85 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001025/12.01, allocations: 357.3 kB / 3.698 GB, free: 46.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/12.01, allocations: 139.1 kB / 3.698 GB, free: 46.53 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003897/12.01, allocations: 241.6 kB / 3.698 GB, free: 46.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/12.01, allocations: 226.7 kB / 3.699 GB, free: 46.35 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/12.01, allocations: 0 / 3.699 GB, free: 46.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001657/12.02, allocations: 0.6622 MB / 3.699 GB, free: 46.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.699e-05/12.02, allocations: 68.34 kB / 3.699 GB, free: 46.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/12.02, allocations: 3.438 kB / 3.699 GB, free: 46.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008076/12.02, allocations: 105.4 kB / 3.699 GB, free: 46.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/12.02, allocations: 59.41 kB / 3.699 GB, free: 46.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009796/12.02, allocations: 1.13 MB / 3.701 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006162/12.02, allocations: 30.47 kB / 3.701 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/12.02, allocations: 29.59 kB / 3.701 GB, free: 45.08 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.0002323/12.02, allocations: 203.4 kB / 3.701 GB, free: 44.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/12.02, allocations: 49.69 kB / 3.701 GB, free: 44.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/12.02, allocations: 1.495 MB / 3.702 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.728e-05/12.02, allocations: 23.16 kB / 3.702 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/12.02, allocations: 0 / 3.702 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/12.02, allocations: 0 / 3.702 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/12.02, allocations: 0.6864 MB / 3.703 GB, free: 44.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/12.02, allocations: 3.281 kB / 3.703 GB, free: 44.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004202/12.02, allocations: 43.22 kB / 3.703 GB, free: 44.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/12.03, allocations: 446.4 kB / 3.704 GB, free: 44.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.927e-05/12.03, allocations: 12.84 kB / 3.704 GB, free: 44.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/12.03, allocations: 1.347 MB / 3.705 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/12.03, allocations: 0 / 3.705 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/12.03, allocations: 1.755 MB / 3.707 GB, free: 43.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003618/12.03, allocations: 188.9 kB / 3.707 GB, free: 42.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/12.03, allocations: 17.19 kB / 3.707 GB, free: 42.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004233/12.03, allocations: 30.25 kB / 3.707 GB, free: 42.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/12.03, allocations: 23.62 kB / 3.707 GB, free: 42.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-05/12.03, allocations: 21.92 kB / 3.707 GB, free: 42.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004049/12.03, allocations: 275.7 kB / 3.707 GB, free: 42.81 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/12.03, allocations: 3.938 kB / 3.707 GB, free: 42.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005493/12.04, allocations: 1.117 MB / 3.708 GB, free: 42.63 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.01452/12.05, allocations: 3.77 MB / 3.712 GB, free: 40.97 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002788/12.05, allocations: 0.6827 MB / 3.713 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/12.05, allocations: 0 / 3.713 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001785/12.06, allocations: 0.544 MB / 3.713 GB, free: 40.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/12.06, allocations: 179 kB / 3.713 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007153/12.07, allocations: 1.583 MB / 3.715 GB, free: 39.51 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/12.07, allocations: 0.9079 MB / 3.716 GB, free: 38.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004314/12.07, allocations: 99.91 kB / 3.716 GB, free: 38.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/12.07, allocations: 203.4 kB / 3.716 GB, free: 38.62 MB / 0.5105 GB Notification: Performance of SimCode: time 1.203e-06/12.07, allocations: 0 / 3.716 GB, free: 38.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1226/12.19, allocations: 45.47 MB / 3.76 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/12.19, allocations: 189.2 kB / 3.761 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.859/17.05, allocations: 0 / 3.761 GB, free: 15.63 MB / 0.5105 GB