Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.586/2.586, allocations: 270 MB / 282.7 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.377e-05/4.386e-05, allocations: 4 kB / 347.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4317, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.79/9.222, allocations: 2.77 GB / 3.17 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/9.222, allocations: 84.83 kB / 3.17 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.284/11.51, allocations: 424.6 MB / 3.584 GB, free: 68.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.774e-06/11.51, allocations: 0 / 3.584 GB, free: 68.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.911e-05/11.51, allocations: 12.78 kB / 3.584 GB, free: 68.84 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.007138/11.51, allocations: 1.647 MB / 3.586 GB, free: 68.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/11.51, allocations: 7.5 kB / 3.586 GB, free: 68.04 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001596/11.51, allocations: 102.6 kB / 3.586 GB, free: 68 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003098/11.52, allocations: 301.6 kB / 3.586 GB, free: 67.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/11.52, allocations: 0.5344 MB / 3.587 GB, free: 67.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6e-05/11.52, allocations: 44.97 kB / 3.587 GB, free: 67.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/11.52, allocations: 52.72 kB / 3.587 GB, free: 67.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002772/11.52, allocations: 0.9348 MB / 3.588 GB, free: 67.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/11.52, allocations: 6.484 kB / 3.588 GB, free: 67.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/11.52, allocations: 22.81 kB / 3.588 GB, free: 67.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.849e-05/11.52, allocations: 20 kB / 3.588 GB, free: 67.51 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/11.52, allocations: 0.7723 MB / 3.589 GB, free: 67.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.006699/11.53, allocations: 4.656 MB / 3.593 GB, free: 64.28 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002729/11.53, allocations: 0.6832 MB / 3.594 GB, free: 64.25 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/11.53, allocations: 211 kB / 3.594 GB, free: 64.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07547/11.61, allocations: 24.16 MB / 3.618 GB, free: 49.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/11.61, allocations: 37.75 kB / 3.618 GB, free: 49.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 3.367e-06/11.61, allocations: 0 / 3.618 GB, free: 49.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.004618/11.61, allocations: 0.9932 MB / 3.619 GB, free: 49.35 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/11.61, allocations: 110.6 kB / 3.619 GB, free: 49.22 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007195/11.62, allocations: 409.1 kB / 3.619 GB, free: 49.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.599e-05/11.62, allocations: 39.08 kB / 3.619 GB, free: 49.07 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/11.62, allocations: 347.2 kB / 3.62 GB, free: 48.83 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/11.62, allocations: 150.3 kB / 3.62 GB, free: 48.74 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/11.62, allocations: 6.625 kB / 3.62 GB, free: 48.74 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.048e-05/11.62, allocations: 336.2 kB / 3.62 GB, free: 48.42 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/11.62, allocations: 159.5 kB / 3.62 GB, free: 48.42 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/11.62, allocations: 326.2 kB / 3.62 GB, free: 48.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/11.62, allocations: 203.8 kB / 3.621 GB, free: 48.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/11.62, allocations: 0 / 3.621 GB, free: 48.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001981/11.62, allocations: 0.6065 MB / 3.621 GB, free: 48.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004081/11.62, allocations: 1.92 MB / 3.623 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/11.62, allocations: 3.906 kB / 3.623 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/11.62, allocations: 179.7 kB / 3.623 GB, free: 46.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009223/11.62, allocations: 122.3 kB / 3.623 GB, free: 46.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/11.62, allocations: 0.727 MB / 3.624 GB, free: 45.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/11.62, allocations: 101.8 kB / 3.624 GB, free: 45.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.31e-05/11.62, allocations: 34.75 kB / 3.624 GB, free: 45.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/11.62, allocations: 3.844 kB / 3.624 GB, free: 45.55 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002236/11.63, allocations: 0.5506 MB / 3.625 GB, free: 45.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/11.63, allocations: 6.781 kB / 3.625 GB, free: 45.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/11.63, allocations: 159.8 kB / 3.625 GB, free: 45.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00086/11.63, allocations: 124.4 kB / 3.625 GB, free: 45.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007991/11.63, allocations: 0.6944 MB / 3.626 GB, free: 44.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009152/11.63, allocations: 105.2 kB / 3.626 GB, free: 44.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.165e-05/11.63, allocations: 24.55 kB / 3.626 GB, free: 44.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (53): * Single equations (assignments): 52 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002525/11.63, allocations: 138.9 kB / 3.626 GB, free: 44.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/11.63, allocations: 55.12 kB / 3.626 GB, free: 44.75 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004417/11.64, allocations: 2.903 MB / 3.629 GB, free: 43.33 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.472e-05/11.64, allocations: 44.48 kB / 3.629 GB, free: 43.32 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/11.64, allocations: 0 / 3.629 GB, free: 43.32 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/11.64, allocations: 3.797 kB / 3.629 GB, free: 43.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/11.64, allocations: 1.431 MB / 3.63 GB, free: 42.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/11.64, allocations: 0 / 3.63 GB, free: 42.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006832/11.64, allocations: 93.75 kB / 3.63 GB, free: 42.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001735/11.64, allocations: 0.7497 MB / 3.631 GB, free: 42.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.891e-05/11.64, allocations: 15.77 kB / 3.631 GB, free: 42.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/11.64, allocations: 1.241 MB / 3.632 GB, free: 41.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/11.64, allocations: 0 / 3.632 GB, free: 41.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00288/11.64, allocations: 1.805 MB / 3.634 GB, free: 40.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006031/11.65, allocations: 318.9 kB / 3.634 GB, free: 40.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/11.65, allocations: 11.84 kB / 3.634 GB, free: 40.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009173/11.65, allocations: 75.47 kB / 3.635 GB, free: 40.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/11.65, allocations: 47.69 kB / 3.635 GB, free: 40.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.973e-05/11.65, allocations: 27.83 kB / 3.635 GB, free: 40.33 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006846/11.65, allocations: 416 kB / 3.635 GB, free: 40.13 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.51e-07/11.65, allocations: 0 / 3.635 GB, free: 40.13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006284/11.65, allocations: 1.363 MB / 3.636 GB, free: 39.83 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 (42): * Single equations (assignments): 31 * 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: 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01273/11.67, allocations: 3.708 MB / 3.64 GB, free: 38.19 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002983/11.67, allocations: 1.086 MB / 3.641 GB, free: 37.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/11.67, allocations: 0.75 kB / 3.641 GB, free: 37.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/11.67, allocations: 0.715 MB / 3.642 GB, free: 37.47 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/11.67, allocations: 297.2 kB / 3.642 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00745/11.68, allocations: 2.288 MB / 3.644 GB, free: 36.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006328/11.68, allocations: 1.132 MB / 3.645 GB, free: 35.63 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006403/11.68, allocations: 396 kB / 3.646 GB, free: 35.32 MB / 0.5261 GB Notification: Performance of SimCode: time 1.233e-06/11.68, allocations: 0 / 3.646 GB, free: 35.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.909/15.59, allocations: 40.85 MB / 3.686 GB, free: 16.05 MB / 0.5261 GB