Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.616/2.616, allocations: 270 MB / 282.6 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.824e-05/3.829e-05, allocations: 4 kB / 347.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4206, allocations: 61.87 MB / 408.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.682/9.103, allocations: 2.787 GB / 3.186 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/9.103, allocations: 85.3 kB / 3.187 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.339/11.44, allocations: 443.6 MB / 3.62 GB, free: 62.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.935e-06/11.44, allocations: 0 / 3.62 GB, free: 62.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.665e-05/11.44, allocations: 26.47 kB / 3.62 GB, free: 62.71 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.007933/11.45, allocations: 1.749 MB / 3.621 GB, free: 61.74 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/11.45, allocations: 10.53 kB / 3.622 GB, free: 61.74 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002389/11.45, allocations: 101.4 kB / 3.622 GB, free: 61.66 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00366/11.45, allocations: 325.1 kB / 3.622 GB, free: 61.61 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/11.46, allocations: 0.5701 MB / 3.622 GB, free: 61.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.152e-05/11.46, allocations: 51.5 kB / 3.623 GB, free: 61.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/11.46, allocations: 58.44 kB / 3.623 GB, free: 61.19 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/11.46, allocations: 0.9491 MB / 3.623 GB, free: 60.75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.619e-05/11.46, allocations: 7.094 kB / 3.624 GB, free: 60.75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/11.46, allocations: 27.28 kB / 3.624 GB, free: 60.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.274e-05/11.46, allocations: 22.47 kB / 3.624 GB, free: 60.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00282/11.46, allocations: 0.7988 MB / 3.624 GB, free: 60.5 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.007356/11.47, allocations: 4.455 MB / 3.629 GB, free: 56.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002713/11.47, allocations: 0.7075 MB / 3.629 GB, free: 56.62 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005548/11.47, allocations: 228 kB / 3.63 GB, free: 56.53 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1771/11.65, allocations: 55.76 MB / 3.684 GB, free: 17.67 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/11.65, allocations: 35 kB / 3.684 GB, free: 17.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 3.196e-06/11.65, allocations: 4 kB / 3.684 GB, free: 17.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52): time 0.0076/11.66, allocations: 1.856 MB / 3.686 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/11.66, allocations: 115.2 kB / 3.686 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008058/11.66, allocations: 461.6 kB / 3.686 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/11.66, allocations: 37.7 kB / 3.686 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/11.66, allocations: 360.2 kB / 3.687 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/11.66, allocations: 175 kB / 3.687 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.448e-05/11.66, allocations: 12 kB / 3.687 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.11e-05/11.66, allocations: 338.2 kB / 3.687 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005067/11.66, allocations: 189.2 kB / 3.687 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006004/11.66, allocations: 357.7 kB / 3.688 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005877/11.66, allocations: 241 kB / 3.688 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/11.66, allocations: 0 / 3.688 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002549/11.66, allocations: 0.7664 MB / 3.689 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00116/11.67, allocations: 1.835 MB / 3.691 GB, free: 27.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/11.67, allocations: 8 kB / 3.691 GB, free: 27.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003146/11.67, allocations: 399.9 kB / 3.691 GB, free: 26.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000973/11.67, allocations: 131.1 kB / 3.691 GB, free: 26.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/11.67, allocations: 0.8825 MB / 3.692 GB, free: 25.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/11.67, allocations: 87.12 kB / 3.692 GB, free: 25.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/11.67, allocations: 35.47 kB / 3.692 GB, free: 25.71 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/11.67, allocations: 7.953 kB / 3.692 GB, free: 25.7 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00218/11.67, allocations: 0.6807 MB / 3.693 GB, free: 25.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/11.67, allocations: 7.953 kB / 3.693 GB, free: 25.08 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001648/11.68, allocations: 279.7 kB / 3.693 GB, free: 24.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009756/11.68, allocations: 137.8 kB / 3.693 GB, free: 24.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/11.68, allocations: 0.828 MB / 3.694 GB, free: 23.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/11.68, allocations: 89.61 kB / 3.694 GB, free: 23.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.845e-05/11.68, allocations: 35.7 kB / 3.694 GB, free: 23.82 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (54): * Single equations (assignments): 53 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003007/11.68, allocations: 144.8 kB / 3.694 GB, free: 23.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/11.68, allocations: 63.25 kB / 3.694 GB, free: 23.61 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004212/11.68, allocations: 2.657 MB / 3.697 GB, free: 21.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.604e-05/11.68, allocations: 37.78 kB / 3.697 GB, free: 21.19 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/11.68, allocations: 0 / 3.697 GB, free: 21.19 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/11.68, allocations: 3.891 kB / 3.697 GB, free: 21.19 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005934/11.69, allocations: 3.726 MB / 3.701 GB, free: 17.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/11.69, allocations: 0 / 3.701 GB, free: 17.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/11.69, allocations: 161.7 kB / 3.701 GB, free: 17.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005305/11.69, allocations: 90.2 kB / 3.701 GB, free: 17.71 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.535e-05/11.69, allocations: 12 kB / 3.701 GB, free: 17.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/11.69, allocations: 1.139 MB / 3.702 GB, free: 16.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/11.69, allocations: 0 / 3.702 GB, free: 16.54 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003656/11.7, allocations: 2.1 MB / 3.704 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007835/11.7, allocations: 368.6 kB / 3.704 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/11.7, allocations: 12 kB / 3.704 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/11.7, allocations: 77.12 kB / 3.704 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/11.7, allocations: 54.59 kB / 3.704 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.575e-05/11.7, allocations: 19.66 kB / 3.705 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001013/11.7, allocations: 0.5547 MB / 3.705 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.12e-07/11.7, allocations: 4 kB / 3.705 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006882/11.71, allocations: 1.417 MB / 3.706 GB, free: 12.23 MB / 0.5417 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: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$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 (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01589/11.72, allocations: 4.283 MB / 3.711 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004045/11.73, allocations: 1.173 MB / 3.712 GB, free: 7.367 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/11.73, allocations: 4 kB / 3.712 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001863/11.73, allocations: 0.6804 MB / 3.712 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003581/11.73, allocations: 348 kB / 3.713 GB, free: 6.477 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009577/11.74, allocations: 2.449 MB / 3.715 GB, free: 4.23 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008755/11.74, allocations: 1.152 MB / 3.716 GB, free: 3.215 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009183/11.74, allocations: 454.1 kB / 3.717 GB, free: 2.809 MB / 0.5417 GB Notification: Performance of SimCode: time 1.083e-06/11.74, allocations: 0 / 3.717 GB, free: 2.809 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.64/16.38, allocations: 45.59 MB / 3.761 GB, free: 91.39 MB / 0.5573 GB