Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.538/2.538, allocations: 270 MB / 282.6 MB, free: 1.914 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.491e-05/4.51e-05, allocations: 3.984 kB / 347.1 MB, free: 3.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4369, allocations: 61.88 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.841/9.278, allocations: 2.787 GB / 3.186 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/9.279, allocations: 88.58 kB / 3.186 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.333/11.61, allocations: 443.4 MB / 3.619 GB, free: 59.19 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.296e-06/11.61, allocations: 2.469 kB / 3.619 GB, free: 59.19 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.551e-05/11.61, allocations: 18.91 kB / 3.619 GB, free: 59.19 MB / 0.5261 GB 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.01201/11.62, allocations: 1.75 MB / 3.621 GB, free: 58.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.01e-05/11.62, allocations: 13.38 kB / 3.621 GB, free: 58.11 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005189/11.62, allocations: 98.38 kB / 3.621 GB, free: 58.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006622/11.63, allocations: 333.6 kB / 3.622 GB, free: 57.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002694/11.63, allocations: 0.565 MB / 3.622 GB, free: 57.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/11.63, allocations: 50.44 kB / 3.622 GB, free: 57.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003504/11.63, allocations: 55.39 kB / 3.622 GB, free: 57.55 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005694/11.64, allocations: 0.9644 MB / 3.623 GB, free: 57.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/11.64, allocations: 0 / 3.623 GB, free: 57.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/11.64, allocations: 27.41 kB / 3.623 GB, free: 57.09 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-05/11.64, allocations: 25.53 kB / 3.623 GB, free: 57.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005349/11.65, allocations: 0.7958 MB / 3.624 GB, free: 56.86 MB / 0.5261 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.01378/11.66, allocations: 4.805 MB / 3.629 GB, free: 52.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004551/11.66, allocations: 0.6322 MB / 3.629 GB, free: 52.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008859/11.67, allocations: 219.2 kB / 3.629 GB, free: 52.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.116/11.78, allocations: 24.17 MB / 3.653 GB, free: 36.94 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.62e-05/11.78, allocations: 38.47 kB / 3.653 GB, free: 36.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 6.072e-06/11.78, allocations: 0 / 3.653 GB, free: 36.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.007824/11.79, allocations: 1.021 MB / 3.654 GB, free: 36.58 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/11.79, allocations: 106.7 kB / 3.654 GB, free: 36.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/11.79, allocations: 456.1 kB / 3.655 GB, free: 36.19 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001607/11.79, allocations: 37.7 kB / 3.655 GB, free: 36.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/11.79, allocations: 368.5 kB / 3.655 GB, free: 35.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/11.79, allocations: 147.5 kB / 3.655 GB, free: 35.67 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-05/11.79, allocations: 12 kB / 3.655 GB, free: 35.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000114/11.79, allocations: 333.3 kB / 3.656 GB, free: 35.33 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007008/11.79, allocations: 164.6 kB / 3.656 GB, free: 35.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008793/11.79, allocations: 340 kB / 3.656 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008566/11.79, allocations: 203.7 kB / 3.656 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/11.79, allocations: 4 kB / 3.656 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002656/11.8, allocations: 0.602 MB / 3.657 GB, free: 34.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005895/11.8, allocations: 2.002 MB / 3.659 GB, free: 31.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/11.8, allocations: 4 kB / 3.659 GB, free: 31.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003542/11.8, allocations: 266.2 kB / 3.659 GB, free: 31.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/11.8, allocations: 142.1 kB / 3.659 GB, free: 31.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/11.8, allocations: 0.7414 MB / 3.66 GB, free: 30.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/11.81, allocations: 125.5 kB / 3.66 GB, free: 30.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/11.81, allocations: 34.81 kB / 3.66 GB, free: 30.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/11.81, allocations: 4 kB / 3.66 GB, free: 30.7 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004215/11.81, allocations: 0.5939 MB / 3.661 GB, free: 30.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/11.81, allocations: 7.938 kB / 3.661 GB, free: 30.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002106/11.81, allocations: 157.1 kB / 3.661 GB, free: 30.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/11.82, allocations: 142.7 kB / 3.661 GB, free: 29.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/11.82, allocations: 0.6897 MB / 3.662 GB, free: 29.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/11.82, allocations: 100.5 kB / 3.662 GB, free: 29.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/11.82, allocations: 38.14 kB / 3.662 GB, free: 29.11 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (55): * Single equations (assignments): 54 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004023/11.82, allocations: 140.8 kB / 3.662 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003203/11.82, allocations: 63.25 kB / 3.662 GB, free: 28.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007382/11.83, allocations: 2.982 MB / 3.665 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.863e-05/11.83, allocations: 43.27 kB / 3.665 GB, free: 26.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/11.83, allocations: 3.953 kB / 3.665 GB, free: 26.17 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/11.83, allocations: 3.703 kB / 3.665 GB, free: 26.17 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/11.83, allocations: 1.451 MB / 3.666 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/11.83, allocations: 0 / 3.666 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009762/11.83, allocations: 95.02 kB / 3.666 GB, free: 24.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005061/11.84, allocations: 1.217 MB / 3.668 GB, free: 23.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/11.84, allocations: 12 kB / 3.668 GB, free: 23.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002788/11.84, allocations: 1.476 MB / 3.669 GB, free: 22.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/11.84, allocations: 0 / 3.669 GB, free: 22.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004857/11.84, allocations: 1.959 MB / 3.671 GB, free: 20.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/11.85, allocations: 331 kB / 3.671 GB, free: 20.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/11.85, allocations: 12 kB / 3.671 GB, free: 20.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/11.85, allocations: 77.89 kB / 3.671 GB, free: 20.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002403/11.85, allocations: 58.06 kB / 3.671 GB, free: 20.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-05/11.85, allocations: 19.52 kB / 3.671 GB, free: 20.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001228/11.85, allocations: 459.3 kB / 3.672 GB, free: 19.74 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.082e-06/11.85, allocations: 0 / 3.672 GB, free: 19.74 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009585/11.86, allocations: 1.418 MB / 3.673 GB, free: 18.35 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0193/11.88, allocations: 3.846 MB / 3.677 GB, free: 15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004459/11.88, allocations: 1.091 MB / 3.678 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/11.88, allocations: 4 kB / 3.678 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00204/11.88, allocations: 0.7191 MB / 3.679 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004761/11.89, allocations: 314.1 kB / 3.679 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008411/11.9, allocations: 2.359 MB / 3.681 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006426/11.9, allocations: 1.154 MB / 3.682 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000689/11.9, allocations: 411.5 kB / 3.683 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of SimCode: time 1.313e-06/11.9, allocations: 0 / 3.683 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.346/16.25, allocations: 42.27 MB / 3.724 GB, free: 73.88 MB / 0.5417 GB