Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.044/3.044, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.82e-05/2.824e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4402, allocations: 54.86 MB / 354.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.464/9.904, allocations: 2.612 GB / 2.958 GB, free: 127.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/9.905, allocations: 83.27 kB / 2.958 GB, free: 127.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.809/12.71, allocations: 432.9 MB / 3.381 GB, free: 61.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.256e-06/12.71, allocations: 3.469 kB / 3.381 GB, free: 61.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.712e-05/12.71, allocations: 20.81 kB / 3.381 GB, free: 61.5 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.008926/12.72, allocations: 1.746 MB / 3.383 GB, free: 60.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/12.72, allocations: 10.25 kB / 3.383 GB, free: 60.53 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002672/12.72, allocations: 72.12 kB / 3.383 GB, free: 60.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00502/12.73, allocations: 327.7 kB / 3.383 GB, free: 60.42 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/12.73, allocations: 0.5939 MB / 3.384 GB, free: 60.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.512e-05/12.73, allocations: 29.53 kB / 3.384 GB, free: 60.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/12.73, allocations: 35.81 kB / 3.384 GB, free: 60.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001895/12.73, allocations: 0.5349 MB / 3.384 GB, free: 59.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/12.73, allocations: 0.6551 MB / 3.385 GB, free: 59.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/12.73, allocations: 3.938 kB / 3.385 GB, free: 59.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/12.73, allocations: 3.25 kB / 3.385 GB, free: 59.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.677e-05/12.73, allocations: 20.91 kB / 3.385 GB, free: 59.47 MB / 490.7 MB 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.01359/12.75, allocations: 5.762 MB / 3.39 GB, free: 54.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/12.75, allocations: 445 kB / 3.391 GB, free: 54.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006231/12.75, allocations: 216 kB / 3.391 GB, free: 54.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3642/13.11, allocations: 81.84 MB / 3.471 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.017e-05/13.11, allocations: 39 kB / 3.471 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 3.436e-06/13.11, allocations: 4 kB / 3.471 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51): time 0.01125/13.13, allocations: 1.777 MB / 3.473 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.222e-05/13.13, allocations: 110.9 kB / 3.473 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007771/13.13, allocations: 385.2 kB / 3.473 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/13.13, allocations: 25.7 kB / 3.473 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000285/13.13, allocations: 335.6 kB / 3.474 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/13.13, allocations: 178.9 kB / 3.474 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/13.13, allocations: 0 / 3.474 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001945/13.13, allocations: 369.2 kB / 3.474 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005753/13.13, allocations: 192.4 kB / 3.474 GB, free: 2.422 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007051/13.13, allocations: 374 kB / 3.475 GB, free: 1.992 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002341/13.13, allocations: 332.8 kB / 3.475 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/13.13, allocations: 0 / 3.475 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004879/13.14, allocations: 0.8515 MB / 3.476 GB, free: 0.9492 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.463/13.6, allocations: 2.171 MB / 3.478 GB, free: 76.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-05/13.6, allocations: 6.156 kB / 3.478 GB, free: 76.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002766/13.6, allocations: 286.9 kB / 3.478 GB, free: 76.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/13.6, allocations: 149.6 kB / 3.478 GB, free: 76.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002755/13.61, allocations: 0.9456 MB / 3.479 GB, free: 76.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/13.61, allocations: 80.64 kB / 3.479 GB, free: 76.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/13.61, allocations: 37.36 kB / 3.479 GB, free: 76.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/13.61, allocations: 3.438 kB / 3.479 GB, free: 76.46 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004159/13.61, allocations: 0.6938 MB / 3.48 GB, free: 76.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/13.61, allocations: 4.906 kB / 3.48 GB, free: 76.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002335/13.62, allocations: 270.1 kB / 3.48 GB, free: 76.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/13.62, allocations: 146.5 kB / 3.48 GB, free: 76.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/13.62, allocations: 0.8485 MB / 3.481 GB, free: 75.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/13.62, allocations: 77.25 kB / 3.481 GB, free: 75.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/13.62, allocations: 36.3 kB / 3.481 GB, free: 75.92 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.000356/13.62, allocations: 127.8 kB / 3.482 GB, free: 75.81 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/13.62, allocations: 61.8 kB / 3.482 GB, free: 75.81 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006475/13.63, allocations: 2.621 MB / 3.484 GB, free: 75.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.637e-05/13.63, allocations: 40 kB / 3.484 GB, free: 75.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/13.63, allocations: 2.969 kB / 3.484 GB, free: 75.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/13.63, allocations: 10.77 kB / 3.484 GB, free: 75.62 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007974/13.64, allocations: 3.568 MB / 3.488 GB, free: 75.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/13.64, allocations: 0 / 3.488 GB, free: 75.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/13.64, allocations: 167.4 kB / 3.488 GB, free: 75.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004465/13.64, allocations: 66.67 kB / 3.488 GB, free: 75.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-05/13.64, allocations: 11.84 kB / 3.488 GB, free: 75.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009347/13.64, allocations: 1.207 MB / 3.489 GB, free: 74.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/13.64, allocations: 0 / 3.489 GB, free: 74.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005341/13.64, allocations: 2.258 MB / 3.491 GB, free: 73.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007489/13.65, allocations: 310 kB / 3.492 GB, free: 73.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/13.65, allocations: 0 / 3.492 GB, free: 73.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/13.65, allocations: 68.72 kB / 3.492 GB, free: 73.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002126/13.65, allocations: 47.62 kB / 3.492 GB, free: 73.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.068e-05/13.65, allocations: 25.5 kB / 3.492 GB, free: 73.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007191/13.65, allocations: 363.9 kB / 3.492 GB, free: 73.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.81e-07/13.65, allocations: 0 / 3.492 GB, free: 73.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007576/13.66, allocations: 1.336 MB / 3.493 GB, free: 73.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 23 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse16.phase,$cse16.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01952/13.68, allocations: 4.532 MB / 3.498 GB, free: 72.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005336/13.68, allocations: 1.21 MB / 3.499 GB, free: 72.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/13.68, allocations: 3.938 kB / 3.499 GB, free: 72.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002733/13.68, allocations: 0.7407 MB / 3.5 GB, free: 72.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004401/13.69, allocations: 275.7 kB / 3.5 GB, free: 72.72 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3455/14.03, allocations: 55.76 MB / 3.554 GB, free: 71.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008861/14.03, allocations: 1.16 MB / 3.556 GB, free: 70.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002601/14.04, allocations: 0.675 MB / 3.556 GB, free: 70.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008618/14.04, allocations: 423.5 kB / 3.557 GB, free: 70.26 MB / 0.4948 GB Notification: Performance of SimCode: time 1.833e-06/14.04, allocations: 0 / 3.557 GB, free: 70.26 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1852/14.22, allocations: 51.11 MB / 3.607 GB, free: 54.66 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002635/14.22, allocations: 205.2 kB / 3.607 GB, free: 54.39 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.444/20.67, allocations: 7.625 kB / 3.607 GB, free: 54.39 MB / 0.4948 GB