Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestAccumulator,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestAccumulator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.349/2.349, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.701e-05/3.707e-05, allocations: 4 kB / 330.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3906, allocations: 60.24 MB / 391.1 MB, free: 4.871 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.188/9.579, allocations: 2.889 GB / 3.271 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/9.579, allocations: 77.52 kB / 3.272 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.183/10.76, allocations: 211.8 MB / 3.478 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.773e-06/10.76, allocations: 0 / 3.478 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.212e-05/10.76, allocations: 7.469 kB / 3.478 GB, free: 88.86 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.004813/10.77, allocations: 1.005 MB / 3.479 GB, free: 88.24 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/10.77, allocations: 10.47 kB / 3.479 GB, free: 88.24 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.549e-05/10.77, allocations: 61.25 kB / 3.479 GB, free: 88.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/10.77, allocations: 51.12 kB / 3.479 GB, free: 88.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006092/10.77, allocations: 321.3 kB / 3.48 GB, free: 87.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/10.77, allocations: 22.56 kB / 3.48 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-05/10.77, allocations: 27.69 kB / 3.48 GB, free: 87.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007535/10.77, allocations: 342.4 kB / 3.48 GB, free: 87.67 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/10.77, allocations: 3.938 kB / 3.48 GB, free: 87.67 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/10.77, allocations: 11.97 kB / 3.48 GB, free: 87.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/10.77, allocations: 7.891 kB / 3.48 GB, free: 87.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005601/10.77, allocations: 190.5 kB / 3.48 GB, free: 87.59 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.002252/10.77, allocations: 1.302 MB / 3.482 GB, free: 86.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006138/10.77, allocations: 207.2 kB / 3.482 GB, free: 86.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/10.77, allocations: 95.86 kB / 3.482 GB, free: 86.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1088/10.88, allocations: 31.98 MB / 3.513 GB, free: 66.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/10.88, allocations: 42.16 kB / 3.513 GB, free: 66.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 4.188e-06/10.88, allocations: 0 / 3.513 GB, free: 66.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.002906/10.88, allocations: 0.8362 MB / 3.514 GB, free: 65.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/10.88, allocations: 54.44 kB / 3.514 GB, free: 65.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/10.89, allocations: 268.3 kB / 3.514 GB, free: 65.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/10.89, allocations: 29.7 kB / 3.514 GB, free: 65.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/10.89, allocations: 186.8 kB / 3.514 GB, free: 65.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.98e-05/10.89, allocations: 89.33 kB / 3.515 GB, free: 65.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/10.89, allocations: 6.625 kB / 3.515 GB, free: 65.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.05e-05/10.89, allocations: 349.1 kB / 3.515 GB, free: 64.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/10.89, allocations: 78.19 kB / 3.515 GB, free: 64.78 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/10.89, allocations: 106.3 kB / 3.515 GB, free: 64.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/10.89, allocations: 98.47 kB / 3.515 GB, free: 64.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/10.89, allocations: 0 / 3.515 GB, free: 64.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001836/10.89, allocations: 457 kB / 3.516 GB, free: 64.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.185e-05/10.89, allocations: 187.2 kB / 3.516 GB, free: 64.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/10.89, allocations: 3.719 kB / 3.516 GB, free: 64.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001924/10.89, allocations: 253.6 kB / 3.516 GB, free: 64.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/10.89, allocations: 43.05 kB / 3.516 GB, free: 64.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/10.89, allocations: 0.799 MB / 3.517 GB, free: 63.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005333/10.89, allocations: 32.16 kB / 3.517 GB, free: 63.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/10.89, allocations: 10.58 kB / 3.517 GB, free: 63.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/10.89, allocations: 3.938 kB / 3.517 GB, free: 63.6 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001603/10.89, allocations: 379.9 kB / 3.517 GB, free: 63.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/10.89, allocations: 0 / 3.517 GB, free: 63.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001775/10.9, allocations: 242.8 kB / 3.517 GB, free: 63.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/10.9, allocations: 41.08 kB / 3.518 GB, free: 63.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/10.9, allocations: 0.782 MB / 3.518 GB, free: 62.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005495/10.9, allocations: 25.09 kB / 3.518 GB, free: 62.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/10.9, allocations: 14.69 kB / 3.518 GB, free: 62.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (Accumulator1.liquidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 {6 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001604/10.9, allocations: 120.6 kB / 3.518 GB, free: 62.65 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.511e-05/10.9, allocations: 41.84 kB / 3.518 GB, free: 62.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/10.9, allocations: 0.508 MB / 3.519 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/10.9, allocations: 11.47 kB / 3.519 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/10.9, allocations: 0 / 3.519 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/10.9, allocations: 0 / 3.519 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/10.9, allocations: 0.9996 MB / 3.52 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/10.9, allocations: 0 / 3.52 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006706/10.9, allocations: 71.2 kB / 3.52 GB, free: 61.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004373/10.9, allocations: 63.89 kB / 3.52 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/10.9, allocations: 7.953 kB / 3.52 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/10.9, allocations: 1.326 MB / 3.521 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/10.9, allocations: 0 / 3.521 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/10.91, allocations: 0.6136 MB / 3.522 GB, free: 59.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/10.91, allocations: 143.7 kB / 3.522 GB, free: 59.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.907e-05/10.91, allocations: 11.94 kB / 3.522 GB, free: 59.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004888/10.91, allocations: 27.12 kB / 3.522 GB, free: 59.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/10.91, allocations: 23.31 kB / 3.522 GB, free: 59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/10.91, allocations: 11.66 kB / 3.522 GB, free: 58.99 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002853/10.91, allocations: 213.3 kB / 3.522 GB, free: 58.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.01e-07/10.91, allocations: 0 / 3.522 GB, free: 58.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004723/10.91, allocations: 0.8983 MB / 3.523 GB, free: 57.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Accumulator1.zl,Accumulator1.hl,Accumulator1.rhog,Accumulator1.Tg) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01019/10.92, allocations: 2.247 MB / 3.525 GB, free: 55.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002395/10.92, allocations: 0.5284 MB / 3.526 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/10.92, allocations: 0 / 3.526 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006505/10.93, allocations: 281 kB / 3.526 GB, free: 55.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/10.93, allocations: 147.1 kB / 3.526 GB, free: 55.03 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005187/10.93, allocations: 1.083 MB / 3.527 GB, free: 54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/10.93, allocations: 0.8089 MB / 3.528 GB, free: 53.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004465/10.93, allocations: 50.09 kB / 3.528 GB, free: 53.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/10.93, allocations: 118.7 kB / 3.528 GB, free: 53.08 MB / 0.5105 GB Notification: Performance of SimCode: time 1.503e-06/10.93, allocations: 0 / 3.528 GB, free: 53.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09186/11.02, allocations: 34.9 MB / 3.563 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003169/11.03, allocations: 179.8 kB / 3.563 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.086/15.11, allocations: 0 / 3.563 GB, free: 23.32 MB / 0.5105 GB