Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestST2,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestST2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.688/2.688, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" Notification: Performance of FrontEnd - loaded program: time 3.326e-05/3.338e-05, allocations: 4 kB / 330.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4235, allocations: 60.22 MB / 391.1 MB, free: 4.883 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.385/9.808, allocations: 2.927 GB / 3.309 GB, free: 81.18 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/9.809, allocations: 80.64 kB / 3.309 GB, free: 81.14 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.082/11.89, allocations: 305.6 MB / 3.607 GB, free: 82.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.834e-06/11.89, allocations: 0 / 3.607 GB, free: 82.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.435e-05/11.89, allocations: 7.875 kB / 3.607 GB, free: 82.43 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.006791/11.9, allocations: 1.304 MB / 3.609 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/11.9, allocations: 7.812 kB / 3.609 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.097e-05/11.9, allocations: 63.02 kB / 3.609 GB, free: 81.78 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003226/11.9, allocations: 66.83 kB / 3.609 GB, free: 81.76 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000632/11.9, allocations: 331 kB / 3.609 GB, free: 81.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/11.9, allocations: 17.81 kB / 3.609 GB, free: 81.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.634e-05/11.9, allocations: 32.12 kB / 3.609 GB, free: 81.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008201/11.9, allocations: 368.2 kB / 3.609 GB, free: 81.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/11.9, allocations: 3.844 kB / 3.609 GB, free: 81.41 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/11.9, allocations: 12.66 kB / 3.609 GB, free: 81.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/11.9, allocations: 11.28 kB / 3.609 GB, free: 81.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005876/11.9, allocations: 196.5 kB / 3.61 GB, free: 81.41 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.002253/11.9, allocations: 1.484 MB / 3.611 GB, free: 80.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006894/11.9, allocations: 189.2 kB / 3.611 GB, free: 80.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/11.9, allocations: 45.86 kB / 3.611 GB, free: 80.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2061/12.11, allocations: 63.98 MB / 3.674 GB, free: 41.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/12.11, allocations: 37.8 kB / 3.674 GB, free: 41.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 4.629e-06/12.11, allocations: 1.75 kB / 3.674 GB, free: 41.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.001767/12.11, allocations: 264.1 kB / 3.674 GB, free: 41.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/12.11, allocations: 63.27 kB / 3.674 GB, free: 41.33 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005833/12.11, allocations: 310.5 kB / 3.674 GB, free: 41.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/12.11, allocations: 33.17 kB / 3.674 GB, free: 41.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/12.11, allocations: 196.9 kB / 3.675 GB, free: 41.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/12.11, allocations: 52.73 kB / 3.675 GB, free: 41.07 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.327e-05/12.11, allocations: 3.625 kB / 3.675 GB, free: 41.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.444e-05/12.11, allocations: 342.5 kB / 3.675 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/12.11, allocations: 37.19 kB / 3.675 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/12.11, allocations: 97.28 kB / 3.675 GB, free: 40.69 MB / 0.5105 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: Inertia1.a = $START.Inertia1.a (0.0 = $START.Inertia1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/12.11, allocations: 223.7 kB / 3.675 GB, free: 40.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/12.11, allocations: 0 / 3.675 GB, free: 40.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005954/12.11, allocations: 218.3 kB / 3.676 GB, free: 40.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/12.11, allocations: 3.844 kB / 3.676 GB, free: 40.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/12.11, allocations: 3.938 kB / 3.676 GB, free: 40.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001817/12.12, allocations: 27.17 kB / 3.676 GB, free: 40.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/12.12, allocations: 55.47 kB / 3.676 GB, free: 40.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/12.12, allocations: 1.278 MB / 3.677 GB, free: 39.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/12.12, allocations: 39.52 kB / 3.677 GB, free: 39.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/12.12, allocations: 3.781 kB / 3.677 GB, free: 39.25 MB / 0.5105 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: Inertia1.a = $START.Inertia1.a. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (ST.fluidState_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001302/12.12, allocations: 127.5 kB / 3.677 GB, free: 39.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-05/12.12, allocations: 32.97 kB / 3.677 GB, free: 39.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009944/12.12, allocations: 0.5933 MB / 3.678 GB, free: 39.01 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/12.12, allocations: 9.156 kB / 3.678 GB, free: 39.01 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/12.12, allocations: 0 / 3.678 GB, free: 39.01 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/12.12, allocations: 3.609 kB / 3.678 GB, free: 39.01 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/12.12, allocations: 1.063 MB / 3.679 GB, free: 38.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/12.12, allocations: 3.656 kB / 3.679 GB, free: 38.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003324/12.12, allocations: 34.58 kB / 3.679 GB, free: 38.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00015/12.12, allocations: 21.88 kB / 3.679 GB, free: 38.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/12.12, allocations: 5.625 kB / 3.679 GB, free: 38.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009845/12.12, allocations: 1.279 MB / 3.68 GB, free: 37.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/12.12, allocations: 0 / 3.68 GB, free: 37.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009618/12.12, allocations: 0.6463 MB / 3.681 GB, free: 37.19 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/12.12, allocations: 122.2 kB / 3.681 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.559e-05/12.12, allocations: 6.406 kB / 3.681 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/12.12, allocations: 13.36 kB / 3.681 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.134e-05/12.12, allocations: 24.31 kB / 3.681 GB, free: 37.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/12.12, allocations: 3.438 kB / 3.681 GB, free: 37.06 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003594/12.12, allocations: 245.8 kB / 3.681 GB, free: 36.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/12.12, allocations: 0 / 3.681 GB, free: 36.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006473/12.13, allocations: 1.278 MB / 3.682 GB, free: 36.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (ST.P_HP,ST.P_LP,Speed1.phi) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.01394/12.14, allocations: 2.782 MB / 3.685 GB, free: 35.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007025/12.15, allocations: 274.7 kB / 3.685 GB, free: 35.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/12.15, allocations: 0 / 3.685 GB, free: 35.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003064/12.15, allocations: 237.1 kB / 3.686 GB, free: 35.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/12.15, allocations: 163.5 kB / 3.686 GB, free: 35.49 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006202/12.15, allocations: 1.216 MB / 3.687 GB, free: 34.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/12.15, allocations: 0.8167 MB / 3.688 GB, free: 34.25 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000342/12.15, allocations: 78.69 kB / 3.688 GB, free: 34.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/12.15, allocations: 141 kB / 3.688 GB, free: 34.24 MB / 0.5105 GB Notification: Performance of SimCode: time 1.293e-06/12.15, allocations: 0 / 3.688 GB, free: 34.24 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1049/12.26, allocations: 43.41 MB / 3.73 GB, free: 31.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002947/12.26, allocations: 155.6 kB / 3.73 GB, free: 31.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.435/16.69, allocations: 0 / 3.73 GB, free: 31.62 MB / 0.5105 GB