Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.589/2.589, allocations: 270 MB / 282.6 MB, free: 1.891 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.681e-05/4.682e-05, allocations: 8 kB / 347.1 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4142, allocations: 61.87 MB / 408.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.942/9.357, allocations: 2.803 GB / 3.203 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/9.357, allocations: 83.64 kB / 3.203 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.401/11.76, allocations: 462.8 MB / 3.655 GB, free: 52.19 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.184e-06/11.76, allocations: 0 / 3.655 GB, free: 52.19 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001194/11.76, allocations: 35.12 kB / 3.655 GB, free: 52.18 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.009925/11.77, allocations: 2.312 MB / 3.657 GB, free: 50.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/11.77, allocations: 8.031 kB / 3.657 GB, free: 50.24 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004227/11.77, allocations: 188.8 kB / 3.657 GB, free: 50.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004147/11.77, allocations: 440.8 kB / 3.658 GB, free: 49.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/11.78, allocations: 0.9749 MB / 3.658 GB, free: 48.87 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/11.78, allocations: 98.61 kB / 3.659 GB, free: 48.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002679/11.78, allocations: 128 kB / 3.659 GB, free: 48.65 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004526/11.78, allocations: 1.623 MB / 3.66 GB, free: 47.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.239e-05/11.78, allocations: 7.906 kB / 3.66 GB, free: 47.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001964/11.78, allocations: 60 kB / 3.66 GB, free: 47.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.919e-05/11.78, allocations: 50.22 kB / 3.66 GB, free: 47.06 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003928/11.79, allocations: 1.218 MB / 3.662 GB, free: 45.98 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.01356/11.8, allocations: 7.854 MB / 3.669 GB, free: 38.68 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003126/11.8, allocations: 0.8385 MB / 3.67 GB, free: 37.96 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006606/11.8, allocations: 308.6 kB / 3.67 GB, free: 37.67 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07625/11.88, allocations: 24.25 MB / 3.694 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/11.88, allocations: 39.12 kB / 3.694 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 4.559e-06/11.88, allocations: 0 / 3.694 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.008293/11.89, allocations: 2.207 MB / 3.696 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/11.89, allocations: 141.3 kB / 3.696 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/11.89, allocations: 0.8466 MB / 3.697 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002163/11.89, allocations: 37.7 kB / 3.697 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000466/11.89, allocations: 0.6908 MB / 3.698 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/11.89, allocations: 264.8 kB / 3.698 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.951e-05/11.89, allocations: 20 kB / 3.698 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001011/11.89, allocations: 354.8 kB / 3.699 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007098/11.89, allocations: 266.6 kB / 3.699 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009143/11.89, allocations: 0.6959 MB / 3.699 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008806/11.89, allocations: 381.8 kB / 3.7 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/11.89, allocations: 4 kB / 3.7 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002696/11.9, allocations: 1.036 MB / 3.701 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001687/11.9, allocations: 5.752 MB / 3.706 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.813e-05/11.9, allocations: 20 kB / 3.706 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002535/11.9, allocations: 276.6 kB / 3.707 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/11.9, allocations: 275.5 kB / 3.707 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/11.9, allocations: 0.7716 MB / 3.708 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/11.91, allocations: 95.91 kB / 3.708 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/11.91, allocations: 63.98 kB / 3.708 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/11.91, allocations: 4 kB / 3.708 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003745/11.91, allocations: 0.9958 MB / 3.709 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.644e-05/11.91, allocations: 16 kB / 3.709 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/11.91, allocations: 173 kB / 3.709 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/11.91, allocations: 275.5 kB / 3.709 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/11.92, allocations: 0.7202 MB / 3.71 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/11.92, allocations: 95.91 kB / 3.71 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/11.92, allocations: 63.98 kB / 3.71 GB, free: 10.33 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (128): * Single equations (assignments): 127 * 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.000436/11.92, allocations: 180.5 kB / 3.71 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004161/11.92, allocations: 125.9 kB / 3.71 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006392/11.92, allocations: 3.047 MB / 3.713 GB, free: 6.949 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.217e-05/11.92, allocations: 39.88 kB / 3.713 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/11.92, allocations: 0 / 3.713 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/11.92, allocations: 7.938 kB / 3.713 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009844/11.93, allocations: 4.64 MB / 3.718 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/11.93, allocations: 4 kB / 3.718 GB, free: 2.188 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/11.94, allocations: 156 kB / 3.718 GB, free: 2.035 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00384/11.94, allocations: 1.234 MB / 3.719 GB, free: 0.7969 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001746/11.94, allocations: 19.98 kB / 3.719 GB, free: 0.7773 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.433/12.37, allocations: 1.482 MB / 3.721 GB, free: 72.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/12.37, allocations: 3.75 kB / 3.721 GB, free: 72.47 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005778/12.38, allocations: 2.913 MB / 3.724 GB, free: 72.07 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/12.38, allocations: 431.1 kB / 3.724 GB, free: 71.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003073/12.38, allocations: 16.62 kB / 3.724 GB, free: 71.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/12.38, allocations: 90.09 kB / 3.724 GB, free: 71.98 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/12.38, allocations: 66.3 kB / 3.724 GB, free: 71.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.783e-05/12.38, allocations: 29.09 kB / 3.724 GB, free: 71.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001756/12.38, allocations: 0.8416 MB / 3.725 GB, free: 71.86 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.21e-07/12.38, allocations: 0 / 3.725 GB, free: 71.86 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00881/12.39, allocations: 1.656 MB / 3.727 GB, free: 71.86 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i) * 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,$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 (65): * Single equations (assignments): 58 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01572/12.41, allocations: 5.262 MB / 3.732 GB, free: 70.43 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005525/12.41, allocations: 1.517 MB / 3.733 GB, free: 70.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/12.41, allocations: 1.312 kB / 3.733 GB, free: 70.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001722/12.42, allocations: 0.7336 MB / 3.734 GB, free: 70.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004703/12.42, allocations: 456.2 kB / 3.735 GB, free: 70.39 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/12.43, allocations: 3.278 MB / 3.738 GB, free: 69.63 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009914/12.43, allocations: 1.387 MB / 3.739 GB, free: 68.91 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/12.44, allocations: 0.7005 MB / 3.74 GB, free: 68.91 MB / 0.5417 GB Notification: Performance of SimCode: time 1.373e-06/12.44, allocations: 2.344 kB / 3.74 GB, free: 68.91 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.354/16.79, allocations: 56.12 MB / 3.795 GB, free: 65.56 MB / 0.5417 GB