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 2.392/2.392, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.497e-05, allocations: 4 kB / 299.6 MB, free: 188 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3595, allocations: 54.84 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.756/8.116, allocations: 2.612 GB / 2.958 GB, free: 127.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/8.116, allocations: 82.41 kB / 2.958 GB, free: 127.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.353/10.47, allocations: 432.3 MB / 3.38 GB, free: 61.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.214e-06/10.47, allocations: 0 / 3.38 GB, free: 61.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.152e-05/10.47, allocations: 18.59 kB / 3.38 GB, free: 61.2 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.008219/10.48, allocations: 1.749 MB / 3.382 GB, free: 60.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/10.48, allocations: 7.562 kB / 3.382 GB, free: 60.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004264/10.48, allocations: 330.9 kB / 3.382 GB, free: 60.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/10.48, allocations: 0.5868 MB / 3.383 GB, free: 59.78 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.498e-05/10.48, allocations: 26.27 kB / 3.383 GB, free: 59.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/10.48, allocations: 33 kB / 3.383 GB, free: 59.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001658/10.48, allocations: 0.5363 MB / 3.384 GB, free: 59.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/10.49, allocations: 0.6557 MB / 3.384 GB, free: 59.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-05/10.49, allocations: 7.281 kB / 3.384 GB, free: 59.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/10.49, allocations: 0 / 3.384 GB, free: 59.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.974e-05/10.49, allocations: 23.75 kB / 3.384 GB, free: 59.21 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.01167/10.5, allocations: 5.759 MB / 3.39 GB, free: 54.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/10.5, allocations: 440.9 kB / 3.39 GB, free: 54.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005345/10.5, allocations: 231.5 kB / 3.39 GB, free: 54.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.302/10.8, allocations: 81.83 MB / 3.47 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/10.8, allocations: 39 kB / 3.47 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 4.068e-06/10.8, allocations: 0 / 3.47 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51): time 0.009552/10.81, allocations: 1.785 MB / 3.472 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/10.81, allocations: 107.2 kB / 3.472 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006633/10.81, allocations: 390.2 kB / 3.473 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.226e-05/10.81, allocations: 25.7 kB / 3.473 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003113/10.81, allocations: 333.7 kB / 3.473 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/10.81, allocations: 172.7 kB / 3.473 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/10.81, allocations: 0 / 3.473 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002005/10.81, allocations: 369.5 kB / 3.473 GB, free: 2.059 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/10.81, allocations: 185 kB / 3.474 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007456/10.82, allocations: 384.2 kB / 3.474 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002022/10.82, allocations: 330.6 kB / 3.474 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/10.82, allocations: 3.938 kB / 3.474 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003973/10.82, allocations: 0.8454 MB / 3.475 GB, free: 424 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.374/11.2, allocations: 2.177 MB / 3.477 GB, free: 76.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.323e-05/11.2, allocations: 7.562 kB / 3.477 GB, free: 76.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002286/11.2, allocations: 288.9 kB / 3.478 GB, free: 76.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/11.2, allocations: 139.6 kB / 3.478 GB, free: 76.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/11.2, allocations: 0.9522 MB / 3.479 GB, free: 76.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/11.2, allocations: 78.28 kB / 3.479 GB, free: 76.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/11.2, allocations: 39.02 kB / 3.479 GB, free: 76.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/11.2, allocations: 5.781 kB / 3.479 GB, free: 76.03 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003216/11.21, allocations: 0.6944 MB / 3.479 GB, free: 76.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/11.21, allocations: 6.188 kB / 3.479 GB, free: 76.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001851/11.21, allocations: 267 kB / 3.48 GB, free: 76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/11.21, allocations: 151.5 kB / 3.48 GB, free: 76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/11.21, allocations: 0.8472 MB / 3.481 GB, free: 75.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/11.21, allocations: 80.58 kB / 3.481 GB, free: 75.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/11.21, allocations: 35.44 kB / 3.481 GB, free: 75.48 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.0002851/11.21, allocations: 124.7 kB / 3.481 GB, free: 75.38 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002572/11.21, allocations: 0.5625 MB / 3.481 GB, free: 75.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/11.21, allocations: 61.28 kB / 3.482 GB, free: 75.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004977/11.22, allocations: 2.616 MB / 3.484 GB, free: 75.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.9e-05/11.22, allocations: 40.84 kB / 3.484 GB, free: 75.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/11.22, allocations: 0.9375 kB / 3.484 GB, free: 75.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/11.22, allocations: 3.656 kB / 3.484 GB, free: 75.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006263/11.23, allocations: 3.568 MB / 3.488 GB, free: 74.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/11.23, allocations: 3.844 kB / 3.488 GB, free: 74.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/11.23, allocations: 177.4 kB / 3.488 GB, free: 74.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003659/11.23, allocations: 62.47 kB / 3.488 GB, free: 74.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.193e-05/11.23, allocations: 14.22 kB / 3.488 GB, free: 74.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000757/11.23, allocations: 1.204 MB / 3.489 GB, free: 73.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/11.23, allocations: 2.578 kB / 3.489 GB, free: 73.63 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004302/11.23, allocations: 2.251 MB / 3.491 GB, free: 73.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005773/11.23, allocations: 317 kB / 3.492 GB, free: 73.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/11.23, allocations: 3.938 kB / 3.492 GB, free: 73.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009712/11.24, allocations: 63.27 kB / 3.492 GB, free: 73.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/11.24, allocations: 46.7 kB / 3.492 GB, free: 73.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.255e-05/11.24, allocations: 25.83 kB / 3.492 GB, free: 73.19 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006184/11.24, allocations: 363 kB / 3.492 GB, free: 73.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.91e-07/11.24, allocations: 1.094 kB / 3.492 GB, free: 73.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006544/11.24, allocations: 1.341 MB / 3.493 GB, free: 73.1 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.01528/11.26, allocations: 4.516 MB / 3.498 GB, free: 72.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00343/11.26, allocations: 1.211 MB / 3.499 GB, free: 72.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/11.26, allocations: 0 / 3.499 GB, free: 72.22 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001631/11.26, allocations: 0.7445 MB / 3.5 GB, free: 72.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/11.27, allocations: 281.5 kB / 3.5 GB, free: 72.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2119/11.48, allocations: 55.74 MB / 3.554 GB, free: 70.49 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006887/11.48, allocations: 1.146 MB / 3.555 GB, free: 69.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002182/11.48, allocations: 0.6756 MB / 3.556 GB, free: 69.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007248/11.48, allocations: 425.5 kB / 3.557 GB, free: 69.72 MB / 0.4948 GB Notification: Performance of SimCode: time 1.423e-06/11.48, allocations: 3.594 kB / 3.557 GB, free: 69.72 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1427/11.62, allocations: 50.03 MB / 3.605 GB, free: 54.56 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002993/11.62, allocations: 201.3 kB / 3.606 GB, free: 54.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.105/16.73, allocations: 4 kB / 3.606 GB, free: 54.29 MB / 0.4948 GB