Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.579/2.579, allocations: 270 MB / 282.6 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.958e-05/4.974e-05, allocations: 4 kB / 347.1 MB, free: 3.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4527/0.4528, allocations: 61.86 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.908/9.361, allocations: 2.804 GB / 3.203 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/9.362, allocations: 85.33 kB / 3.203 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.374/11.74, allocations: 463.5 MB / 3.656 GB, free: 51.36 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.265e-06/11.74, allocations: 0 / 3.656 GB, free: 51.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001382/11.74, allocations: 34.89 kB / 3.656 GB, free: 51.32 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.01017/11.75, allocations: 2.32 MB / 3.658 GB, free: 49.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/11.75, allocations: 8.031 kB / 3.658 GB, free: 49.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005593/11.75, allocations: 199.8 kB / 3.658 GB, free: 49.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004506/11.75, allocations: 442.7 kB / 3.659 GB, free: 48.67 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003235/11.75, allocations: 0.9767 MB / 3.66 GB, free: 47.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/11.76, allocations: 110.5 kB / 3.66 GB, free: 47.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003887/11.76, allocations: 131.6 kB / 3.66 GB, free: 47.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005205/11.76, allocations: 1.64 MB / 3.661 GB, free: 46.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.066e-05/11.76, allocations: 7.906 kB / 3.661 GB, free: 46.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/11.76, allocations: 63.97 kB / 3.662 GB, free: 46.03 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.52e-05/11.76, allocations: 46.36 kB / 3.662 GB, free: 45.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004558/11.77, allocations: 1.239 MB / 3.663 GB, free: 44.88 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.01457/11.78, allocations: 7.813 MB / 3.67 GB, free: 37.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003136/11.78, allocations: 0.863 MB / 3.671 GB, free: 36.88 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007667/11.78, allocations: 315.6 kB / 3.672 GB, free: 36.58 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07663/11.86, allocations: 24.25 MB / 3.695 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/11.86, allocations: 39.34 kB / 3.695 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=71): time 4.098e-06/11.86, allocations: 0 / 3.695 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74): time 0.008007/11.87, allocations: 2.215 MB / 3.697 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/11.87, allocations: 141.2 kB / 3.698 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/11.87, allocations: 0.8505 MB / 3.698 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002144/11.87, allocations: 37.7 kB / 3.698 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000469/11.87, allocations: 0.7005 MB / 3.699 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/11.87, allocations: 259 kB / 3.699 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.547e-05/11.87, allocations: 24 kB / 3.699 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.887e-05/11.87, allocations: 350.8 kB / 3.7 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007519/11.87, allocations: 270.6 kB / 3.7 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009518/11.87, allocations: 0.7068 MB / 3.701 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009328/11.87, allocations: 386 kB / 3.701 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/11.87, allocations: 4 kB / 3.701 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002706/11.88, allocations: 1.048 MB / 3.702 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001971/11.88, allocations: 5.673 MB / 3.708 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.553e-05/11.88, allocations: 16 kB / 3.708 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00219/11.88, allocations: 228.6 kB / 3.708 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/11.88, allocations: 287.5 kB / 3.708 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/11.89, allocations: 0.7045 MB / 3.709 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002271/11.89, allocations: 107.8 kB / 3.709 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002935/11.89, allocations: 67.98 kB / 3.709 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/11.89, allocations: 4 kB / 3.709 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00313/11.89, allocations: 0.9727 MB / 3.71 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.373e-05/11.89, allocations: 12 kB / 3.71 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/11.89, allocations: 152.7 kB / 3.71 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002072/11.89, allocations: 287.5 kB / 3.71 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/11.9, allocations: 0.6888 MB / 3.711 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/11.9, allocations: 99.89 kB / 3.711 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002105/11.9, allocations: 64 kB / 3.711 GB, free: 8.922 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (134): * Single equations (assignments): 133 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005249/11.9, allocations: 188.5 kB / 3.711 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004842/11.9, allocations: 122.5 kB / 3.712 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006329/11.91, allocations: 3.024 MB / 3.714 GB, free: 5.559 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.248e-05/11.91, allocations: 39.94 kB / 3.714 GB, free: 5.52 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/11.91, allocations: 0 / 3.714 GB, free: 5.52 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.646e-05/11.91, allocations: 3.984 kB / 3.714 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/11.92, allocations: 4.61 MB / 3.719 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/11.92, allocations: 3.938 kB / 3.719 GB, free: 0.832 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/11.92, allocations: 168 kB / 3.719 GB, free: 0.668 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4197/12.34, allocations: 1.246 MB / 3.72 GB, free: 72.02 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002238/12.34, allocations: 21.39 kB / 3.72 GB, free: 72.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002265/12.34, allocations: 1.424 MB / 3.722 GB, free: 71.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/12.34, allocations: 0.9062 kB / 3.722 GB, free: 71.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005902/12.35, allocations: 3.241 MB / 3.725 GB, free: 71.09 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/12.35, allocations: 438.6 kB / 3.725 GB, free: 70.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/12.35, allocations: 22.75 kB / 3.725 GB, free: 70.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/12.35, allocations: 84.67 kB / 3.725 GB, free: 70.99 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/12.35, allocations: 72.83 kB / 3.726 GB, free: 70.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.244e-05/12.35, allocations: 31.62 kB / 3.726 GB, free: 70.99 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001794/12.35, allocations: 0.8352 MB / 3.726 GB, free: 70.87 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.41e-07/12.35, allocations: 3.703 kB / 3.726 GB, free: 70.87 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008398/12.36, allocations: 1.679 MB / 3.728 GB, free: 70.87 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i,housing.T) * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 (72): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0154/12.37, allocations: 5.277 MB / 3.733 GB, free: 69.41 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003911/12.38, allocations: 1.518 MB / 3.735 GB, free: 69.39 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/12.38, allocations: 11.23 kB / 3.735 GB, free: 69.39 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001446/12.38, allocations: 0.744 MB / 3.735 GB, free: 69.38 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004437/12.38, allocations: 458.5 kB / 3.736 GB, free: 69.37 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/12.4, allocations: 3.376 MB / 3.739 GB, free: 68.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009468/12.4, allocations: 1.398 MB / 3.741 GB, free: 67.88 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/12.4, allocations: 0.7358 MB / 3.741 GB, free: 67.88 MB / 0.5417 GB Notification: Performance of SimCode: time 2.234e-06/12.4, allocations: 0 / 3.741 GB, free: 67.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.409/16.81, allocations: 56.67 MB / 3.797 GB, free: 64.45 MB / 0.5417 GB